Do you have a question? Post it now! No Registration Necessary
August 30, 2005, 9:21 pm
rate this thread
I am writing a module, that communicates to the other module by
queues. I am using sys_msgget and related functions. I have assumed, if
the symbol is present on /proc/kallsyms then the other modules can
refer symbol. For an example, the sys_msgget is appeared on the
symboltable. But it is not exported by any one of the
files(EXPORT_SYMBOL). So when i tried to use the sys_msgget to create a
message queue, my module was compiled with the warning and it never
loaded with insmod. It always says it could not resove the symbol
So i added EXPORT_SYMBOL(sys_msgget) in
arch/arm/kernel/armksyms.c. then build the image and my module. Then
the insmod works with my module without any problem.
My question is that can i do this way??. Can i use sys_msgget in
module programming??. Since it is not explicitly exported i have the
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
- » homemade or low cost circuit board/ battery box shield?
- — The site's Last Updated Thread. Posted in » Electronics Repair