[Asterisk-Users] Intel G729 Codec Install error on
asterisk@Home2.0
Wilson
augzbaby at gmail.com
Sun Nov 27 18:30:57 MST 2005
Dear Tzafrir Cohen,
I paste the detail message for you,please see the below message.
I wonder it may cause by different linux system.
[root at asterisk1 speech-coding]# patch -p1 < /tmp/ipp-050903.diff
patching file G723.1/Makefile
patching file G723.1/samples/codec_g723.c
patching file G723.1/samples/g723_slin_ex.h
patching file G723.1/samples/print_bytes.c
patching file G723.1/samples/slin_g723_ex.h
patching file G729-float/Makefile
patching file G729-float/samples/codec_g729.c
patching file G729-float/samples/decoder.c
patching file G729-float/samples/encoder.c
patching file G729-float/samples/g729_slin_ex.h
patching file G729-float/samples/gen_test.c
patching file G729-float/samples/my_dec.c
patching file G729-float/samples/my_enc.c
patching file G729-float/samples/slin_g729_ex.h
patching file G729-float/samples/util_e.c
patching file G729-float/samples/util_e.h
patching file README.Asterisk
patching file debian/asterisk-ipp-codecs.dirs
patching file debian/asterisk-ipp-codecs.install
patching file debian/changelog
patching file debian/control
patching file debian/rules
patching file runme.sh
[root at asterisk1 speech-coding]# chmod a+x runme.sh
[root at asterisk1 speech-coding]# ls
AMRWB G722.1 G728 G729-float ipplic.htm runme.sh
debian G723.1 G729 GSMAMR README.Asterisk support.txt
[root at asterisk1 speech-coding]# ./runme.sh
Makefile:126: target `samples/util_e.o' given more than once in the same rule.
Makefile:126: target `samples/util_e.o' given more than once in the same rule.
Makefile:126: target `samples/util_d.o' given more than once in the same rule.
Makefile:126: target `samples/util_d.o' given more than once in the same rule.
rm -f ./api/decg729fp.o ./api/encg729fp.o ./api/owng729fp.o ./api/usc729fp.o
./vm/src/vm_thread_linux32.o ./samples/util_e.o ./samples/util_d.o ./sample
s/codec_g729.o ./samples/encoder.o ./samples/util_e.o ./samples/util_e.o ./s
amples/my_enc.o ./samples/decoder.o ./samples/util_d.o ./samples/util_d.o ./
samples/my_dec.o
Makefile:126: target `samples/util_e.o' given more than once in the same rule.
Makefile:126: target `samples/util_e.o' given more than once in the same rule.
Makefile:126: target `samples/util_d.o' given more than once in the same rule.
Makefile:126: target `samples/util_d.o' given more than once in the same rule.
gcc -I./include -I./vm/include -I/opt/intel/ipp41/ia32_itanium/include -include
/opt/intel/ipp41/ia32_itanium/tools/staticlib/ipp_w7.h -D__unix__ -Dlinux -Dlinu
x32 -DNDEBUG -DLINUX32 -DNO_SCRATCH_MEMORY_USED -c -O6 -march=pentium4 -mcpu=pen
tium4 -ffast-math -fomit-frame-pointer -osamples/util_e.o samples/util_e.c
gcc -I./include -I./vm/include -I/opt/intel/ipp41/ia32_itanium/include -include
/opt/intel/ipp41/ia32_itanium/tools/staticlib/ipp_w7.h -D__unix__ -Dlinux -Dlinu
x32 -DNDEBUG -DLINUX32 -DNO_SCRATCH_MEMORY_USED -c -O6 -march=pentium4 -mcpu=pen
tium4 -ffast-math -fomit-frame-pointer -osamples/util_d.o samples/util_d.c
gcc -I./include -I./vm/include -I/opt/intel/ipp41/ia32_itanium/include -include
/opt/intel/ipp41/ia32_itanium/tools/staticlib/ipp_w7.h -D__unix__ -Dlinux -Dlinu
x32 -DNDEBUG -DLINUX32 -DNO_SCRATCH_MEMORY_USED -c -O6 -march=pentium4 -mcpu=pen
tium4 -ffast-math -fomit-frame-pointer -osamples/codec_g729.o samples/codec_g72
9.c
In file included from ./vm/include/vm_types.h:17,
from ./vm/include/vm_thread.h:14,
from samples/encoder.h:28,
from samples/codec_g729.c:39:
./vm/include/sys/vm_types_linux32.h:36: error: syntax error before "use_ast_cond
_t_instead_of_pthread_cond_t"
./vm/include/sys/vm_types_linux32.h:36: warning: no semicolon at end of struct o
r union
./vm/include/sys/vm_types_linux32.h:37: warning: data definition has no type or
storage class
./vm/include/sys/vm_types_linux32.h:40: error: syntax error before '}' token
./vm/include/sys/vm_types_linux32.h:40: warning: data definition has no type or
storage class
./vm/include/sys/vm_types_linux32.h:51: error: syntax error before "use_ast_mute
x_t_instead_of_pthread_mutex_t"
./vm/include/sys/vm_types_linux32.h:51: warning: no semicolon at end of struct o
r union
./vm/include/sys/vm_types_linux32.h:53: error: syntax error before '}' token
./vm/include/sys/vm_types_linux32.h:53: warning: data definition has no type or
storage class
./vm/include/sys/vm_types_linux32.h:57: error: syntax error before "use_ast_cond
_t_instead_of_pthread_cond_t"
./vm/include/sys/vm_types_linux32.h:57: warning: no semicolon at end of struct o
r union
./vm/include/sys/vm_types_linux32.h:58: warning: data definition has no type or
storage class
./vm/include/sys/vm_types_linux32.h:60: error: syntax error before '}' token
./vm/include/sys/vm_types_linux32.h:60: warning: data definition has no type or
storage class
In file included from samples/decoder.h:27,
from samples/codec_g729.c:40:
samples/util_d.h:39:1: warning: "BITSTREAM_FILE_FRAME_SIZE" redefined
In file included from samples/encoder.h:27,
from samples/codec_g729.c:39:
samples/util_e.h:39:1: warning: this is the location of the previous definition
samples/codec_g729.c: In function `g729tolin_new':
samples/codec_g729.c:168: warning: assignment from incompatible pointer type
samples/codec_g729.c: In function `g729tolin_framein':
samples/codec_g729.c:244: warning: assignment from incompatible pointer type
samples/codec_g729.c: In function `lintog729_frameout':
samples/codec_g729.c:285: warning: assignment from incompatible pointer type
make: *** [samples/codec_g729.o] Error 1
rm -f ./api/decg723.o ./api/encg723.o ./api/owng723.o ./vm/src/vm_thread_li
nux32.o ./samples/codec_g723.o
gcc -I./include -I./vm/include -I/opt/intel/ipp41/ia32_itanium/include -include
/opt/intel/ipp41/ia32_itanium/tools/staticlib/ipp_w7.h -D__unix__ -DNDEBUG -DNO_
SCRATCH_MEMORY_USED -DLINUX32 -c -O6 -march=pentium4 -mcpu=pentium4 -ffast-math
-fomit-frame-pointer -osamples/codec_g723.o samples/codec_g723.c
In file included from ./vm/include/vm_types.h:17,
from ./vm/include/vm_thread.h:14,
from samples/g723encoder.h:29,
from samples/codec_g723.c:38:
./vm/include/sys/vm_types_linux32.h:36: error: syntax error before "use_ast_cond
_t_instead_of_pthread_cond_t"
./vm/include/sys/vm_types_linux32.h:36: warning: no semicolon at end of struct o
r union
./vm/include/sys/vm_types_linux32.h:37: warning: data definition has no type or
storage class
./vm/include/sys/vm_types_linux32.h:40: error: syntax error before '}' token
./vm/include/sys/vm_types_linux32.h:40: warning: data definition has no type or
storage class
./vm/include/sys/vm_types_linux32.h:51: error: syntax error before "use_ast_mute
x_t_instead_of_pthread_mutex_t"
./vm/include/sys/vm_types_linux32.h:51: warning: no semicolon at end of struct o
r union
./vm/include/sys/vm_types_linux32.h:53: error: syntax error before '}' token
./vm/include/sys/vm_types_linux32.h:53: warning: data definition has no type or
storage class
./vm/include/sys/vm_types_linux32.h:57: error: syntax error before "use_ast_cond
_t_instead_of_pthread_cond_t"
./vm/include/sys/vm_types_linux32.h:57: warning: no semicolon at end of struct o
r union
./vm/include/sys/vm_types_linux32.h:58: warning: data definition has no type or
storage class
./vm/include/sys/vm_types_linux32.h:60: error: syntax error before '}' token
./vm/include/sys/vm_types_linux32.h:60: warning: data definition has no type or
storage class
make: *** [samples/codec_g723.o] Error 1
Unless you have manually edited the file G729-float/Makefile and
G723.1/Makefile, the codecs are optimized for Pentium II
This code will not run on Pentium I or lower
If you have a more powerful processor than Pentium II, you are
strongly encouraged to edit the Makefiles and select the
optimizations for your processors. This can give a performance
boost of up to 30%
To use the codecs, just copy codec_g729.so and codec_g723.so to
your Asterisk modules directory, usually /usr/lib/asterisk/modules
and restart Asterisk. The Asterisk command `show translation'
will show you whether the modules loaded successfully.
mv: cannot stat `/usr/src/ipp_sample/speech-coding//G729-float/bin/codec_g729.so
': No such file or directory
mv: cannot stat `/usr/src/ipp_sample/speech-coding//G723.1/bin/codec_g723.so': N
o such file or directory
Kind Regards,
Wilson Lee (Li Wei)
augzbaby at gmail.com
2005-11-28
=======At 2005-11-27 23:45:22 you wrote:=======
>On Sun, Nov 27, 2005 at 10:56:50PM +1100, wei li wrote:
>> hi there:
>>
>> I try to install the Intel G729
>> codec(http://www.readytechnology.co.uk/open/ipp-codecs-g729-g723.1/)
>> on asterisk at home 2.0 box, the Intel library can be installed
>> successfully. When I try to compile the codec sample, It always return
>> me the complied error. But I try to install this codec on the
>> asterisk at home 2.0b4 version, everything is working properly. The
>> errors as the following:
>>
>> make: *** [samples/codec_g729.o] Error 1
>
>I really have no idea about this subject , but this error from make
>means that there was a more specific error message a bit higher. Could
>you please paste a more complete log?
>
>Try:
>
> make 2>&1 | tee log
>
>--
>Tzafrir Cohen | tzafrir at jbr.cohens.org.il | VIM is
>http://tzafrir.org.il | | a Mutt's
>tzafrir at cohens.org.il | | best
>ICQ# 16849755 | | friend
>_______________________________________________
>--Bandwidth and Colocation provided by Easynews.com --
>
>Asterisk-Users mailing list
>To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
= = = = = = = = = = = = = = = = = = = =
Send instant messages to your online friends http://au.messenger.yahoo.com
More information about the asterisk-users
mailing list