Hi,
I am Installing SER/SEMS on Mac. SER is running fine
Building SEMS give some error but it does build to the end, and I can
run "make Install" BUT can't start SEMS.. error below
ser:~ root# sems
bash: /usr/local/sbin/sems: cannot execute binary file
and compilation error is..
#make all
cd gsm-1.0-pl10; make ./lib/libgsm.a
make[5]: `lib/libgsm.a' is up to date.
cc -o gsm.so gsm.o gsm-1.0-pl10/lib/libgsm.a -shared
powerpc-apple-darwin8-gcc-4.0.0: unrecognized option `-shared'
/usr/bin/ld: gsm.o bad magic number (not a Mach-O file)
/usr/bin/ld: warning empty table of contents:
gsm-1.0-pl10/lib/libgsm.a (can't load from it)
collect2: ld returned 1 exit status
make[4]: *** [gsm.so] Error 1
make[3]: [all] Error 2 (ignored)
make[4]: Nothing to be done for `deps'.
make[5]: Nothing to be done for `all'.
make[4]: Nothing to be done for `deps'.
make[4]: `../../lib/apps/isdngw.so' is up to date.
make[4]: Nothing to be done for `deps'.
g++ -o ivr.so Ivr.o IvrDtmfDetector.o IvrEvents.o IvrMediaHandler.o
IvrPython.o -lm -ldl -lsocket -lnsl -lpthread -shared -ldl -lpthread
-lutil -lm -Xlinker --export-dynamic -L/usr/lib/python2.3/config
-lpython2.3 /usr/lib/python2.3/lib-dynload/time.so
powerpc-apple-darwin8-g++-4.0.0: unrecognized option `-shared'
/usr/bin/ld: unknown flag: --export-dynamic
collect2: ld returned 1 exit status
make[4]: *** [ivr.so] Error 1
make[3]: [all] Error 2 (ignored)
make[4]: Nothing to be done for `deps'.
cc -fPIC -I ../../amci -Wall -I./lame-3.96/include -c mp3.c -o mp3.o
mp3.c:37:18: error: lame.h: No such file or directory
mp3.c: In function 'MP3_create':
mp3.c:88: error: 'lame_global_flags' undeclared (first use in this function)
mp3.c:88: error: (Each undeclared identifier is reported only once
mp3.c:88: error: for each function it appears in.)
mp3.c:88: error: 'gfp' undeclared (first use in this function)
mp3.c:93: warning: implicit declaration of function 'lame_init'
mp3.c:98: warning: implicit declaration of function 'lame_set_errorf'
mp3.c:99: warning: implicit declaration of function 'lame_set_debugf'
mp3.c:100: warning: implicit declaration of function 'lame_set_msgf'
mp3.c:102: warning: implicit declaration of function 'lame_set_num_channels'
mp3.c:103: warning: implicit declaration of function 'lame_set_in_samplerate'
mp3.c:104: warning: implicit declaration of function 'lame_set_brate'
mp3.c:105: warning: implicit declaration of function 'lame_set_mode'
mp3.c:106: warning: implicit declaration of function 'lame_set_quality'
mp3.c:108: warning: implicit declaration of function 'id3tag_init'
mp3.c:109: warning: implicit declaration of function 'id3tag_set_title'
mp3.c:110: warning: implicit declaration of function 'lame_init_params'
mp3.c:118: warning: control reaches end of non-void function
mp3.c: In function 'MP3_destroy':
mp3.c:122: error: 'lame_global_flags' undeclared (first use in this function)
mp3.c:122: error: parse error before ')' token
mp3.c: In function 'Pcm16_2_MP3':
mp3.c:138: warning: implicit declaration of function 'lame_encode_buffer'
mp3.c:138: error: 'lame_global_flags' undeclared (first use in this function)
mp3.c:138: error: parse error before ')' token
mp3.c:143: warning: control reaches end of non-void function
mp3.c: In function 'MP3_close':
mp3.c:224: warning: implicit declaration of function 'lame_encode_flush'
mp3.c:224: error: 'lame_global_flags' undeclared (first use in this function)
mp3.c:224: error: parse error before ')' token
mp3.c:228: warning: implicit declaration of function 'lame_mp3_tags_fid'
mp3.c:228: error: parse error before ')' token
mp3.c:221: warning: unused variable 'mp3buffer'
mp3.c:229: warning: control reaches end of non-void function
make[4]: *** [mp3.o] Error 1
make[3]: [all] Error 2 (ignored)
.
.
.
make[4]: Nothing to be done for `deps'.
make[4]: `../../lib/apps/voicemail.so' is up to date.
make[4]: Nothing to be done for `deps'.
make[4]: `../../lib/audio/wav.so' is up to date.
Regards
Show replies by date