[OpenAFS] Compiling afs module on sparc64

Gunnar Krull gklists@cs.uni-goettingen.de
Mon, 6 Nov 2006 13:17:10 +0100


Hi,

I'm trying to compile the openafs module without success on a dual sparc64 Sun server running Debian Etch.
With version 1.4.2 and 1.5.10 a make shows me this error message:


echo 'char* AFSVersion = "openafs 1.5.8"; ' >>/tmp/openafs/openafs-1.5.10/openafs-1.5.10/src/libafs/MODLOAD-2.6.18-1-sparc64-smp-MP/AFS_component_version_number.c
  CC [M]  /tmp/openafs/openafs-1.5.10/openafs-1.5.10/src/libafs/MODLOAD-2.6.18-1-sparc64-smp-MP/AFS_component_version_number.o
  LD [M]  /tmp/openafs/openafs-1.5.10/openafs-1.5.10/src/libafs/MODLOAD-2.6.18-1-sparc64-smp-MP/libafs.o
  LD [M]  /tmp/openafs/openafs-1.5.10/openafs-1.5.10/src/libafs/MODLOAD-2.6.18-1-sparc64-smp-MP/afspag.o
  Building modules, stage 2.
  MODPOST
FATAL: modpost: GPL-incompatible module libafs.ko uses GPL-only symbol 'sys_call_table'


The same result with smp kernel 2.6.17 and 2.6.18.
Is there a way to compile the afs module on this system?

Thanks for any suggestions!
Gunnar