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

RR ranjtech at gmail.com
Tue Dec 7 13:51:25 MSK 2010


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 at 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 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
>
>
>
> _______________________________________________
> 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/20101207/26cd86ad/attachment-0001.html 


More information about the FreeSWITCH-users mailing list