[OpenAFS] Packaging OpenAFS 1.6 for Fedora 15

Simon Wilkinson sxw@inf.ed.ac.uk
Thu, 14 Apr 2011 18:28:44 +0100


On 14 Apr 2011, at 18:20, Jack Neely wrote:

> At this point the kernel module compiles but complains about GPL only
> symbols:
>=20
>    FATAL: modpost: GPL-incompatible module libafs.ko uses GPL-only
>    symbol '__init_work'
>=20
> I don't see anything in git that addresses this.  Any ideas?

You kernel is built with CONFIG_DEBUG_OBJECTS_WORK, which makes the =
whole workqueue system GPL-only. OpenAFS won't work with such a kernel. =
Typically Fedora build prerelease kernels with a lot of debugging =
enabled, which they then remove from release builds.

Cheers,

Simon.