Re: [Asterisk-Users] make error for zaptel
Hi zoltan, I have got the same problem...same error. Seems like the makefile is searching for a modules rule but I looked into Makefile and there is not a 'modules' rule... Have you found a solution? TIA Giorgio Zoltan Szecsei wrote: Bob Goddard wrote: On Friday 01 Jul 2005 15:14, Zoltan Szecsei wrote: Hi Bob, Thanks - I'll run with the README idea of yours. Your comment regarding re-boot however is not valid. I also thought that was the case and (as I said on the first line of my message) I specifically rebooted the box. Have to confess I am really flumuxed why the symbolinc link differs from the uname -r name. I cannot see what the problem is with the output of 'uname -r'! I'm saying that I though that if uname -r returns: 2.6.11.4-20a-smp then I would expect that /usr/src/linux would link to linux-2.6.11.4-20a-smp and it does not, it links to linux-2.6.11.4-21.7 see: gl0:/usr/src # ls -la total 499 drwxr-xr-x 17 root root680 2005-06-30 14:46 . drwxr-xr-x 13 root root368 2005-06-30 09:21 .. drwxr-xr-x 3 root root320 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 root432 2005-06-23 04:21 asterisk-addons-1.0.8 drwxr-xr-x 3 root root184 2005-06-23 04:23 asterisk-sounds-1.0.8 drwxr-xr-x 2 root root440 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 root776 2005-06-12 17:24 dicts drwxr-xr-x 5 root root416 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 root736 2005-06-12 17:29 kernel-modules drwxr-xr-x 2 root root520 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 root720 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 root168 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 So I figured that this may be the reason why the zaptel make is failing. Zoltan If you are saying that you are not running linux-2.6.11.4-20a, then I would say you. Perhaps lilo or grub got corrupted. You should be checking the layout of /boot at least. Bob Goddard wrote: On Friday 01 Jul 2005 13:08, Terry Wade wrote: Ln -s /lib/modules/'uname -r'/build /usr/src/linux-2.6 Nope, I doubt that. The end user should read /usr/src/linux/README.suse and see how to prepare the kernel for building thirparty modules. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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??) It looks like you updated the kernel but never rebooted. 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? [...] 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 # [ Oh for fsck sake, can't people delete old signatures ] ___ 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 ___ 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
Re: [Asterisk-Users] make error for zaptel
On Friday 01 Jul 2005 16:43, Zoltan Szecsei wrote: Bob Goddard wrote: On Friday 01 Jul 2005 15:14, Zoltan Szecsei wrote: Hi Bob, Thanks - I'll run with the README idea of yours. Your comment regarding re-boot however is not valid. I also thought that was the case and (as I said on the first line of my message) I specifically rebooted the box. Have to confess I am really flumuxed why the symbolinc link differs from the uname -r name. I cannot see what the problem is with the output of 'uname -r'! I'm saying that I though that if uname -r returns: 2.6.11.4-20a-smp then I would expect that /usr/src/linux would link to linux-2.6.11.4-20a-smp and it does not, it links to linux-2.6.11.4-21.7 see: gl0:/usr/src # ls -la [...] First, learn to trim your posts. I have already read the signature and I don't need to read it any more. You will have updated the kernel via Yast. Yast will remove all previous versions. You have 2 kernels at least partially installed. Your system is broken. When you updated the kernel, the linux link was recreated, but Yast did not manage to remove the previous version. ___ 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
[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 root680 2005-06-30 14:46 . drwxr-xr-x 13 root root368 2005-06-30 09:21 .. drwxr-xr-x 3 root root320 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 root432 2005-06-23 04:21 asterisk-addons-1.0.8 drwxr-xr-x 3 root root184 2005-06-23 04:23 asterisk-sounds-1.0.8 drwxr-xr-x 2 root root440 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 root776 2005-06-12 17:24 dicts drwxr-xr-x 5 root root416 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 root736 2005-06-12 17:29 kernel-modules drwxr-xr-x 2 root root520 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 root720 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 root168 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
RE: [Asterisk-Users] make error for zaptel
Ln -s /lib/modules/'uname -r'/build /usr/src/linux-2.6 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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 root680 2005-06-30 14:46 . drwxr-xr-x 13 root root368 2005-06-30 09:21 .. drwxr-xr-x 3 root root320 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 root432 2005-06-23 04:21 asterisk-addons-1.0.8 drwxr-xr-x 3 root root184 2005-06-23 04:23 asterisk-sounds-1.0.8 drwxr-xr-x 2 root root440 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 root776 2005-06-12 17:24 dicts drwxr-xr-x 5 root root416 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 root736 2005-06-12 17:29 kernel-modules drwxr-xr-x 2 root root520 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 root720 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 root168 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 ___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http
Re: [Asterisk-Users] make error for zaptel
On Friday 01 Jul 2005 13:08, Terry Wade wrote: Ln -s /lib/modules/'uname -r'/build /usr/src/linux-2.6 Nope, I doubt that. The end user should read /usr/src/linux/README.suse and see how to prepare the kernel for building thirparty modules. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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??) It looks like you updated the kernel but never rebooted. 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? [...] 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
Re: [Asterisk-Users] make error for zaptel
Hi Bob, Thanks - I'll run with the README idea of yours. Your comment regarding re-boot however is not valid. I also thought that was the case and (as I said on the first line of my message) I specifically rebooted the box. Have to confess I am really flumuxed why the symbolinc link differs from the uname -r name. Thanks chat soon, Zoltan. Bob Goddard wrote: On Friday 01 Jul 2005 13:08, Terry Wade wrote: Ln -s /lib/modules/'uname -r'/build /usr/src/linux-2.6 Nope, I doubt that. The end user should read /usr/src/linux/README.suse and see how to prepare the kernel for building thirparty modules. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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??) It looks like you updated the kernel but never rebooted. 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? [...] 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 ___ 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
Re: [Asterisk-Users] make error for zaptel
On Friday 01 Jul 2005 15:14, Zoltan Szecsei wrote: Hi Bob, Thanks - I'll run with the README idea of yours. Your comment regarding re-boot however is not valid. I also thought that was the case and (as I said on the first line of my message) I specifically rebooted the box. Have to confess I am really flumuxed why the symbolinc link differs from the uname -r name. I cannot see what the problem is with the output of 'uname -r'! If you are saying that you are not running linux-2.6.11.4-20a, then I would say you. Perhaps lilo or grub got corrupted. You should be checking the layout of /boot at least. Bob Goddard wrote: On Friday 01 Jul 2005 13:08, Terry Wade wrote: Ln -s /lib/modules/'uname -r'/build /usr/src/linux-2.6 Nope, I doubt that. The end user should read /usr/src/linux/README.suse and see how to prepare the kernel for building thirparty modules. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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??) It looks like you updated the kernel but never rebooted. 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? [...] 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 # [ Oh for fsck sake, can't people delete old signatures ] ___ 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
Re: [Asterisk-Users] make error for zaptel
Bob Goddard wrote: On Friday 01 Jul 2005 15:14, Zoltan Szecsei wrote: Hi Bob, Thanks - I'll run with the README idea of yours. Your comment regarding re-boot however is not valid. I also thought that was the case and (as I said on the first line of my message) I specifically rebooted the box. Have to confess I am really flumuxed why the symbolinc link differs from the uname -r name. I cannot see what the problem is with the output of 'uname -r'! I'm saying that I though that if uname -r returns: 2.6.11.4-20a-smp then I would expect that /usr/src/linux would link to linux-2.6.11.4-20a-smp and it does not, it links to linux-2.6.11.4-21.7 see: gl0:/usr/src # ls -la total 499 drwxr-xr-x 17 root root680 2005-06-30 14:46 . drwxr-xr-x 13 root root368 2005-06-30 09:21 .. drwxr-xr-x 3 root root320 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 root432 2005-06-23 04:21 asterisk-addons-1.0.8 drwxr-xr-x 3 root root184 2005-06-23 04:23 asterisk-sounds-1.0.8 drwxr-xr-x 2 root root440 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 root776 2005-06-12 17:24 dicts drwxr-xr-x 5 root root416 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 root736 2005-06-12 17:29 kernel-modules drwxr-xr-x 2 root root520 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 root720 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 root168 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 So I figured that this may be the reason why the zaptel make is failing. Zoltan If you are saying that you are not running linux-2.6.11.4-20a, then I would say you. Perhaps lilo or grub got corrupted. You should be checking the layout of /boot at least. Bob Goddard wrote: On Friday 01 Jul 2005 13:08, Terry Wade wrote: Ln -s /lib/modules/'uname -r'/build /usr/src/linux-2.6 Nope, I doubt that. The end user should read /usr/src/linux/README.suse and see how to prepare the kernel for building thirparty modules. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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??) It looks like you updated the kernel but never rebooted. 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? [...] 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 # [ Oh for fsck sake, can't people delete old signatures ] ___ 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 ___ 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
RE: [Asterisk-Users] make error for zaptel
maybe zaptel verion incompatability try other newer or stable older versions not sure thats just a hint From: [EMAIL PROTECTED] 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 root680 2005-06-30 14:46 . drwxr-xr-x 13 root root368 2005-06-30 09:21 .. drwxr-xr-x 3 root root320 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 root432 2005-06-23 04:21 asterisk-addons-1.0.8 drwxr-xr-x 3 root root184 2005-06-23 04:23 asterisk-sounds-1.0.8 drwxr-xr-x 2 root root440 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 root776 2005-06-12 17:24 dicts drwxr-xr-x 5 root root416 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 root736 2005-06-12 17:29 kernel-modules drwxr-xr-x 2 root root520 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 root720 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 root168 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 winmail.dat___ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options