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

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


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
//////////////////////////////////////////////////////////////////////


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



More information about the asterisk-users mailing list