lkml.org 
[lkml]   [1996]   [Dec]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject2.1.1[89] and exporting ksyms
Date
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

\
 
 \ /
  Last update: 2005-03-22 13:38    [from the cache]
©2003-2011 Jasper Spaans