无法insmod或使用内核间模块

我在内核驱动程序1(KD1.ko)中有一个函数:

static void test (void); EXPORT_SYMBOL(test); static void test() { printk("<<>>.\n"); } 

在内核驱动程序2(KD2.ko)中:

 extern static void test (void); 

我试着称之为。

我设法insmod KD1.ko,但我无法insmod KD2.ko. 我错过了什么吗?

test()static

所以你不能导出静态函数。

http://osdir.com/ml/linux.kernel.kernelnewbies/2003-02/msg00149.html