Compiling Zaptel with SoftEcho

carelburger
Posts: 15
Member Since:
2007-05-18

Hi,

When I am trying to compile SoftEcho I am getting this error, but have no idea how to fix it.

[root@asterisk1 octvqe]# make
make -C /lib/modules/2.6.9-34.0.2.ELsmp/build SUBDIRS=/usr/src/octvqe8/octvqe modules
make[1]: Entering directory `/usr/src/kernels/2.6.9-34.0.2.EL-smp-i686'
CC [M] /usr/src/octvqe8/octvqe/octvqe_linux.o
/usr/src/octvqe8/octvqe/octvqe_linux.c:97:22: ../mg2ec.h: No such file or directory
/usr/src/octvqe8/octvqe/octvqe_linux.c: In function `ZapOctVqeApiEcChannelInitialize':
/usr/src/octvqe8/octvqe/octvqe_linux.c:245: warning: implicit declaration of function `echo_can_create'
/usr/src/octvqe8/octvqe/octvqe_linux.c:245: warning: assignment makes pointer from integer without a cast
/usr/src/octvqe8/octvqe/octvqe_linux.c:290: warning: assignment makes pointer from integer without a cast
/usr/src/octvqe8/octvqe/octvqe_linux.c: In function `ZapOctVqeApiEcChannelFree':
/usr/src/octvqe8/octvqe/octvqe_linux.c:338: warning: implicit declaration of function `echo_can_free'
/usr/src/octvqe8/octvqe/octvqe_linux.c: In function `ZapOctVqeApiEcChannelTrainTap':
/usr/src/octvqe8/octvqe/octvqe_linux.c:394: warning: implicit declaration of function `echo_can_traintap'
/usr/src/octvqe8/octvqe/octvqe_linux.c: In function `ZapOctVqeApiEcChannelProcess':
/usr/src/octvqe8/octvqe/octvqe_linux.c:440: warning: implicit declaration of function `echo_can_update'
/usr/src/octvqe8/octvqe/octvqe_linux.c:417: warning: 'sSout' might be used uninitialized in this function
make[2]: *** [/usr/src/octvqe8/octvqe/octvqe_linux.o] Error 1
make[1]: *** [_module_/usr/src/octvqe8/octvqe] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.9-34.0.2.EL-smp-i686'
make: *** [linux26] Error 2

I managed to get around it somehow 2 weeks ago, but cant remember what I have done.

I am using this guide.

http://www.trixbox.org/forums/trixbox-forums/trunks/how-install-a...

--

Carel Burger



lpopejoy
Posts: 18
Member Since:
2007-11-28
Resolved

I am getting the exact same error... I'm sure it is something I have done wrong, but I dont' know what. Carel, did you get this resolved on your box?

Thanks!

Luke



AndyInNYC
Posts: 150
Member Since:
2006-08-06
I solved that part ... but not the rest

I downloaded zaptel-1.4.4 into another directory and copied the missing files.
Unfortunately, 1.4.9.2 (most recent zaptel) doesn't have a zconfig.h so I can't set my echo canceller.

Any help with the newest zaptel?



Joe
Posts: 89
Member Since:
2006-05-31
It's been moved. Look in the "kernel" subdirectory.

When you can't find a file "cd" to the top level directory of where you think it should be and then issue the following command:

find ./ -name

Wildcard characters allowed. It will search to find a match recursively through the subdirectories. Instead of "cd"ing to the directory, you can replace the "./" with the path to the directory.



carelburger
Posts: 15
Member Since:
2007-05-18
Fixed

Make sure you use the following versions together. Zaptel 1.4.8. For some reason 1.4.9 does not want to work since the structure is different. Use Octware 1.4.1.

Make sure you have run this command before compiling.

yum -y install gawk sed pciutils rpm-build rpm-devel gcc cpp binutils glibc-devel kernel-headers kernel-devel kernel-smp-devel gtk2 gtk+ compat-libstdc++-33 compat-gcc-32 compat-gcc-32-c++ compat-libstdc++-296

Have a look at this post for the steps, or follow the pdf in the octware directory

--

Carel Burger



Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.