Messages in this thread Patch in this message |  | | From | Jan Niehusmann <> | Subject | 2.1.1[89] and exporting ksyms | Date | Tue, 31 Dec 1996 18:27:59 +0100 (MET) |
| |
Hi!
2.1.1[89] dosn't export symbols from kernel/ksyms.c when compiled without MODVERSIONS. So it's impossible to load modules. With the following patch I was able to load some modules, but some symbols from net/netsyms.c are still missing, so I can't insmod net modules.
--- linux/kernel/ksyms.c.orig Tue Dec 31 17:29:59 1996 +++ linux/kernel/ksyms.c Tue Dec 31 17:56:38 1996 @@ -9,8 +9,8 @@ * by Bjorn Ekwall <bj0rn@blox.se> */ -#include <linux/module.h> #include <linux/config.h> +#include <linux/module.h> #include <linux/kernel.h> #include <linux/smp.h> #include <linux/fs.h> @@ -330,7 +330,7 @@ EXPORT_SYMBOL(___strtok); EXPORT_SYMBOL(init_fifo); EXPORT_SYMBOL(super_blocks); -EXPORT_SYMBOL(reuse_list); +/* EXPORT_SYMBOL(reuse_list); 2.1.18 made it static in fs/buffer.c */ EXPORT_SYMBOL(fifo_inode_operations); EXPORT_SYMBOL(chrdev_inode_operations); EXPORT_SYMBOL(blkdev_inode_operations);
Bye, Jan
|  |