unknown symbol register_kprobe
I am trying to compile and insert this kprobe example(from RedHat Website) in my F17 kernel:
http://www.redhat.com/magazine/005ma...robebio_c.html and this makefile: http://www.redhat.com/magazine/005ma.../makefile.html but when I try to insert module into kernel, I see this error message: Error: could not insert module ./gooran_module.ko: Unknown symbol in module. dmesg says: [ 3533.204708] gooran_module: Unknown symbol register_kprobe (err 0) [ 3533.204750] gooran_module: Unknown symbol unregister_kprobe (err 0) Can anyone help me?:confused: |
Well in the link the includes are missing. Did you include the following?
Code:
#include <linux/modules.h> |
All times are GMT -5. The time now is 03:22 AM. |