Compilation error

71 views
Skip to first unread message

lov...@gmail.com

unread,
Dec 3, 2011, 1:34:03 PM12/3/11
to asteri...@googlegroups.com
Badly need help to compiling codec(asterisk-g72x-1.1-beta3) in CENTOS 5.7 final release.
I have done installing necessary packages. Libpri zaptel and asterisk. But I am stuck when finalizing my setup with codec compilation.  
My step by step installation procedure, cpu information and errors are given below for an expert suggestion.
cat /proc/cpuinfo
processor       : 4
vendor_id       : GenuineIntel
cpu family      : 6
model           : 42
model name      :           Intel(R) Xeon(R) CPU E31270 @ 3.40GHz
stepping        : 7
cpu MHz         : 1600.000
cache size      : 8192 KB
physical id     : 0
siblings        : 8
core id         : 0
cpu cores       : 4
apicid          : 1
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss
ht tm syscall nx rdtscp lm constant_tsc ida nonstop_tsc arat pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
bogomips        : 6784.59
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management: [8]
I have downloaded the codec tar file from http://asterisk.hosting.lv/   asterisk-g72x-1.1-beta3.tar.bz2
====================================================================================================
asterisk-g72x-1.1-beta3]# ./configure --enable-penryn--with-ipp=/opt/intel/ipp  (right here you may see that i have used penryn
other wise it stoped with the error (--enable-pentium/etc.)
finally it shows 
===========================================================================================================
Architecture: x86_64
CPU -march: core2
CFLAGS: -O3 -fomit-frame-pointer -march=core2  -msse3 -mfpmath=sse -I"/opt/intel/ipp/include"  -include "/opt/intel/ipp/tools//staticlib/ipp_y8.h"
LDFLAGS: -L"/opt/intel/ipp/lib/" -lippsc_l -lipps_l -lippcore_l
Codecs impl: IPP
IPP path: /opt/intel/ipp
IPP ver.: 7.0
IPP core: y8
==============================================================================================================================
I have used  ./configure –enable- penryn  instead of –enable-pentium. because –pentium was not taken by the command.It seems like ./configure --enable-penryn command worked I guess. 
======================================================================================================================================
asterisk-g72x-1.1-beta3]# make 
make  all-am
make[1]: Entering directory `/opt/asterisk-g72x-1.1-beta3'
/bin/sh ./libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.    -DG72X_ASTERISK=18 -I"/opt/intel/ipp/include"  /
-include "/opt/intel/ipp/tools//staticlib/ipp_y8.h" -Wall -D_GNU_SOURCE -Iipp -DG72X_3 -O3 -fomit-frame-pointer -march=core2  /
-msse3 -mfpmath=sse -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//staticlib/ipp_y8.h -Wall -D_GNU_SOURCE /
-Iipp -DG72X_3 -O3 -fomit-frame-pointer -march=core2 -msse3 -mfpmath=sse -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
cc1: error: /opt/intel/ipp/tools//staticlib/ipp_y8.h: No such file or directory
make[1]: *** [codec_g723_la-codec_g72x.lo] Error 1
make[1]: Leaving directory `/opt/asterisk-g72x-1.1-beta3'
make: *** [all] Error 2
asterisk-g72x-1.1-beta3]#
================================================================================================================================

finally stuck ...Need help 


Reply all
Reply to author
Forward
0 new messages