[OpenAFS-devel] GPL-incompatible module during modpost on 2.6.24 on sparc
Johan Christiansen
johan@jdc-consult.dk
Thu, 10 Jan 2008 02:45:04 +0100
This is the second build error on sparc64 with 2.6.24. Somehow the
sys_call_table invalidates some GPL stuff that gets rejected during
modpost after the modules complete building.
Hacking the modpost.c application in the linux headers to ignore this
circumvents the problem.
And along with the ioctl32.h fix that i posted 10 mins ago, the modules
actually build and works on sparc64.
I hope these "simple" bugfixes can be included in an upstream bugfix
release and include before hardy heron goes "hard".
Bugreport here:
https://bugs.launchpad.net/ubuntu/+source/openafs/+bug/181664
--------
non-void function
LD
[M] /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.22-14-sparc64-smp-MP/openafs.o
Building modules, stage 2.
MODPOST 1 modules
FATAL: modpost: GPL-incompatible module openafs.ko uses GPL-only symbol
'sys_call_table'
make[7]: *** [__modpost] Error 1
make[6]: *** [modules] Error 2