Re: Linux 2.4.0-ac9
You need to enable CONFIG_SWAPFS. Those functions are enclosed by #ifdef CONFIG_SWAPFS and #endif, but the references to them aren't. Karsten On Sat, Jan 13, 2001 at 06:40:40PM -0700, Steven Cole wrote: > I got the following error while building 2.4.0-ac9: > > shmem.c:971: `shmem_readlink' undeclared here (not in a function) > shmem.c:971: initializer element is not constant > shmem.c:971: (near initialization for > `shmem_symlink_inode_operations.readlink') > shmem.c:972: `shmem_follow_link' undeclared here (not in a function) > shmem.c:972: initializer element is not constant > shmem.c:972: (near initialization for > `shmem_symlink_inode_operations.follow_link') > shmem.c:973: initializer element is not constant > shmem.c:973: (near initialization for `shmem_symlink_inode_operations') > shmem.c:973: initializer element is not constant > shmem.c:973: (near initialization for `shmem_symlink_inode_operations') > make[2]: *** [shmem.o] Error 1 > > It looks like changes were recently made to linux/mm/shmem.c. > -- Karsten Hopp| Mail: [EMAIL PROTECTED] | Red Hat Deutschland |[EMAIL PROTECTED] | SAP-AG LinuxLab Hauptstaetterstr.58 | Tel: +49-711-96437-0| Neurottstrasse 16 D-70178 Stuttgart | http://www.redhat.de| 69190 Walldorf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
2.4.0-ac6: drivers/net/rcpci45.c typo
--- ./drivers/net/rcpci45.c.origThu Jan 11 12:49:19 2001 +++ ./drivers/net/rcpci45.c Thu Jan 11 12:47:04 2001 @@ -120,7 +120,7 @@ { RC_PCI45_VENDOR_ID, RC_PCI45_DEVICE_ID, PCI_ANY_ID, PCI_ANY_ID, }, { } }; -MODULE_DEVICE_TABLE(pci, rcpci_pci_table); +MODULE_DEVICE_TABLE(pci, rcpci45_pci_table); static void __exit rcpci45_remove_one(struct pci_dev *pdev) { -- Karsten Hopp| [EMAIL PROTECTED] SAP-AG LinuxLab | http://www.sap.com/linux/ Neurottstrasse 16 69190 Walldorf - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/