Andrzej
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
ld -m elf_i386 -T /usr/src/linux/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o \
fs/filesystems.a \
net/network.a \
drivers/block/block.a drivers/char/char.a drivers/misc/misc.a
drivers/net/net.a drivers/cdrom/cdrom.a drivers/pci/pci.a drivers/pnp/pnp.a
drivers/video/video.a \
/usr/src/linux/arch/i386/lib/lib.a /usr/src/linux/lib/lib.a
/usr/src/linux/arch/i386/lib/lib.a \
-o vmlinux
fs/filesystems.a(proc.o)(__ksymtab+0x0): undefined reference to `proc_sys_root'
make: *** [vmlinux] Error 1
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
--- linux/fs/proc/procfs_syms.c.old Sat Jul 11 00:33:38 1998
+++ linux/fs/proc/procfs_syms.c Tue Sep 29 11:42:22 1998
@@ -13,7 +13,9 @@
extern struct inode_operations proc_scsi_inode_operations;
extern struct proc_dir_entry proc_sys_root;
+#ifdef CONFIG_SYSCTL
EXPORT_SYMBOL(proc_sys_root);
+#endif
EXPORT_SYMBOL(proc_register);
EXPORT_SYMBOL(proc_unregister);
EXPORT_SYMBOL(create_proc_entry);
--- linux/fs/coda/psdev.c.old Tue Sep 29 11:41:01 1998
+++ linux/fs/coda/psdev.c Tue Sep 29 11:41:30 1998
@@ -573,7 +573,7 @@
}
unregister_chrdev(CODA_PSDEV_MAJOR,"coda_psdev");
-#if CONFIG_PROC_FS
+#ifdef CONFIG_SYSCTL
coda_sysctl_clean();
proc_unregister(&proc_sys_coda, proc_coda_cache_inv_control.low_ino);
@@ -583,7 +583,7 @@
proc_unregister(&proc_sys_root, proc_sys_coda.low_ino);
#endif
-#ifdef CONFIG_SYSCTL
+#if CONFIG_PROC_FS
proc_unregister(&proc_fs_coda, proc_coda_cache_inv.low_ino);
proc_unregister(&proc_fs_coda, proc_coda_permission.low_ino);
proc_unregister(&proc_fs_coda, proc_coda_upcall.low_ino);
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
-- ======================================================================= Andrzej M. Krzysztofowicz ankry@mif.pg.gda.pl phone (48)(58) 347 14 61 Faculty of Applied Phys. & Math., Technical University of Gdansk- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/