Zaptel Installation On error on centos 4

Hi to All

I m getting the following error during zaptel-1.4.4 installation …could any one guide me how to fix it

make -C /lib/modules/2.6.9-34.EL/build SUBDIRS=/usr/src/zaptel-1.4.4 modules
make[2]: Entering directory `/usr/src/kernels/2.6.9-34.EL-i686'
  CC [M]  /usr/src/zaptel-1.4.4/pciradio.o
  CC [M]  /usr/src/zaptel-1.4.4/tor2.o
  CC [M]  /usr/src/zaptel-1.4.4/torisa.o
/usr/src/zaptel-1.4.4/torisa.c:134: error: syntax error before "torisa"
/usr/src/zaptel-1.4.4/torisa.c:134: warning: type defaults to `int' in declaration of `torisa'
/usr/src/zaptel-1.4.4/torisa.c:134: error: incompatible types in initialization
/usr/src/zaptel-1.4.4/torisa.c:134: error: initializer element is not constant
/usr/src/zaptel-1.4.4/torisa.c:134: warning: data definition has no type or storage class
make[3]: *** [/usr/src/zaptel-1.4.4/torisa.o] Error 1
make[2]: *** [_module_/usr/src/zaptel-1.4.4] Error 2
make[2]: Leaving directory `/usr/src/kernels/2.6.9-34.EL-i686'
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/zaptel-1.4.4'
make: *** [all] Error 2


hello, friend:
have you installed kernel-devel? rpm -q | kernel-devel to check your packages. if not, please run: yum install kernel-devel.
good luck!


Thanks for reply…kernel-devel was installed

# rpm -qa | grep kernel-devel kernel-devel-2.6.9-34.EL

Any Help

I seem to remember this on an older Centos setup.

Try running ‘make menuselect’ from the zaptel source directory, then de-select the pciradio and tor modules.

The remainder should then build OK (or at least they did for me…)