Linux Kernel Programming - Module 2 unable to get symbols exported by Module 1

Posted by dexkid on Stack Overflow See other posts from Stack Overflow or by dexkid
Published on 2010-04-26T11:41:06Z Indexed on 2010/04/26 11:43 UTC
Read the original article Hit count: 397

Filed under:
|
|
|

I have a Linux kernel module M1 which exports a symbol S1. When I insmod M1.ko, I can see S1 in /proc/kallsyms. I use S1 in another kernel module M2. When I compile and insert module M2, I get message in dmesg saying "Unknown symbol in module S1".

I am stumped. Can someone please tell me what is going wrong? I am using Ubuntu 9.10.

© Stack Overflow or respective owner

Related posts about linux

Related posts about kernel