Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] FreeSWITCH 64bit compilation error (Solaris 10)


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
email.list.subscriber ...
Guest





PostPosted: Fri Sep 18, 2009 1:32 pm    Post subject: [Freeswitch-users] FreeSWITCH 64bit compilation error (Solar Reply with quote

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
Back to top
grevenx at me.com
Guest





PostPosted: Fri Sep 18, 2009 2:11 pm    Post subject: [Freeswitch-users] FreeSWITCH 64bit compilation error (Solar Reply with quote

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 Leopardrather 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:
Quote:
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 (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

Back to top
mike at jerris.com
Guest





PostPosted: Wed Sep 23, 2009 3:31 am    Post subject: [Freeswitch-users] FreeSWITCH 64bit compilation error (Solar Reply with quote

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:
Quote:
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 (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

Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services