[Freeswitch-users] Build Issue on Solaris 10 (FS v1.0.4pre9 & v1.0.4)

Bruce McAlister bruce.mcalister at blueface.ie
Mon Aug 17 01:27:30 PDT 2009


Hi All,

Shall I log a JIRA for this issue?

Thanks
Bruce

Bruce McAlister wrote:
> Hi All,
> 
> I have been having difficulty trying to build FreeSWITCH 1.0.4pre9 and 
> 1.0.4.
> 
> I am running on Solaris 10 Update 5 on x86 hardware (32-bit).
> 
> The build fails with:
> 
> --- snip ---
> make: Fatal error: Command failed for target `all-recursive'
> Current working directory /export/home/user/packages/BUILD/freeswitch-1.0.4
> *** Error code 1
> make: Fatal error: Command failed for target `all'
> ---
> 
> Looking back through the build I can see the following error:
> 
> --- snip ---
> creating libfreeswitch.la
> (cd .libs && rm -f libfreeswitch.la && ln -s ../libfreeswitch.la 
> libfreeswitch.la)
> /usr/bin/cc 
> -I/export/home/user/packages/BUILD/freeswitch-1.0.4/src/include 
> -I/export/home/user/packages/BUILD/freeswitch-1.0.4/libs/libteletone/src 
> -KPIC -DPIC -erroff=E_END_OF_LOOP_CODE_NOT_REACHED -errtags=yes 
> -DPATH_MAX=2048 -g -v -Xc -xc99=all -o .libs/freeswitch 
> freeswitch-switch.o  ./.libs/libfreeswitch.so 
> -L/export/home/user/packages/BUILD/freeswitch-1.0.4/libs/apr-util/xml/expat/lib 
> /export/home/user/packages/BUILD/freeswitch-1.0.4/libs/apr-util/xml/expat/lib/.libs/libexpat.a 
> /export/home/user/packages/BUILD/freeswitch-1.0.4/libs/apr/.libs/libapr-1.a 
> -lm -L/export/home/user/packages/BUILD/freeswitch-1.0.4/libs/srtp 
> -L/usr/sfw/lib libs/apr/.libs/libapr-1.a -luuid -lsendfile -lrt 
> -lpthread libs/libedit/src/.libs/libedit.a -lssl -lcrypto -lnsl -ldl 
> -lcurses -lsocket  -R/opt/freeswitch/lib -R/usr/sfw/lib
> Undefined                       first referenced
>   symbol                             in file
> herror                              ./.libs/libfreeswitch.so
> ld: fatal: Symbol referencing errors. No output written to .libs/freeswitch
> *** Error code 1
> The following command caused the error:
> `if test -z "" ; then echo /bin/bash 
> /export/home/user/packages/BUILD/freeswitch-1.0.4/quiet_libtool ;else 
> echo /export/home/user/packages/BUILD/freeswitch-1.0.4/libtool; fi;` 
> --tag=CC --mode=link /usr/bin/cc 
> -I/export/home/user/packages/BUILD/freeswitch-1.0.4/src/include 
> -I/export/home/user/packages/BUILD/freeswitch-1.0.4/libs/libteletone/src 
> -KPIC -DPIC -erroff=E_END_OF_LOOP_CODE_NOT_REACHED -errtags=yes 
> -DPATH_MAX=2048 -g -v -Xc -xc99=all  -lm -R/opt/freeswitch/lib  -o 
> freeswitch -lm -R/opt/freeswitch/lib -rpath /opt/freeswitch/lib 
> freeswitch-switch.o   libfreeswitch.la libs/apr/libapr-1.la 
> libs/libedit/src/.libs/libedit.a -R/usr/sfw/lib -L/usr/sfw/lib -lssl 
> -lcrypto -lsocket -lnsl -ldl   -lcurses -lsocket
> --- snip ---
> 
> Then a little above this error, there is the following warning that is 
> displayed (I'm not sure if it is related):
> 
> --- snip ---
> *** Warning: Linking the shared library libfreeswitch.la against the
> *** static library libs/libedit/src/.libs/libedit.a is not portable!
> --- snip ---
> 
> My configure line is as follows:
> 
> ---
> ./configure --prefix=/opt/freeswitch
> ---
> 
> I have the complete configure and make output if anyone needs them.
> 
> Any help/pointers would be greatly appreciated.
> 
> Thanks
> Bruce
> 
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 
> 




More information about the FreeSWITCH-users mailing list