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

Even André Fiskvik grevenx at me.com
Fri Sep 18 12:06:46 PDT 2009


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 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090918/fd91390e/attachment-0002.html 


More information about the FreeSWITCH-users mailing list