About Kernel Modules in Linux
Hi all,
I am building the two kernel modules means 2 .ko files. Some functions of the module 1 are being used by module 2. I have also exported the symbols for functions which will be used by 2nd module. But When I am compiling the modules, i am getting the following errors:
WARNING: "A_UnRegister_Driver" [/usr/src/linux/drivers/usb/my/device/src/a.ko] undefined!
WARNING: "A_Free" [/usr/src/linux/drivers/usb/my/device/src/b.ko] undefined!
I am exporting the above function using the EXPORT_SYMBOL. Can some body point out why am i getting this and what is workaround for this?
regards.
|