[RESOLVED]Zaptel-1.2.5 compilation error.debian kernel-2.6.8

I have Debian testing with kernel 2.6.8-2-386. I have installed all the requiered packages (bison, libssl-dev, libnewt, libnewt-dev…one lynk in /usr/src/linux -> kernel-headers-2.6.8-2-386)
I am trying to compile the zaptel modules 1.2.5.
When i do make i have this error:

cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="/etc/zaptel.conf" -c -o gendigits.o gendigits.c
cc -o gendigits gendigits.o -lm
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="/etc/zaptel.conf" makefw.c -o makefw
./makefw tormenta2.rbt tor2fw > tor2fw.h
Loaded 69900 bytes from file
./makefw pciradio.rbt radfw > radfw.h
Loaded 42096 bytes from file
ZAPTELVERSION=“1.2.5” build_tools/make_version_h > version.h.tmp
if cmp -s version.h.tmp version.h ; then echo; else
mv version.h.tmp version.h ;

rm -f version.h.tmp
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="/etc/zaptel.conf" -c -o ztcfg.o ztcfg.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="/etc/zaptel.conf" -DBUILDING_TONEZONE -o zonedata.lo zonedata.c
cc -c -fPIC -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="/etc/zaptel.conf" -DBUILDING_TONEZONE -o tonezone.lo tonezone.c
ar rcs libtonezone.a zonedata.lo tonezone.lo
cc -o ztcfg ztcfg.o libtonezone.a -lm
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="/etc/zaptel.conf" -c -o torisatool.o torisatool.c
cc -o torisatool torisatool.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="/etc/zaptel.conf" -c -o ztmonitor.o ztmonitor.c
cc -o ztmonitor ztmonitor.o
cc -o ztspeed.o -c ztspeed.c
cc -o ztspeed ztspeed.o
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="/etc/zaptel.conf" -c -o zttool.o zttool.c
cc -o zttool zttool.o -lnewt
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="/etc/zaptel.conf" zttest.c -o zttest
cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG="/etc/zaptel.conf" -c -o fxotune.o fxotune.c
cc -o fxotune fxotune.o -lm
make -C /lib/modules/2.6.8-2-386/build SUBDIRS=/usr/src/zaptel-1.2.5 XPPMOD= modules
make[1]: se ingresa al directorio /usr/src/kernel-headers-2.6.8-2-386' /usr/src/zaptel-1.2.5/Makefile:214: el objetivoztdummy.o’ se proporcionó más de una vez en la misma regla.
CC [M] /usr/src/zaptel-1.2.5/zaptel.o
In file included from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /usr/src/zaptel-1.2.5/zaptel.c:45:
include/asm/processor.h:87: error: array type has incomplete element type/usr/src/zaptel-1.2.5/zaptel.c: In function ‘__zt_receive_chunk’:
/usr/src/zaptel-1.2.5/zaptel.c:6175: warning: pointer targets in assignment differ in signedness
make[2]: *** [/usr/src/zaptel-1.2.5/zaptel.o] Error 1
make[1]: *** [module/usr/src/zaptel-1.2.5] Error 2
make[1]: se sale del directorio `/usr/src/kernel-headers-2.6.8-2-386’
make: *** [linux26] Error 2


I need help. Thank you very much for your time :smile:

It is a problem with the kernel headers 2.6.8.
I changed to the kernel 2.6.15 with his respective headers and it compiles ok.

PD: mmm debian, debian :confused: