[asterisk-users] Zaptel 1.4.1 Install Modules CentOS

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Apr 4 03:31:40 MST 2007


On Wed, Apr 04, 2007 at 09:55:33AM +0100, Chris Blunt wrote:
> Hi Tzafir / List.
> 
>  
> 
> Thank you for your reply.
> 
>  
> 
> I have run: make clean
> 
>             Configure
> 
>             Make
> 
>             Make install
> 
>  
> 
> I get no compile errors, but still the same problems if I try to insmod
> zaptel
> 
> As you suggested I tried modinfo zaptel
> 
> Which resulted in: modinfo: could not find module zaptel

Which suggests that the modules were installed to the wrong directory
under /lib/modules .

> 
>  
> 
> I also tried depmod with the same result and finally I tried insmod
> ./ztdummy from the src/zaptel-1.4.1 directory which resulted in: insmod:
> error inserting './ztdummy.ko': -1 Invalid module format
> 

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 at jabber.org
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com       
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir


More information about the asterisk-users mailing list