Chris Blunt
2007-Apr-04 06:32 UTC
[asterisk-users] RE: asterisk-users Digest, Vol 33, Issue 15
Hi Tzafir / List Here is some more information obtained from the commands you gave me: 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:21:39 CDT 2006 i686 i686 i386 GNU/Linux kernel-2.6.9-42.EL kernel-smp-2.6.9-42.EL kernel-ib-1.0-1 kernel-devel-2.6.9-42.0.3.EL kernel-2.6.9-42.0.3.EL kernel-smp-2.6.9-42.0.3.EL kernel-utils-2.4-13.1.83 I did check the "/lib/modules/2.6.9-42.0.3.ELsmp" directory but there is no build link, could this be the problem? Again thanks for your help, I am only a Linux beginner, and even more of a noob with CentOS. Best regards Chris -- Chris Blunt -----Original Message----- This means that you built the modules vs. a kernel source tree that does not match your running kernel. What kernel do you run? What is the output of uname -a You mentioned you were running on CentOS. Do you have the proper kernel-devel package for your kernel? rpm -qa | grep kernel And while we're at it, let's check the first guess of the makefile for the location of the kernel source tree: ls -l /lib/modules/`uname -r` The "build" link there should have the information. -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir
Tzafrir Cohen
2007-Apr-04 06:39 UTC
[asterisk-users] Re: asterisk-users Digest, Vol 33, Issue 15
On Wed, Apr 04, 2007 at 02:31:54PM +0100, Chris Blunt wrote:> Hi Tzafir / List > > Here is some more information obtained from the commands you gave me: > > 2.6.9-42.0.3.ELsmp #1 SMP Fri Oct 6 06:21:39 CDT 2006 i686 i686 i386 > GNU/Linux > > kernel-2.6.9-42.EL > kernel-smp-2.6.9-42.EL > kernel-ib-1.0-1 > kernel-devel-2.6.9-42.0.3.EL > kernel-2.6.9-42.0.3.EL > kernel-smp-2.6.9-42.0.3.EL > kernel-utils-2.4-13.1.83yum install kernel-smp-devel> > I did check the "/lib/modules/2.6.9-42.0.3.ELsmp" directory but there is no > build link, could this be the problem?Yes. No suggested location for the kerenl source. This should be fixed by installing the relevant kernel-devel package (which has a partial copy of the kernel build tree, configured for the specific kernel) -- Tzafrir Cohen icq#16849755 jabber:tzafrir@jabber.org +972-50-7952406 mailto:tzafrir.cohen@xorcom.com http://www.xorcom.com iax:guest@local.xorcom.com/tzafrir