[asterisk-users] zaptel 1.2.22.1 on kernel 2.6.22: wctdm24xxp.ko needs unknown symbol pci_module_init

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Jan 2 04:02:13 CST 2008


On Wed, Jan 02, 2008 at 10:31:17AM +0100, Stefan Guenther wrote:
> Hi,
> 
> > 
> > The only module that seems to require the deprecated
> > function pci_module_init is wctdm24xxp.
> > 
> I had the same problem, when I tried to compile the driver for an 
> EICON/DIALOGIC card.
> I'm not a kernel expert, but with a number of other postings I found 
> out, that with kernel version 2.6.22 that following had changed:
> 
> Instead of "pci_module_init" the driver has to use 
> "pci_register_driver". Kernel 2.6.22 obviously doesn't use 
> "pci_module_init" anymore.
> Well I suggest you either use kernel version 2.6.20 or you replace 
> "pci_module_init" with  "pci_register_driver" in wctdm24xxp.

But zaptel has fixed this in around zaptel 1.2.20 / 1.4.5, IIRC.

Check for the macro zap_pci_module . Maybe it is incorrectly defined for
your kernel for some reason.

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+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