Manuel Casal
2005-Jun-17 02:30 UTC
[Asterisk-Users] bristuff-0.2.0-RC8g: zaptel error in suse 9.2
Hi, I have the SuSe9.2 installed in a box with a QuadBri. I have followed all the instructions i have found and this is my best result... only one error compiling zaptel :( .. y have the kernel sources an already made the links to its drwxr-xr-x 8 root root 328 Jun 16 20:20 . drwxr-xr-x 12 root root 320 Jun 16 14:05 .. drwxr-xr-x 3 root root 136 Jun 16 20:17 asterisk drwxr-xr-x 22 root root 664 Jun 16 20:20 kernel-modules lrwxrwxrwx 1 root root 14 Jun 16 18:01 linux -> linux-2.6.8-24 lrwxrwxrwx 1 root root 14 Jun 16 18:03 linux-2.6 -> linux-2.6.8-24 drwxr-xr-x 21 root root 864 Jun 17 10:27 linux-2.6.8-24 drwxr-xr-x 3 root root 72 Oct 6 2004 linux-2.6.8-24-obj drwxr-xr-x 3 root root 72 Jun 16 17:28 linux-2.6.8-24.16-obj lrwxrwxrwx 1 root root 18 Jun 16 18:01 linux-obj -> linux-2.6.8-24-obj drwxr-xr-x 7 root root 168 Jun 16 14:08 packages I made the "make menuconfig" and "make dep" in the kernel sources. but when i try to complile zaptel from the britstuff package this is the result: linux:/usr/src/asterisk/bristuff-0.2.0-RC8g/zaptel-1.0.7 # make clean rm -f torisatool makefw tor2fw.h rm -f zttool ztspeed zttest ztmonitor rm -f *.o ztcfg tzdriver sethdlc sethdlc-new rm -f zonedata.lo tonezone.lo libtonezone.so.1.0 *.lo rm -f *.ko *.mod.c .*o.cmd rm -f gendigits tones.h rm -f libtonezone* rm -f tor2ee rm -f core rm -rf .tmp_versions linux:/usr/src/asterisk/bristuff-0.2.0-RC8g/zaptel-1.0.7 # 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 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 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\" -c -o zttool.o zttool.c cc -o zttool zttool.o -lnewt cc -I. -O4 -g -Wall -DBUILDING_TONEZONE -DSTANDALONE_ZAPATA -DZAPTEL_CONFIG=\"/etc/zaptel.conf\" zttest.c -o zttest You do not appear to have the kernel sources for your current kernel installed. make: *** [linux26] Error 1 linux:/usr/src/asterisk/bristuff-0.2.0-RC8g/zaptel-1.0.7 # Why dont found the kernel sources????? Help please.... Thanks
Marco Parmeggiani
2005-Jun-17 08:53 UTC
[Asterisk-Users] bristuff-0.2.0-RC8g: zaptel error in suse 9.2
Manuel Casal ha scritto:> I made the "make menuconfig" and "make dep" in the kernel sources.i do not remember well how i solved that problem but i'm sure that "make dep" will issue you a warning and stop. run "make" to start the kernel build process and then stop it after few seconds. it will create the necessary symlinks in the kernel tree. maybe there's a more elegant solution but this should work. ciao