---------- Message transmis ---------- Subject: make modules : error Date: Sun, 14 Jan 2001 19:56:29 +0100 From: filip <vhf@skynet.be> To: suse-linux-e@suse.com Hi all, After a no error compile of the 2.4.0, I did make module and get the following error : make modules : error : gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -DMODULE -c -o rcpci45.o rcpci45.c rcpci45.c:123: `rcpci_pci_table' undeclared here (not in a function) make[2]: *** [rcpci45.o] Error 1 make[2]: Leaving directory `/usr/src/linux-2.4.0.SuSE/drivers/net' make[1]: *** [_modsubdir_net] Error 2 make[1]: Leaving directory `/usr/src/linux-2.4.0.SuSE/drivers' make: *** [_mod_drivers] Error 2 suse:/usr/src/linux # error occurs in : /usr/src/linux/drivers/net/rcpci45.c line 123 : static struct pci_device_id rcpci45_pci_table[] __devinitdata = { { RC_PCI45_VENDOR_ID, RC_PCI45_DEVICE_ID, PCI_ANY_ID, PCI_ANY_ID, }, { } }; MODULE_DEVICE_TABLE(pci, rcpci_pci_table); <------------ here !!!!! line 123 static void __exit rcpci45_remove_one(struct pci_dev *pdev) { struct net_device *dev = pdev->driver_data; PDPA pDpa = dev->priv; if (!dev) { printk (KERN_ERR "(rcpci45 driver:) remove non-existent device\n"); return; } Anybody has an idea what I did wrong ? Is it a bad or forgotten choise of some kernel parameter ? TIA Filip. -------------------------------------------------------