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

email lists email.list.subscriber at gmail.com
Fri Sep 18 11:26:33 PDT 2009


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

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


More information about the FreeSWITCH-users mailing list