[uClinux-dev] insmod fails with Unknown symbol

Gavin Lambert gavinl at compacsort.com
Tue Oct 2 19:48:35 EDT 2007


Quoth chris brooke:
> When the module is compiled with a "Proprietary" license insmod fails with

> an unknown symbol:
[...]
> However when the module is compiled with a "Dual BSD/GPL" license there is

> no such problem:
> /mnt/code/gp/module> insmod gp.ko
> gp_init_hw
> /gp_init_hw
> 
> Why is the proprietary license causing the Unknown symbol problem?

Only GPL-licensed modules are allowed to call symbols exported as GPL-only.

> How can I fix it?

Either:

1. modify your module to call unrestricted symbols instead.
2. make your module GPL-licensed instead of proprietary.
3. create a GPL-licensed module that uses the GPL-only symbols and make your
proprietary driver talk through that module.





More information about the uClinux-dev mailing list