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

Bruce McAlister bruce.mcalister at blueface.ie
Fri Aug 14 00:49:16 PDT 2009


Hi All,

Anyone have any ideas about this?

Thanks
Bruce

vmorales wrote:
> Hi Bruce,
> 
> I am having similar issues trying build freeswitch 1.0.4 on Solaris
> x86 as well.  I sent some information over the mailing list, and I
> received a response from Michal Bielicki (attached), stating he'd test
> this and direct me to the steps to successfully build freeswitch.
> 
> Just an FYI in case you see his response.
> 
> Vladimir
> 
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of
> Bruce McAlister
> Sent: Wednesday, August 12, 2009 4:44 AM
> To: freeswitch-users at lists.freeswitch.org
> Subject: [Freeswitch-users] Build Issue on Solaris 10 (FS v1.0.4pre9 &
> v1.0.4)
> 
> 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/s
> rc 
> -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/ex
> pat/lib/.libs/libexpat.a 
> /export/home/user/packages/BUILD/freeswitch-1.0.4/libs/apr/.libs/libap
> r-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/s
> rc 
> -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-use
> rs
> http://www.freeswitch.org
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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