[Asterisk-Users] Asterisk 1.2 + Debian Sarge

Juanjo Portela juanjo.portela at gmail.com
Tue Nov 22 13:23:54 MST 2005


Dear Collegues

I am trying to compile the new version (Asterisk.1.2) with my debian
box and i get the following error when i compile the zaptel package:

radio:/usr/src/asterisk-1.2/zaptel-1.2.0# make
make: Warning: File `Makefile' has modification time 3.1e+08 s in the future
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
./gendigits
gcc -I/include -O6 -DMODULE -D__KERNEL__ -DEXPORT_SYMTAB
-I/drivers/net -Wall -I. -Wstrict-prototypes -fomit-frame-pointer
-I/drivers/net/wan -I/include/net   -DSTANDALONE_ZAPATA -o zaptel.o -c
zaptel.c
In file included from zaptel.c:42:
/usr/include/linux/kernel.h:72: error: syntax error before "size_t"
/usr/include/linux/kernel.h:74: error: syntax error before "size_t"
In file included from /usr/include/linux/timex.h:186,
                 from /usr/include/linux/sched.h:11,
                 from /usr/include/linux/module.h:10,
                 from zaptel.c:44:
/usr/include/linux/time.h:14: error: syntax error before "time_t"
/usr/include/linux/time.h:16: error: syntax error before '}' token
/usr/include/linux/time.h:20: error: syntax error before "time_t"
In file included from /usr/include/linux/timex.h:186,
                 from /usr/include/linux/sched.h:11,
                 from /usr/include/linux/module.h:10,
                 from zaptel.c:44:

Have you any solution?

Thank you in advance
Juanjo



More information about the asterisk-users mailing list