[Asterisk-Users] Can not build zaptel with kernel-2.6.12

harry gaillac gaillacharry at yahoo.fr
Mon Nov 21 05:55:42 MST 2005


Hello David,
I rewrote the Makefile so I can compile the modules .
However I got the same problems with kernel 2.4.I
fixed some variables which was not found .

Is it a problem with my debian installation
!!!!!!!!!!??? 

Regards
Harry

PS: I like to set "!" for Mr Pascal :-)


--- David Uzzell <asterisk-list at uzzell.com.au> a écrit
:

> harry gaillac wrote:
> > Hello,
> > 
> > I try to compile zaptel .
> > I installed kernel-sources but when i run :
> > make linux26
> >
>
/////////////////////////////////////////////////////////////////////////
> > serveur1:/usr/local/src/ASTERISK/zaptel-1.2.0#
> make
> > linux26
> > 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
> > 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
> > 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\"    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
> > ir
> > You do not appear to have the sources for the
> > 2.6.12-1-386 kernel installed.
> > make: *** [linux26] Error 1
> >
>
//////////////////////////////////////////////////////////////////////
> > 
> 
> I have to ask the obvious question.
> 
> Do you have the same source as you have kernel
> running?
> 
> Remember if you have run an upgrade it could have
> updated the kernel but
> may not have doen the sources and if you have the
> sources from the
> installion media then you would have different
> versions that will cause
> this exact problem.
> 
> David
> 
> 
> 
> > 
> > Something don't match in makefile with debian
> sarge
> > 3.1 here
> > linux26: prereq $(BINS)
> >         @echo $(KSRC)
> >         @if [ -z "$(KSRC)" -o ! -d "$(KSRC)" ];
> then
> > echo "You do not appear to have the sources for
> the
> > $(KVERS) kernel installed."; exit 1 ; fi
> >         $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) modules
> > 
> > 
> > Harry
> > 
> > 
> > 	
> > 
> > 	
> > 		
> >
>
___________________________________________________________________________
> 
> > Appel audio GRATUIT partout dans le monde avec le
> nouveau Yahoo! Messenger 
> > Téléchargez cette version sur
> http://fr.messenger.yahoo.com
> > _______________________________________________
> > --Bandwidth and Colocation sponsored by
> Easynews.com --
> > 
> > Asterisk-Users mailing list
> > Asterisk-Users at 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
> > 
> > 
> 
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com
> --
> 
> Asterisk-Users mailing list
> Asterisk-Users at 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
> 



	

	
		
___________________________________________________________________________ 
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-users mailing list