Error Compiling g72x with IPP 7.0 and asterisk 10.3.1 x64

246 views
Skip to first unread message

Luis H. Felice

unread,
Apr 24, 2012, 12:47:40 PM4/24/12
to Asterisk G.729
I am trying to compile with IPP 7.0 and asterisk 10.3.1 x64

l_ipp_7.0.6.273_intel64 was installed correctly on Debian 6

> ./configure --with-ipp=/opt/intel/ipp

ends with:

Architecture: x86_64
CPU -march: native
CFLAGS: -O3 -fomit-frame-pointer -march=native -I"/opt/intel/
ipp/include" -include "/opt/intel/ipp/tools/intel64/staticlib/
ipp_m7.h"
LDFLAGS: -L"/opt/intel/ipp/lib/intel64" -lippsc_l -lipps_l -
lippcore_l
Codecs impl: IPP
IPP path: /opt/intel/ipp
IPP ver.: 7.0
IPP core: m7

> make

make all-am
make[1]: Entering directory `/usr/src/asterisk-g72x-1.1-beta4'
/bin/bash ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -
I. -DG72X_ASTERISK=18 -I"/opt/intel/ipp/include" -include "/opt/
intel/ipp/tools/intel64/staticlib/ipp_m7.h" -Wall -D_GNU_SOURCE -Iipp -
DG72X_3 -O3 -fomit-frame-pointer -march=native -MT codec_g723_la-
codec_g72x.lo -MD -MP -MF .deps/codec_g723_la-codec_g72x.Tpo -c -o
codec_g723_la-codec_g72x.lo `test -f 'codec_g72x.c' || echo
'./'`codec_g72x.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DG72X_ASTERISK=18 -I/opt/
intel/ipp/include -include /opt/intel/ipp/tools/intel64/staticlib/
ipp_m7.h -Wall -D_GNU_SOURCE -Iipp -DG72X_3 -O3 -fomit-frame-pointer -
march=native -MT codec_g723_la-codec_g72x.lo -MD -MP -MF .deps/
codec_g723_la-codec_g72x.Tpo -c codec_g72x.c -fPIC -DPIC -o .libs/
codec_g723_la-codec_g72x.o
codec_g72x.c: In function ‘lintog72x_sample’:
codec_g72x.c:311: error: ‘union ast_frame_subclass’ has no member
named ‘codec’
codec_g72x.c: In function ‘g72xtolin_sample’:
codec_g72x.c:329: error: ‘union ast_frame_subclass’ has no member
named ‘codec’
codec_g72x.c: At top level:
codec_g72x.c:606: error: unknown field ‘srcfmt’ specified in
initializer
codec_g72x.c:606: warning: missing braces around initializer
codec_g72x.c:606: warning: (near initialization for
‘g72xtolin.src_format’)
codec_g72x.c:607: error: unknown field ‘dstfmt’ specified in
initializer
codec_g72x.c:629: error: unknown field ‘srcfmt’ specified in
initializer
codec_g72x.c:629: warning: missing braces around initializer
codec_g72x.c:629: warning: (near initialization for
‘lintog72x.src_format’)
codec_g72x.c:630: error: unknown field ‘dstfmt’ specified in
initializer
make[1]: *** [codec_g723_la-codec_g72x.lo] Error 1
make[1]: Leaving directory `/usr/src/asterisk-g72x-1.1-beta4'
make: *** [all] Error 2

any idea?

Arkadi Shishlov

unread,
Apr 24, 2012, 3:05:46 PM4/24/12
to asteri...@googlegroups.com
Configure with --with-asterisk100
Reply all
Reply to author
Forward
0 new messages