[OpenAFS-devel] Kernel modules fails on sparc64 2.6.24: ioctl32.h does not exist

Johan Christiansen johan@jdc-consult.dk
Thu, 10 Jan 2008 02:35:08 +0100


Openafs kernel module fails to build on sparc64 linux 2.6.24 and 2.6.22,
since it includes a file no longer existing in the linux headers!
error: linux/ioctl32.h: No such file or directory In file included
from /usr/src/modules/openafs/src/libafs/MODLOAD-2.6.22-14-sparc64-smp-MP/osi_module.c:42:
Creating an empty file called ioctl32.h seems to solve the problem
temporarily. But obviously openafs should fix this upstream, i quess the
fix is to change ioctl32.h to ioctl.h.

I can't figure out how your bug-tracker is working, so i created it in
Ubuntu like i'm used to:
https://bugs.launchpad.net/ubuntu/+source/openafs/+bug/181661

Hope this simple annoyance can be removed and includd in an upstream
bugfixrelease for 1.4.6 before the release of hardy so the kernel
modules will build for sparc64.

Best regards,
Johan.