[Asterisk-Users] Re: zaptel on 2.6.10 kernel - debian.

list at redpoint.org.uk list at redpoint.org.uk
Thu Jan 20 17:36:43 MST 2005


Hi Guys, Gals. 

Ok, so I have latest CVS sources on a debian box, 2.6.10-1-386 kernel 

kernel headers isntalled in the right plauce and all that stuff .. but 
whatever I try .. same results, I only need to get ztdummy working for a 
conference .. but I always end up stuffed :( 

heres the compile: 

robin at debian:~/zaptel$ 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 -lm -L. libtonezone.a
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 -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
make -C /lib/modules/`uname -r`/build SUBDIRS=/home/robin/zaptel modules
make[1]: Entering directory `/usr/src/kernel-headers-2.6.10-1-386'
CC [M]  /home/robin/zaptel/ztdummy.o
Building modules, stage 2.
MODPOST
*** Warning: "cleanup_module" [/home/robin/zaptel/ztdummy.ko] undefined!
*** Warning: "init_module" [/home/robin/zaptel/ztdummy.ko] undefined!
*** Warning: "zt_transmit" [/home/robin/zaptel/ztdummy.ko] undefined!
*** Warning: "zt_receive" [/home/robin/zaptel/ztdummy.ko] undefined!
*** Warning: "zt_unregister" [/home/robin/zaptel/ztdummy.ko] undefined!
*** Warning: "zt_register" [/home/robin/zaptel/ztdummy.ko] undefined!
CC      /home/robin/zaptel/ztdummy.mod.o
LD [M]  /home/robin/zaptel/ztdummy.ko
make[1]: Leaving directory `/usr/src/kernel-headers-2.6.10-1-386' 

and the modprobe: 

debian:/home/robin/zaptel# modprobe ztdummy
WARNING: /etc/modprobe.d/zaptel line 17: ignoring bad line starting with 
'post-install'
WARNING: Error inserting zaptel (/lib/modules/2.6.10-1-386/misc/zaptel.ko): 
Invalid module format
FATAL: Error inserting ztdummy (/lib/modules/2.6.10-1-386/misc/ztdummy.ko): 
Invalid module format 

clues?



More information about the asterisk-users mailing list