Openafs kernel modules fails during modpost on 2.6.24 on sparc
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openafs (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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".
--------
non-void function
LD [M] /usr/src/
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
If anyone runs into this bug like I did, the workaround is explained at https:/ /bugs.launchpad .net/ubuntu/ +source/ openafs/ +bug/129480/ comments/ 1