[Asterisk-Users] IPP g729 & x86_64

Ermakov Sergey sorg at promiranet.ru
Sun Apr 17 10:08:31 MST 2005


Hi,
I 'm using a server DL145 with AMD opteron processors, with TE410P 
Digium Quad-Span card.
The server is running RHEL4  x86_64.

And have problem to compile codec g729 from 
http://www.readytechnology.co.uk/open/g729/,
but ipp sample speech code not problem compile with ia32 or em64t.




use l_ipp_ia32_itanium_p_4_1_2 :

gcc -shared -static -Xlinker -x -o bin/codec_g729.so samples/util_e.o 
samples/util_d.o samples/codec_g729.o api/decg729fp.o api/encg729fp.o 
api/owng729fp.o api/usc729fp.o -L/opt/intel/ipp41/ia32_itanium/lib 
-lippscmerged -lippsrmerged -lippsmerged -lippcore -lpthread -lm
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/3.4.3/crtbeginT.o: 
relocation R_X86_64_32 against `__deregister_frame_info' can not be used 
when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-redhat-linux/3.4.3/crtbeginT.o: could not read 
symbols: Bad value
collect2: ld returned 1 exit status
make: *** [bin/codec_g729.so] Error 1


Iand use from l_ipp_em64t_p_4_1_2 :

gcc -shared -static -Xlinker -x -o bin/codec_g729.so samples/util_e.o 
samples/util_d.o samples/codec_g729.o api/decg729fp.o api/encg729fp.o 
api/owng729fp.o api/usc729fp.o -L/opt/intel/ipp41/em64t/lib -lippscem64t 
-lippsrem64t -lippsem64t -lippcoreem64t 
-L/opt/intel/ipp41/em64t/sharedlib/linuxem64t -lguide -lpthread -lm
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/3.4.3/crtbeginT.o: 
relocation R_X86_64_32 against `__deregister_frame_info' can not be used 
when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-redhat-linux/3.4.3/crtbeginT.o: could not read 
symbols: Bad value
collect2: ld returned 1 exit status
make: *** [bin/codec_g729.so] Error 1



Any thoughts?



More information about the asterisk-users mailing list