[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    2.1.1[89] and exporting ksyms
From:       Jan Niehusmann <jan () anduin ! gondor ! mcs ! de>
Date:       1996-12-31 17:27:59
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic