IPP not found!

1,161 views
Skip to first unread message

Jean-Louis Noel

unread,
Jul 17, 2009, 5:06:57 AM7/17/09
to asteri...@googlegroups.com
Hi Everybody,

I am trying to compile the codecs but I have a problem:

====================
checking location of IPP libraries...
configure: error: IPP not found - use --with-ip=/path/to/ipp to specify
[root@ns asterisk-g72x]# cd /opt/intel/ipp/6.1.0.039/em64t
[root@ns em64t]# ls -l
total 112
drwxrwxrwx 2 root root 4096 2009-07-17 10:04 doc
drwxrwxrwx 2 root root 4096 2009-07-17 10:04 include
-rw-r--r-- 1 root root 19696 2009-04-03 10:00 ippEULA.txt
drwxrwxrwx 4 root root 4096 2009-07-17 10:04 lib
drwxrwxrwx 2 root root 12288 2009-07-17 10:05 sharedlib
drwxrwxrwx 5 root root 4096 2009-07-17 10:05 tools
-rwxr-xr-x 1 root root 57615 2009-07-17 10:05 uninstall.sh
[root@ns em64t]#
====================

I am using asterisk-g72x-1.0-beta8 with Asterisk SVN-trunk-r206768.
What I am doing wrong?
Thanks for your help.

Have a nice day,
Jean-Louis

Arkadi

unread,
Jul 17, 2009, 5:24:15 AM7/17/09
to Asterisk G.729
On Jul 17, 12:06 pm, "Jean-Louis Noel" <j...@stben.net> wrote:
> checking location of IPP libraries...
> configure: error: IPP not found - use --with-ip=/path/to/ipp to specify

Just pass --with-ipp=/opt/intel/ipp/6.1.0.039/em64t
The configure is checking for IPP 5.3 and 6.0 only.

jln

unread,
Jul 17, 2009, 12:15:51 PM7/17/09
to Asterisk G.729
Hi,

On 17 juil, 11:24, Arkadi <arkadi.shish...@gmail.com> wrote:

> The configure is checking forIPP5.3 and 6.0 only.

OK, I have some other troubles:

====================
make[1]: Entering directory `/usr/src/asterisk-g72x'
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I.
-DG72X_AS
TERISK=14 -I"/opt/intel/ipp/6.1.1.042/ia32/include" -include "/opt/
intel/ipp/6.
1.1.042/ia32/tools/staticlib/ipp_t7.h" -Wall -D_GNU_SOURCE -DG72X_3 -
O3 -fomit-f
rame-pointer -march=native -MT codec_g723_la-codec_g72x.lo -MD -MP -
MF .deps/co
dec_g723_la-codec_g72x.Tpo -c -o codec_g723_la-codec_g72x.lo `test -f
'codec_g72
x.c' || echo './'`codec_g72x.c
gcc -DHAVE_CONFIG_H -I. -DG72X_ASTERISK=14 -I/opt/intel/ipp/6.1.1.042/
ia32/incl
ude -include /opt/intel/ipp/6.1.1.042/ia32/tools/staticlib/ipp_t7.h -
Wall -D_GNU
_SOURCE -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 -D
PIC -o .libs/codec_g723_la-codec_g72x.o
codec_g72x.c: In function 'lintog72x_sample':
codec_g72x.c:205: error: incompatible types in assignment
codec_g72x.c: In function 'g72xtolin_sample':
codec_g72x.c:219: error: incompatible types in assignment
[...]
====================

It doesn't know where to find the includes from asterisk!
Paths: /usr/src/asterisk-g72x for the codecs and /usr/src/asterisk for
asterisk.

Any sugestion?
Thanks.

jln

unread,
Jul 17, 2009, 1:39:16 PM7/17/09
to Asterisk G.729
Hi Everyone,

On 17 juil, 18:15, jln <j...@stben.net> wrote:

> It doesn't know where to find the includes from asterisk!

OK, I found: --with-asterisk-includes=/usr/src/asterisk/include
but this is not enough:

====================
gcc -DHAVE_CONFIG_H -I. -DG72X_ASTERISK=14 -I/usr/src/asterisk/
include -I/opt/i
ntel/ipp/6.1.1.042/ia32/include -include /opt/intel/ipp/6.1.1.042/ia32/
tools/sta
ticlib/ipp_t7.h -Wall -D_GNU_SOURCE -DG72X_3 -O3 -fomit-frame-pointer -
march=nat
ive -MT codec_g723_la-codec_g72x.lo -MD -MP -MF .deps/codec_g723_la-
codec_g72x.T
po -c codec_g72x.c -fPIC -DPIC -o .libs/codec_g723_la-codec_g72x.o
codec_g72x.c: In function 'lintog72x_sample':
codec_g72x.c:205: error: incompatible types in assignment
codec_g72x.c: In function 'g72xtolin_sample':
codec_g72x.c:219: error: incompatible types in assignment
codec_g72x.c: In function 'g72xtolin_framein':
codec_g72x.c:291: error: cannot convert to a pointer type
codec_g72x.c:319: error: cannot convert to a pointer type
codec_g72x.c:321: error: cannot convert to a pointer type
codec_g72x.c: In function 'lintog72x_framein':
codec_g72x.c:334: error: incompatible type for argument 2 of 'memcpy'
codec_g72x.c: In function 'lintog72x_frameout':
codec_g72x.c:372: error: invalid operands to binary + (have 'union
<anonymous>' and 'int')
codec_g72x.c:461:59: error: macro "ast_config_load" requires 2
arguments, but only 1 given
codec_g72x.c: In function 'parse_config':
codec_g72x.c:461: error: 'ast_config_load' undeclared (first use in
this function)
====================

Any clues?
Thanks.

Bye,
Jean-Louis

Arkadi

unread,
Jul 21, 2009, 8:19:15 AM7/21/09
to Asterisk G.729
You probably need to supply some other option to configure, check --
help.
It will not auto-detect Asterisk version intentionally.
Reply all
Reply to author
Forward
0 new messages