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
Looks like you need to install the kernel headers package. While you are at it be sure that you have the kernel source package installed also. my $0.02 Juanjo Portela wrote:>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 >_______________________________________________ >--Bandwidth and Colocation sponsored by Easynews.com -- > >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > >