FreeSWITCH 64bit compilation error (Solaris 10)
Forwarding the issue below to see if anyone is familiar with this issue, and/or what our next steps should be. Thanks, Vladimir Looks like a problem with a Makefile not honoring CFLAGS,etc. Perhaps you can report this to the dev team. Other components built fine but this damn spidermonkey is buggering. # file /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch*.o | head /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-g711.o : ELF 64-bit LSB relocatable AMD64 Version 1 /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-getgat eway.o: ELF 64-bit LSB relocatable AMD64 Version 1 [CMOV] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-igd_de sc_parse.o: ELF 64-bit LSB relocatable AMD64 Version 1 [CMOV] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-libtel etone_detect.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE2 SSE AMD_3DNow CMOV FPU] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-libtel etone_generate.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE2 SSE AMD_3DNow CMOV] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-miniso ap.o: ELF 64-bit LSB relocatable AMD64 Version 1 /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-miniss dpc.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-miniup npc.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE AMD_3DNow] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-miniwg et.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-minixm l.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE] # file /opt/freeradius-client/sbin/radacct /opt/freeradius-client/sbin/radacct: ELF 64-bit LSB executable AMD64 Version 1 [SSE2 SSE FXSR AMD_3DNow CMOV FPU], dynamically linked, not stripped Build output: Making all in nua LTCOMPILE nua.lo LTCOMPILE nua_common.lo LTCOMPILE nua_stack.lo LTCOMPILE nua_server.lo LTCOMPILE nua_client.lo LTCOMPILE nua_extension.lo LTCOMPILE nua_dialog.lo LTCOMPILE outbound.lo LTCOMPILE nua_params.lo LTCOMPILE nua_register.lo LTCOMPILE nua_registrar.lo LTCOMPILE nua_session.lo LTCOMPILE nua_options.lo LTCOMPILE nua_message.lo LTCOMPILE nua_publish.lo LTCOMPILE nua_subnotref.lo LTCOMPILE nua_notifier.lo LTCOMPILE nua_event_server.lo LTCOMPILE nua_tag.lo LTCOMPILE nua_tag_ref.lo LINK libnua.la LINK libsofia-sip-ua.la libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries Making all in packages Creating mod_sofia_la-mod_sofia.lo mkdir .libs Compiling mod_sofia.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofi a-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia.lo Compiling sofia.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofi a-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) "sofia.c", line 3522: warning: enum type mismatch: arg #2 (E_ENUM_TYPE_MISMATCH_ARG) Creating mod_sofia_la-sofia_glue.lo Compiling sofia_glue.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofi a-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia_presence.lo Compiling sofia_presence.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofi a-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia_reg.lo Compiling sofia_reg.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofi a-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia_sla.lo Compiling sofia_sla.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofi a-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia.la making all mod_speex Compiling mod_speex.c... mkdir .libs Compiling mod_speex.c ... Creating mod_speex.so... making all mod_spidermonkey cd config; /usr/sfw/bin/gmake -j1 export ld: fatal: file now.o: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to now gmake[7]: *** [now] Error 1 gmake[6]: *** [export] Error 2 gmake[5]: *** [/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/js/libjs.la] Error 2 gmake[4]: *** [all] Error 1 gmake[3]: *** [mod_spidermonkey-all] Error 1 gmake[2]: *** [all-recursive] Error 1 Making all in build +-------- FreeSWITCH Build Complete -----------+ + FreeSWITCH has been successfully built. + + Install by running: + + + + /usr/sfw/bin/gmake install + +----------------------------------------------+ gmake[1]: *** [all-recursive] Error 1 gmake: *** [all] Error 2
I've been having problems of somewhat the same, but for my case it has been forcing a 32-bit version in Mac OS X Snow Leopard rather than the default for GCC which is to build it in 64-bit. I have not been able to get this done yet, and I also end up with a mix of two different architectures across the modules. Did he pass --enable-64 to the ./configure command and make clean ? Best regards, Even André Fiskvik / grEvenX On 18. sep. 2009, at 20.26, email lists wrote:
Forwarding the issue below to see if anyone is familiar with this issue, and/or what our next steps should be.
Thanks, Vladimir
Looks like a problem with a Makefile not honoring CFLAGS,etc. Perhaps you can report this to the dev team. Other components built fine but this damn spidermonkey is buggering.
# file /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/ libfreeswitch*.o | head /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- g711.o: ELF 64-bit LSB relocatable AMD64 Version 1 /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- getgateway.o: ELF 64-bit LSB relocatable AMD64 Version 1 [CMOV] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- igd_desc_parse.o: ELF 64-bit LSB relocatable AMD64 Version 1 [CMOV] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- libteletone_detect.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE2 SSE AMD_3DNow CMOV FPU] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- libteletone_generate.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE2 SSE AMD_3DNow CMOV] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- minisoap.o: ELF 64-bit LSB relocatable AMD64 Version 1 /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- minissdpc.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- miniupnpc.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE AMD_3DNow] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- miniwget.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- minixml.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE]
# file /opt/freeradius-client/sbin/radacct /opt/freeradius-client/sbin/radacct: ELF 64-bit LSB executable AMD64 Version 1 [SSE2 SSE FXSR AMD_3DNow CMOV FPU], dynamically linked, not stripped
Build output: Making all in nua LTCOMPILE nua.lo LTCOMPILE nua_common.lo LTCOMPILE nua_stack.lo LTCOMPILE nua_server.lo LTCOMPILE nua_client.lo LTCOMPILE nua_extension.lo LTCOMPILE nua_dialog.lo LTCOMPILE outbound.lo LTCOMPILE nua_params.lo LTCOMPILE nua_register.lo LTCOMPILE nua_registrar.lo LTCOMPILE nua_session.lo LTCOMPILE nua_options.lo LTCOMPILE nua_message.lo LTCOMPILE nua_publish.lo LTCOMPILE nua_subnotref.lo LTCOMPILE nua_notifier.lo LTCOMPILE nua_event_server.lo LTCOMPILE nua_tag.lo LTCOMPILE nua_tag_ref.lo LINK libnua.la LINK libsofia-sip-ua.la libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries Making all in packages Creating mod_sofia_la-mod_sofia.lo mkdir .libs Compiling mod_sofia.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/ libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia.lo Compiling sofia.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/ libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) "sofia.c", line 3522: warning: enum type mismatch: arg #2 (E_ENUM_TYPE_MISMATCH_ARG) Creating mod_sofia_la-sofia_glue.lo Compiling sofia_glue.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/ libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia_presence.lo Compiling sofia_presence.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/ libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia_reg.lo Compiling sofia_reg.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/ libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia_sla.lo Compiling sofia_sla.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/ libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia.la
making all mod_speex Compiling mod_speex.c... mkdir .libs Compiling mod_speex.c ... Creating mod_speex.so...
making all mod_spidermonkey cd config; /usr/sfw/bin/gmake -j1 export ld: fatal: file now.o: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to now gmake[7]: *** [now] Error 1 gmake[6]: *** [export] Error 2 gmake[5]: *** [/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/ js/libjs.la] Error 2 gmake[4]: *** [all] Error 1 gmake[3]: *** [mod_spidermonkey-all] Error 1 gmake[2]: *** [all-recursive] Error 1 Making all in build +-------- FreeSWITCH Build Complete -----------+ + FreeSWITCH has been successfully built. + + Install by running: + + + + /usr/sfw/bin/gmake install + +----------------------------------------------+ gmake[1]: *** [all-recursive] Error 1 gmake: *** [all] Error 2 _______________________________________________ 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
Dear All, I have good quality Bangldesh white route with good rates. if any one interested please contact with me. Thanks Md Amran Ali Sarkar OMEGA Technology. From: grevenx@me.com Date: Fri, 18 Sep 2009 21:06:46 +0200 To: freeswitch-users@lists.freeswitch.org Subject: Re: [Freeswitch-users] FreeSWITCH 64bit compilation error (Solaris 10) I've been having problems of somewhat the same, but for my case it has been forcing a 32-bit version in Mac OS X Snow Leopard rather than the default for GCC which is to build it in 64-bit. I have not been able to get this done yet, and I also end up with a mix of two different architectures across the modules. Did he pass --enable-64 to the ./configure command and make clean ? Best regards, Even André Fiskvik / grEvenX On 18. sep. 2009, at 20.26, email lists wrote: Forwarding the issue below to see if anyone is familiar with this issue, and/or what our next steps should be. Thanks, Vladimir Looks like a problem with a Makefile not honoring CFLAGS,etc. Perhaps you can report this to the dev team. Other components built fine but this damn spidermonkey is buggering. # file /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch*.o | head /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-g711.o: ELF 64-bit LSB relocatable AMD64 Version 1 /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-getgateway.o: ELF 64-bit LSB relocatable AMD64 Version 1 [CMOV] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-igd_desc_parse.o: ELF 64-bit LSB relocatable AMD64 Version 1 [CMOV] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-libteletone_detect.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE2 SSE AMD_3DNow CMOV FPU] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-libteletone_generate.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE2 SSE AMD_3DNow CMOV] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-minisoap.o: ELF 64-bit LSB relocatable AMD64 Version 1 /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-minissdpc.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-miniupnpc.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE AMD_3DNow] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-miniwget.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-minixml.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE] # file /opt/freeradius-client/sbin/radacct /opt/freeradius-client/sbin/radacct: ELF 64-bit LSB executable AMD64 Version 1 [SSE2 SSE FXSR AMD_3DNow CMOV FPU], dynamically linked, not stripped Build output: Making all in nua LTCOMPILE nua.lo LTCOMPILE nua_common.lo LTCOMPILE nua_stack.lo LTCOMPILE nua_server.lo LTCOMPILE nua_client.lo LTCOMPILE nua_extension.lo LTCOMPILE nua_dialog.lo LTCOMPILE outbound.lo LTCOMPILE nua_params.lo LTCOMPILE nua_register.lo LTCOMPILE nua_registrar.lo LTCOMPILE nua_session.lo LTCOMPILE nua_options.lo LTCOMPILE nua_message.lo LTCOMPILE nua_publish.lo LTCOMPILE nua_subnotref.lo LTCOMPILE nua_notifier.lo LTCOMPILE nua_event_server.lo LTCOMPILE nua_tag.lo LTCOMPILE nua_tag_ref.lo LINK libnua.la LINK libsofia-sip-ua.la libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries Making all in packages Creating mod_sofia_la-mod_sofia.lo mkdir .libs Compiling mod_sofia.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia.lo Compiling sofia.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) "sofia.c", line 3522: warning: enum type mismatch: arg #2 (E_ENUM_TYPE_MISMATCH_ARG) Creating mod_sofia_la-sofia_glue.lo Compiling sofia_glue.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia_presence.lo Compiling sofia_presence.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia_reg.lo Compiling sofia_reg.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia_sla.lo Compiling sofia_sla.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia.la making all mod_speex Compiling mod_speex.c... mkdir .libs Compiling mod_speex.c ... Creating mod_speex.so... making all mod_spidermonkey cd config; /usr/sfw/bin/gmake -j1 export ld: fatal: file now.o: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to now gmake[7]: *** [now] Error 1 gmake[6]: *** [export] Error 2 gmake[5]: *** [/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/js/libjs.la] Error 2 gmake[4]: *** [all] Error 1 gmake[3]: *** [mod_spidermonkey-all] Error 1 gmake[2]: *** [all-recursive] Error 1 Making all in build +-------- FreeSWITCH Build Complete -----------+ + FreeSWITCH has been successfully built. + + Install by running: + + + + /usr/sfw/bin/gmake install + +----------------------------------------------+ gmake[1]: *** [all-recursive] Error 1 gmake: *** [all] Error 2_______________________________________________ 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 _________________________________________________________________ Show them the way! Add maps and directions to your party invites. http://www.microsoft.com/windows/windowslive/products/events.aspx
Probably best to post these type of offers on the freeswitch-biz list http://lists.freeswitch.org/mailman/listinfo/freeswitch-biz (Hopefully that list will eventually grow with business posts. Still pretty slow at present) Also best to create a new e-mail versus reply to another thread and changing the subject. -- W
This is the guys company. http://www.omega-tec.com/ I have banned his email address from our list and I hope that our moderators stop approving these types of posts. I hate slime ball spammers. /b On Sep 18, 2009, at 7:08 PM, William Suffill wrote:
Probably best to post these type of offers on the freeswitch-biz list http://lists.freeswitch.org/mailman/listinfo/freeswitch-biz (Hopefully that list will eventually grow with business posts. Still pretty slow at present)
Also best to create a new e-mail versus reply to another thread and changing the subject.
-- W
Try taking a list at the info here: http://wiki.freeswitch.org/wiki/Download_%26_Installation_Guide#Solaris You need to be passing any necessary cflags in on configure Mike On Sep 18, 2009, at 2:26 PM, email lists wrote:
Forwarding the issue below to see if anyone is familiar with this issue, and/or what our next steps should be.
Thanks, Vladimir
Looks like a problem with a Makefile not honoring CFLAGS,etc. Perhaps you can report this to the dev team. Other components built fine but this damn spidermonkey is buggering.
# file /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/ libfreeswitch*.o | head /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- g711.o: ELF 64-bit LSB relocatable AMD64 Version 1 /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- getgateway.o: ELF 64-bit LSB relocatable AMD64 Version 1 [CMOV] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- igd_desc_parse.o: ELF 64-bit LSB relocatable AMD64 Version 1 [CMOV] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- libteletone_detect.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE2 SSE AMD_3DNow CMOV FPU] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- libteletone_generate.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE2 SSE AMD_3DNow CMOV] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- minisoap.o: ELF 64-bit LSB relocatable AMD64 Version 1 /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- minissdpc.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- miniupnpc.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE AMD_3DNow] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- miniwget.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la- minixml.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE]
# file /opt/freeradius-client/sbin/radacct /opt/freeradius-client/sbin/radacct: ELF 64-bit LSB executable AMD64 Version 1 [SSE2 SSE FXSR AMD_3DNow CMOV FPU], dynamically linked, not stripped
Build output: Making all in nua LTCOMPILE nua.lo LTCOMPILE nua_common.lo LTCOMPILE nua_stack.lo LTCOMPILE nua_server.lo LTCOMPILE nua_client.lo LTCOMPILE nua_extension.lo LTCOMPILE nua_dialog.lo LTCOMPILE outbound.lo LTCOMPILE nua_params.lo LTCOMPILE nua_register.lo LTCOMPILE nua_registrar.lo LTCOMPILE nua_session.lo LTCOMPILE nua_options.lo LTCOMPILE nua_message.lo LTCOMPILE nua_publish.lo LTCOMPILE nua_subnotref.lo LTCOMPILE nua_notifier.lo LTCOMPILE nua_event_server.lo LTCOMPILE nua_tag.lo LTCOMPILE nua_tag_ref.lo LINK libnua.la LINK libsofia-sip-ua.la libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries Making all in packages Creating mod_sofia_la-mod_sofia.lo mkdir .libs Compiling mod_sofia.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/ libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia.lo Compiling sofia.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/ libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) "sofia.c", line 3522: warning: enum type mismatch: arg #2 (E_ENUM_TYPE_MISMATCH_ARG) Creating mod_sofia_la-sofia_glue.lo Compiling sofia_glue.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/ libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia_presence.lo Compiling sofia_presence.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/ libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia_reg.lo Compiling sofia_reg.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/ libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia_sla.lo Compiling sofia_sla.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/ libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia.la
making all mod_speex Compiling mod_speex.c... mkdir .libs Compiling mod_speex.c ... Creating mod_speex.so...
making all mod_spidermonkey cd config; /usr/sfw/bin/gmake -j1 export ld: fatal: file now.o: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to now gmake[7]: *** [now] Error 1 gmake[6]: *** [export] Error 2 gmake[5]: *** [/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/ js/libjs.la] Error 2 gmake[4]: *** [all] Error 1 gmake[3]: *** [mod_spidermonkey-all] Error 1 gmake[2]: *** [all-recursive] Error 1 Making all in build +-------- FreeSWITCH Build Complete -----------+ + FreeSWITCH has been successfully built. + + Install by running: + + + + /usr/sfw/bin/gmake install + +----------------------------------------------+ gmake[1]: *** [all-recursive] Error 1 gmake: *** [all] Error 2 _______________________________________________ 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
Hi Guys, I have a really stupid question to ask. Having skimmed through the steps to take to compile FreeSWITCH in a Solaris environment, everywhere it seems to talk about the jds-cbe and sun studio etc...basically meaning that I have to have the X11 framework/graphical environment/packages installed on the machine? Is it possible to compile it without this using the standard, ./configure, make combo and the standard gcc etc? Thanks RR On Wed, Sep 23, 2009 at 4:20 AM, Michael Jerris <mike@jerris.com> wrote:
Try taking a list at the info here: http://wiki.freeswitch.org/wiki/Download_%26_Installation_Guide#Solaris You need to be passing any necessary cflags in on configure
Mike
On Sep 18, 2009, at 2:26 PM, email lists wrote:
Forwarding the issue below to see if anyone is familiar with this issue, and/or what our next steps should be.
Thanks, Vladimir
Looks like a problem with a Makefile not honoring CFLAGS,etc. Perhaps you can report this to the dev team. Other components built fine but this damn spidermonkey is buggering.
# file /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch*.o | head /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-g711.o: ELF 64-bit LSB relocatable AMD64 Version 1 /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-getgateway.o: ELF 64-bit LSB relocatable AMD64 Version 1 [CMOV] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-igd_desc_parse.o: ELF 64-bit LSB relocatable AMD64 Version 1 [CMOV] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-libteletone_detect.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE2 SSE AMD_3DNow CMOV FPU] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-libteletone_generate.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE2 SSE AMD_3DNow CMOV] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-minisoap.o: ELF 64-bit LSB relocatable AMD64 Version 1 /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-minissdpc.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-miniupnpc.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE AMD_3DNow] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-miniwget.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE] /builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libfreeswitch_la-minixml.o: ELF 64-bit LSB relocatable AMD64 Version 1 [SSE]
# file /opt/freeradius-client/sbin/radacct /opt/freeradius-client/sbin/radacct: ELF 64-bit LSB executable AMD64 Version 1 [SSE2 SSE FXSR AMD_3DNow CMOV FPU], dynamically linked, not stripped
*Build output:* Making all in nua LTCOMPILE nua.lo LTCOMPILE nua_common.lo LTCOMPILE nua_stack.lo LTCOMPILE nua_server.lo LTCOMPILE nua_client.lo LTCOMPILE nua_extension.lo LTCOMPILE nua_dialog.lo LTCOMPILE outbound.lo LTCOMPILE nua_params.lo LTCOMPILE nua_register.lo LTCOMPILE nua_registrar.lo LTCOMPILE nua_session.lo LTCOMPILE nua_options.lo LTCOMPILE nua_message.lo LTCOMPILE nua_publish.lo LTCOMPILE nua_subnotref.lo LTCOMPILE nua_notifier.lo LTCOMPILE nua_event_server.lo LTCOMPILE nua_tag.lo LTCOMPILE nua_tag_ref.lo LINK libnua.la LINK libsofia-sip-ua.la libtool: link: warning: `-version-info/-version-number' is ignored for convenience libraries Making all in packages Creating mod_sofia_la-mod_sofia.lo mkdir .libs Compiling mod_sofia.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia.lo Compiling sofia.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) "sofia.c", line 3522: warning: enum type mismatch: arg #2 (E_ENUM_TYPE_MISMATCH_ARG) Creating mod_sofia_la-sofia_glue.lo Compiling sofia_glue.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia_presence.lo Compiling sofia_presence.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia_reg.lo Compiling sofia_reg.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia_la-sofia_sla.lo Compiling sofia_sla.c ... "/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/sofia-sip/libsofia-sip-ua/nua/nua_params.h", line 221: warning: nonportable bit-field type (E_NONPORTABLE_BIT_FIELD_TYPE) Creating mod_sofia.la
making all mod_speex Compiling mod_speex.c... mkdir .libs Compiling mod_speex.c ... Creating mod_speex.so...
making all mod_spidermonkey cd config; /usr/sfw/bin/gmake -j1 export ld: fatal: file now.o: wrong ELF class: ELFCLASS64 ld: fatal: File processing errors. No output written to now gmake[7]: *** [now] Error 1 gmake[6]: *** [export] Error 2 gmake[5]: *** [/builds/work/freeswitch-1.0.4/freeswitch-1.0.4/libs/js/ libjs.la] Error 2 gmake[4]: *** [all] Error 1 gmake[3]: *** [mod_spidermonkey-all] Error 1 gmake[2]: *** [all-recursive] Error 1 Making all in build +-------- FreeSWITCH Build Complete -----------+ + FreeSWITCH has been successfully built. + + Install by running: + + + + /usr/sfw/bin/gmake install + +----------------------------------------------+ gmake[1]: *** [all-recursive] Error 1 gmake: *** [all] Error 2 _______________________________________________ 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
_______________________________________________ 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
participants (7)
-
Amran Sarkar
-
Brian West
-
email lists
-
Even André Fiskvik
-
Michael Jerris
-
RR
-
William Suffill