Re: About kernel module programming

From: Keith Owens (kaos@ocs.com.au)
Date: Mon Apr 17 2000 - 08:06:30 EST


On Sun, 16 Apr 2000 16:01:38 +0200 (CEST),
nocturnu@dds.nl wrote:
>Compiling now works, but inserting it into the kernel gives a problem.
>
># insmod /home/orion/script/kernel/taskproc/taskproc.o
>/home/orion/script/kernel/taskproc/taskproc.o: unresolved symbol pidhash
>
># grep pidhash /boot/System.map
>c02551e0 B pidhash
>
>It exists, but still can't be found for some reason.

System.map contains *all* symbols. Not all symbols are exported, the
exported list is in /proc/ksyms. Only exported symbols can be
referenced by modules.

-
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 : Sun Apr 23 2000 - 21:00:10 EST