EXPORT-SYMBOL problem

From: Gregor.Pipan@ijs.si
Date: Thu Feb 17 2000 - 11:03:41 EST


I have following problem:

in linux kernel I define function "foo_function"
I want too call this function from module.
The module, does not see the function. :(

I am using 2.2.13 kernel.

------------------------
[root@neptun linux]# nm vmlinux |grep foo
c01ea000 ? __kstrtab_foo_function
c01ed2a8 ? __ksymtab_foo_function
c015e768 T foo_function
[root@neptun linux]#
-----------------------
[root@neptun linux]# grep foo /proc/ksyms
c015e768 foo_function_R__ver_foo_function
[root@neptun linux]#
-----------------------
[root@neptun foo]# insmod foo_module.o
foo_module.o: unresolved symbol foo_function
[root@neptun foo]#
------------------------

can anybody help me out ?

thanks , Gregor

PS:
the "c" file in kernel is compiled with
 #define EXPORT_SYMTAB

#include<linux/modules.h>

-
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/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:20 EST