[Asterisk-Dev] asterisk CV HEAD

harry gaillac gaillacharry at yahoo.fr
Mon Aug 15 01:59:19 MST 2005


Hello,

 Does Makefile need some fixing !?

harry
--- Tzafrir Cohen <tzafrir.cohen at xorcom.com> a écrit :

> On Sun, Aug 14, 2005 at 11:04:14PM +0200, harry
> gaillac wrote:
> > 
> > 
> > serveur1:/usr/local/src/ASTERISK/zaptel# make
> > 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 -Iir/include -O6 -DMODULE -D__KERNEL__
> > -DEXPORT_SYMTAB -Iir/drivers/net -Wall -I.
> > -Wstrict-prototypes -fomit-frame-pointer
> > -Iir/drivers/net/wan -Iir/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"
> > make: *** [zaptel.o] Interrupt
> 
> /usr/include/linux should not be used. Header files
> from 
> kernel-source/include should have been used instead.
> This means that 
> the kernel source tree was not identified. 
> 
> As this is Debian: kernel 2.4.26 is not the standard
> kernel of Sarge.
> Did you build it yourself? If so: did you use
> make-kpkg?
> 
> If you used a standard Debian package or built a
> kernel package with
> make-kpkg, install the matching kernel-headers
> package. Then the
> "kernel-source" tree directory is
> /usr/src/kernel-headers-`uname -r` .
> If not, you should find the kernel source directory.
> 
> If you have a kernel source tree and it is not
> automagically identified,
> try passing the parameter KSRC to make.
> 
> -- 
> Tzafrir Cohen     icq#16849755  +972-50-7952406
> tzafrir.cohen at xorcom.com  http://www.xorcom.com
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
>
http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
>   
>
http://lists.digium.com/mailman/listinfo/asterisk-dev
> 



	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com



More information about the asterisk-dev mailing list