email.list.subscriber ... Guest
|
Posted: Wed Aug 12, 2009 9:31 am Post subject: [Freeswitch-users] Build Issue on Solaris 10 (FS v1.0.4pre9 |
|
|
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@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of
Bruce McAlister
Sent: Wednesday, August 12, 2009 4:44 AM
To: freeswitch-users@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@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
------ Start of attached email. Subject: Re: [Freeswitch-users] Freeswitch pre-compiled for Solaris 10/x86 ------
I'll retst it later today and give you a link with instructions
Am 10.08.2009 um 20:14 schrieb vmorales:
Quote: | By "./compile" I was referring to "./configure"
Vladimir
-----Original Message-----
From: vmorales [mailto:email.list.subscriber@gmail.com]
Sent: Monday, August 10, 2009 11:49 AM
To: 'freeswitch-users@lists.freeswitch.org'
Subject: RE: [Freeswitch-users] Freeswitch pre-compiled for Solaris
10/x86
Thanks for the response(s):
I ran the "./compile" script with a set PREFIX. This took a few
attempts with errors before it was able to complete error-free, as I
had to install libtool.
Since then, I have tried running 'make', 'gmake', and
'/opt/gnu/bin/make', but each results with an error. This is the
error when running 'make' or 'gmake':
<snip>
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/vmorales/freeswitch-1.0.4
*** Error code 1
make: Fatal error: Command failed for target `all'
</snip>
This is the error when running '/opt/gnu/bin/make':
<snip>
make[5]: *** [mod_amr.so] Error 1
make[4]: *** [all] Error 1
make[3]: *** [mod_amr-all] Error 1
make[2]: *** [all-recursive] Error 1
Making all in build
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ /opt/gnu/bin/make install +
+----------------------------------------------+
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
</snip>
I re-untar'd before each compile/make attempt. Let me know if this
| is
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
rs
Quote: | http://www.freeswitch.org
|
Michal Bielicki
Leiter der Niederlassung
HaloKwadrat Sp. z o.o.
Niederlassung Kleinmachnow
Eingetragen im Handelsregister beim Amtsgericht Potsdam, HRB21422P
Ust.Id.: DE261885536
Geschaeftsfuehrer: Aleksander Wiercinski
Meiereifeld 2b, 14532 Kleinmachnow
t. +49 33203 263220
f. +49 33203 263229 sip. info@halokwadrat.de
e. michal.bielicki@halokwadrat.de | w. www.halokwadrat.de
Hauptgeschäftsstelle:
Halo Kwadrat Sp. z o.o.
ul. Polna 46/14
00-644 Warszawa, Polen
EIngetragen im HRB Warszawa, KRS 0000153539
------ End of attached email ------
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org |
|