EM_UNIVERSAL_ARGUMENT undeclared – Building Asterisk 1.8.2 on Solaris 10 x86

EM_UNIVERSAL_ARGUMENT undeclared – Building Asterisk 1.8.2 on Solaris 10 x86

When building on Solaris there are a few Rules to follow and these are shared with regular building as well, but sometimes there are some particularities


  • Performing a Make Clean before a build – this helps to ensure a sane build environment
  • Performing a configure –help to check for required switches
  • Checking the parameters passed to ld and making sure that extra library locations also have an appropriate -L and -R
  • Checking the environment PATH, LDFLAGS, LD_RUNTIME_PATH, CFLAGS and other build environment variables
  • Checking config.log and properly reading make output to ensure a successful build

On occasion there are other issues that come up such as the EM_UNIVERSAL_ARGUMENT undeclared error which requires the following be explicitly set to their appropriate values: LC_ALL=C LANG=C. I also do not use the standard ssl supplied with Solaris and sometimes require libs in /usr/local/lib so I added ASTLDFLAGS=”-L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/local/lib -R/usr/local/lib”

3 thoughts on “EM_UNIVERSAL_ARGUMENT undeclared – Building Asterisk 1.8.2 on Solaris 10 x86

  1. metselbedrijf

    Yay google is my world beater assisted me to find this great internet site ! . “How can I be useful, of what service can I be There is something inside me, what can it be” by Vincent Van Gogh.

Comments are closed.