Results 1 to 2 of 2
Hi,
I have compiled my kernel module, after a lot of debugging.
So heres what I do:
bounce latest1 # insmod nf_lb.ko
insmod: error inserting 'nf_lb.ko': -1 Unknown symbol in ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-01-2006 #1Just Joined!
- Join Date
- Feb 2006
- Location
- Ireland
- Posts
- 9
'Unkown symbol in module' error while insmodding - but it should be fine!?
Hi,
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!
Thanks,
Cormac Redmond
- 03-01-2006 #2Just Joined!
- Join Date
- Feb 2006
- Location
- Ireland
- Posts
- 9
Ah....
I had to change
toMODULE_LICENSE("$LICENSE$");
MODULE_LICENSE("GPL");
Feck sake!


Reply With Quote
