Re: GPLONLY kernel symbols???

Keith Owens
2001-10-17T02:17:44Z

On Tue, 16 Oct 2001 09:27:55 -0700 (PDT),
Christoph Lameter <christoph@lameter.com> wrote:
>I just tried to load the loop driver in 2.4.11
>
>devel:/home/christoph/devel/bf/boot-floppies# insmod loop
>Using /lib/modules/2.4.11/kernel/drivers/block/loop.o
>/lib/modules/2.4.11/kernel/drivers/block/loop.o: unresolved symbol
>invalidate_bdev
>/lib/modules/2.4.11/kernel/drivers/block/loop.o: Note: modules without a
>GPL compatible license cannot use GPLONLY_ symbols
>
>What is THAT?

If a symbol has been exported with EXPORT_SYMBOL_GPL then it appears as
unresolved for modules that do not have a GPL compatible MODULE_LICENCE
string. So when a module without a GPL compatible MODULE_LICENCE gets
an unresolved symbol, I print that message as a hint to the user. I
thought the response was obvious, but looks like I need to expand the
hint text even further.

Note: modules without a GPL compatible license cannot use GPLONLY_ symbols.
This may or may not be your problem, there can be other reasons
for unresolved symbols.