Hi, I'm running SuSE 9.3 fully updated using YOU and I *have* re-booted the box (in a hope to sort out the uname -r issue mentioned below). I'm using the Asterisk Doc Proj vol 1 to guide me through the initial setup. I have no special HW and intend to use asterisk on an internal network just to get some experience. I have downloaded what I think I need and placed it in /usr/src (see listing below). I run make clean ; make linux26 (what about the usual make with no parameters?) and I get a crash. Note that uname -r returns a *different* version of what the linux is linked to (thanks to YOU??) I have tried make clean ; make (no params) and it still crashes. Can anyone offer me some suggestions? - or do I go first to the SuSE list to sort out the uname -r & usr/src/linux issue? TIA, Zoltan. gl0:/usr/src # ls -la total 499 drwxr-xr-x 17 root root 680 2005-06-30 14:46 . drwxr-xr-x 13 root root 368 2005-06-30 09:21 .. drwxr-xr-x 3 root root 320 2005-05-19 06:53 astcc -rw-r--r-- 1 root root 130943 2005-06-25 19:09 astcc.tar drwxr-xr-x 22 root root 2336 2005-06-23 04:16 asterisk-1.0.8 drwxr-xr-x 7 root root 432 2005-06-23 04:21 asterisk-addons-1.0.8 drwxr-xr-x 3 root root 184 2005-06-23 04:23 asterisk-sounds-1.0.8 drwxr-xr-x 2 root root 440 2005-05-23 06:47 btp -rw-r--r-- 1 root root 32975 2005-06-25 19:08 btp.tar drwxr-xr-x 23 root root 776 2005-06-12 17:24 dicts drwxr-xr-x 5 root root 416 2005-04-01 18:50 gastman -rw-r--r-- 1 root root 332857 2005-06-25 19:08 gastman.tar drwxr-xr-x 25 root root 736 2005-06-12 17:29 kernel-modules drwxr-xr-x 2 root root 520 2005-06-23 04:11 libpri-1.0.8 lrwxrwxrwx 1 root root 19 2005-06-25 22:01 linux -> linux-2.6.11.4-21.7 drwxr-xr-x 3 root root 72 2005-06-25 22:01 linux-2.6.11.4-20a drwxr-xr-x 3 root root 72 2005-03-24 02:03 linux-2.6.11.4-20a-obj drwxr-xr-x 19 root root 720 2005-06-25 22:01 linux-2.6.11.4-21.7 drwxr-xr-x 3 root root 72 2005-06-02 16:54 linux-2.6.11.4-21.7-obj lrwxrwxrwx 1 root root 23 2005-06-25 22:01 linux-obj -> linux-2.6.11.4-21.7-obj drwxr-xr-x 7 root root 168 2005-06-12 17:43 packages drwxr-xr-x 2 root root 2720 2005-07-01 12:43 zaptel-1.0.8 gl0:/usr/src # uname -r 2.6.11.4-20a-smp gl0:/usr/src # cd zaptel-1.0.8/ gl0:/usr/src/zaptel-1.0.8 # make clean rm -f torisatool makefw tor2fw.h rm -f zttool 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 gl0:/usr/src/zaptel-1.0.8 # 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 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 make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/zaptel-1.0.8 modules make[1]: Entering directory `/usr/src/linux-2.6.11.4-20a-obj/i386/smp' make[1]: *** No rule to make target `modules'. Stop. make[1]: Leaving directory `/usr/src/linux-2.6.11.4-20a-obj/i386/smp' make: *** [linux26] Error 2 gl0:/usr/src/zaptel-1.0.8 #
Ln -s /lib/modules/'uname -r'/build /usr/src/linux-2.6 -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Zoltan Szecsei Sent: 01 July 2005 01:51 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] make error for zaptel Hi, I'm running SuSE 9.3 fully updated using YOU and I *have* re-booted the box (in a hope to sort out the uname -r issue mentioned below). I'm using the Asterisk Doc Proj vol 1 to guide me through the initial setup. I have no special HW and intend to use asterisk on an internal network just to get some experience. I have downloaded what I think I need and placed it in /usr/src (see listing below). I run make clean ; make linux26 (what about the usual make with no parameters?) and I get a crash. Note that uname -r returns a *different* version of what the linux is linked to (thanks to YOU??) I have tried make clean ; make (no params) and it still crashes. Can anyone offer me some suggestions? - or do I go first to the SuSE list to sort out the uname -r & usr/src/linux issue? TIA, Zoltan. gl0:/usr/src # ls -la total 499 drwxr-xr-x 17 root root 680 2005-06-30 14:46 . drwxr-xr-x 13 root root 368 2005-06-30 09:21 .. drwxr-xr-x 3 root root 320 2005-05-19 06:53 astcc -rw-r--r-- 1 root root 130943 2005-06-25 19:09 astcc.tar drwxr-xr-x 22 root root 2336 2005-06-23 04:16 asterisk-1.0.8 drwxr-xr-x 7 root root 432 2005-06-23 04:21 asterisk-addons-1.0.8 drwxr-xr-x 3 root root 184 2005-06-23 04:23 asterisk-sounds-1.0.8 drwxr-xr-x 2 root root 440 2005-05-23 06:47 btp -rw-r--r-- 1 root root 32975 2005-06-25 19:08 btp.tar drwxr-xr-x 23 root root 776 2005-06-12 17:24 dicts drwxr-xr-x 5 root root 416 2005-04-01 18:50 gastman -rw-r--r-- 1 root root 332857 2005-06-25 19:08 gastman.tar drwxr-xr-x 25 root root 736 2005-06-12 17:29 kernel-modules drwxr-xr-x 2 root root 520 2005-06-23 04:11 libpri-1.0.8 lrwxrwxrwx 1 root root 19 2005-06-25 22:01 linux -> linux-2.6.11.4-21.7 drwxr-xr-x 3 root root 72 2005-06-25 22:01 linux-2.6.11.4-20a drwxr-xr-x 3 root root 72 2005-03-24 02:03 linux-2.6.11.4-20a-obj drwxr-xr-x 19 root root 720 2005-06-25 22:01 linux-2.6.11.4-21.7 drwxr-xr-x 3 root root 72 2005-06-02 16:54 linux-2.6.11.4-21.7-obj lrwxrwxrwx 1 root root 23 2005-06-25 22:01 linux-obj -> linux-2.6.11.4-21.7-obj drwxr-xr-x 7 root root 168 2005-06-12 17:43 packages drwxr-xr-x 2 root root 2720 2005-07-01 12:43 zaptel-1.0.8 gl0:/usr/src # uname -r 2.6.11.4-20a-smp gl0:/usr/src # cd zaptel-1.0.8/ gl0:/usr/src/zaptel-1.0.8 # make clean rm -f torisatool makefw tor2fw.h rm -f zttool 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 gl0:/usr/src/zaptel-1.0.8 # 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 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 make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/zaptel-1.0.8 modules make[1]: Entering directory `/usr/src/linux-2.6.11.4-20a-obj/i386/smp' make[1]: *** No rule to make target `modules'. Stop. make[1]: Leaving directory `/usr/src/linux-2.6.11.4-20a-obj/i386/smp' make: *** [linux26] Error 2 gl0:/usr/src/zaptel-1.0.8 # _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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
maybe zaptel verion incompatability try other newer or stable older versions not sure thats just a hint ________________________________ From: asterisk-users-bounces@lists.digium.com on behalf of Zoltan Szecsei Sent: Fri 7/1/2005 2:51 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [Asterisk-Users] make error for zaptel Hi, I'm running SuSE 9.3 fully updated using YOU and I *have* re-booted the box (in a hope to sort out the uname -r issue mentioned below). I'm using the Asterisk Doc Proj vol 1 to guide me through the initial setup. I have no special HW and intend to use asterisk on an internal network just to get some experience. I have downloaded what I think I need and placed it in /usr/src (see listing below). I run make clean ; make linux26 (what about the usual make with no parameters?) and I get a crash. Note that uname -r returns a *different* version of what the linux is linked to (thanks to YOU??) I have tried make clean ; make (no params) and it still crashes. Can anyone offer me some suggestions? - or do I go first to the SuSE list to sort out the uname -r & usr/src/linux issue? TIA, Zoltan. gl0:/usr/src # ls -la total 499 drwxr-xr-x 17 root root 680 2005-06-30 14:46 . drwxr-xr-x 13 root root 368 2005-06-30 09:21 .. drwxr-xr-x 3 root root 320 2005-05-19 06:53 astcc -rw-r--r-- 1 root root 130943 2005-06-25 19:09 astcc.tar drwxr-xr-x 22 root root 2336 2005-06-23 04:16 asterisk-1.0.8 drwxr-xr-x 7 root root 432 2005-06-23 04:21 asterisk-addons-1.0.8 drwxr-xr-x 3 root root 184 2005-06-23 04:23 asterisk-sounds-1.0.8 drwxr-xr-x 2 root root 440 2005-05-23 06:47 btp -rw-r--r-- 1 root root 32975 2005-06-25 19:08 btp.tar drwxr-xr-x 23 root root 776 2005-06-12 17:24 dicts drwxr-xr-x 5 root root 416 2005-04-01 18:50 gastman -rw-r--r-- 1 root root 332857 2005-06-25 19:08 gastman.tar drwxr-xr-x 25 root root 736 2005-06-12 17:29 kernel-modules drwxr-xr-x 2 root root 520 2005-06-23 04:11 libpri-1.0.8 lrwxrwxrwx 1 root root 19 2005-06-25 22:01 linux -> linux-2.6.11.4-21.7 drwxr-xr-x 3 root root 72 2005-06-25 22:01 linux-2.6.11.4-20a drwxr-xr-x 3 root root 72 2005-03-24 02:03 linux-2.6.11.4-20a-obj drwxr-xr-x 19 root root 720 2005-06-25 22:01 linux-2.6.11.4-21.7 drwxr-xr-x 3 root root 72 2005-06-02 16:54 linux-2.6.11.4-21.7-obj lrwxrwxrwx 1 root root 23 2005-06-25 22:01 linux-obj -> linux-2.6.11.4-21.7-obj drwxr-xr-x 7 root root 168 2005-06-12 17:43 packages drwxr-xr-x 2 root root 2720 2005-07-01 12:43 zaptel-1.0.8 gl0:/usr/src # uname -r 2.6.11.4-20a-smp gl0:/usr/src # cd zaptel-1.0.8/ gl0:/usr/src/zaptel-1.0.8 # make clean rm -f torisatool makefw tor2fw.h rm -f zttool 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 gl0:/usr/src/zaptel-1.0.8 # 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 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 make -C /lib/modules/`uname -r`/build SUBDIRS=/usr/src/zaptel-1.0.8 modules make[1]: Entering directory `/usr/src/linux-2.6.11.4-20a-obj/i386/smp' make[1]: *** No rule to make target `modules'. Stop. make[1]: Leaving directory `/usr/src/linux-2.6.11.4-20a-obj/i386/smp' make: *** [linux26] Error 2 gl0:/usr/src/zaptel-1.0.8 # _______________________________________________ Asterisk-Users mailing list Asterisk-Users@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 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/ms-tnef Size: 7271 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050701/8366e2c5/attachment.bin