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”

About ttessier

Professional Developer and Operator of SwhistleSoft
This entry was posted in C Programming. Bookmark the permalink.

2 Responses to EM_UNIVERSAL_ARGUMENT undeclared – Building Asterisk 1.8.2 on Solaris 10 x86

  1. 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.

  2. Whats happening what you doing at this time! Ia remarkable! I adore your website!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>