'Unkown symbol in module' error while insmodding - but it should be fine!?
I have compiled my kernel module, after a lot of debugging.
So heres what I do:
So then I do a 'dmesg' and get:
bounce latest1 # insmod nf_lb.ko
insmod: error inserting 'nf_lb.ko': -1 Unknown symbol in module
bounce latest1 #
These are functions used by the workqueue(linux/workqueue.h) I am using, and are standard in 2.6 and probably older kernels? Plus it compiled fine, so why am I getting this?
nf_lb: Unknown symbol queue_delayed_work
nf_lb: Unknown symbol flush_workqueue
nf_lb: Unknown symbol destroy_workqueue
nf_lb: Unknown symbol __create_workqueue
Also, I did a:
and see that these symbols ARE in the kernel.
cat /proc/kallsyms | grep 'work'
Any ideas? Any help much appreciated!