Do you have a question? Post it now! No Registration Necessary
August 30, 2005, 9:21 pm

Hi,
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
sys_msgget.
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
doubhts.
Site Timeline
- » mmap coherency kernel to user
- — Next thread in » Embedded Linux
-
- » gtk+ on embedded device
- — Previous thread in » Embedded Linux
-
- » Crosscompiling for ARM: reloc type R_ARM_ABS32 is not supported for PIC - ...
- — Newest thread in » Embedded Linux
-
- » VHDL i wyĆwietlacze 7-seg.
- — The site's Newest Thread. Posted in » Electronics (Polish)
-
- » homemade or low cost circuit board/ battery box shield?
- — The site's Last Updated Thread. Posted in » Electronics Repair
-