Re: GPL-incompatible Module Error Message

From: Adrian Bunk
Date: Fri Apr 20 2007 - 08:07:44 EST


On Fri, Apr 20, 2007 at 03:47:27AM +0200, Andi Kleen wrote:
> Chris Bergeron <chris@xxxxxxxxxx> writes:
>
> > Hello all,
> >
> > Building the fglrx module against the current Linux kernel (2.6.20.7
> > as of this e-mail) I'm getting an error:
> >
> > FATAL: modpost: GPL-incompatible module fglrx.ko uses GPL-only symbol
> > 'paravirt_ops'
>
> It should probably be available for non GPL modules too. Otherwise
> they can't even disable interrupts, which seems a bit extreme.
> I will change that in my tree.

Don't do this, this would allow non-GPL modules write access to
paravirt_ops.

Operations required by modules should be exported separately.

> -Andi

cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/