[Asterisk-Users] make error for zaptel
Zoltan Szecsei
zoltans at geograph.co.za
Fri Jul 1 08:43:06 MST 2005
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 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
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: asterisk-users-bounces at lists.digium.com
>>>>[mailto:asterisk-users-bounces at 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??)
>>>>
>>>>
>>>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 at 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
>
>
>
>
More information about the asterisk-users
mailing list