Results 1 to 2 of 2
hi i have a problem compiling kernel module
my problem is calling external kernel symbol in internal kernel module(des.ko)
3 kernel module is
* my_kernel_module.ko
---> my_function() is implemented in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-26-2009 #1Just Joined!
- Join Date
- Mar 2009
- Posts
- 1
[question] Calling external kernel module in internal kernel
hi i have a problem compiling kernel module
my problem is calling external kernel symbol in internal kernel module(des.ko)
3 kernel module is
* my_kernel_module.ko
---> my_function() is implemented in my_kernel_module.ko
* des.ko
---> It is crypto/des.ko module. and i modified it to call my_function()
* des_test.ko
---> It call crypto_cipher_encrypt()
calling sequence is
des_test.ko ---> des.ko ---> my_kernel_module.ko
when i compile kernle 2.6.20
error message :
root@ubuntu:~/linux-2.6.20.9# make modules
WARNING: "my_function" [crypto/des.ko] undefined oops!
make[1]: *** [__modpost] Error 1
make: *** [modules] Error 2
root@ubuntu:~/linux-2.6.20.9#
any suggestion ?
- 03-26-2009 #2
Try this Link, read "The Kernel Symbol Table - EXPORT_SYMBOL" section:
Linux Device Drivers, 2nd Edition: Chapter 2: Building and Running Modules
Gerard4143Make mine Arch Linux


Reply With Quote
