Hi, while compiling the OpenAFS kernel module for the latest Linux kernel, I get the following error (on Gentoo):
CC [M] /gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-SP/rx_kmutex.o /gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-SP/rx_kmutex.c: In function 'afs_mutex_enter': /gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-SP/rx_kmutex.c:48: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'struct afs_kmutex_t *' /gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-SP/rx_kmutex.c: In function 'afs_mutex_exit': /gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-SP/rx_kmutex.c:69: warning: format '%x' expects type 'unsigned int', but argument 2 has type 'struct afs_kmutex_t *' /gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-SP/rx_kmutex.c: In function 'afs_cv_wait': /gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-SP/rx_kmutex.c:125: error: 'struct task_struct' has no member named 'thread_info' make[6]: *** [/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-SP/rx_kmutex.o] Error 1 make[5]: *** [_module_/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-SP] Error 2 make[5]: Leaving directory `/usr/src/linux-2.6.22.1' make[4]: *** [libafs.ko] Error 2 make[4]: Leaving directory `/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-SP' make[3]: *** [linux_compdirs] Error 2 make[3]: Leaving directory `/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs' make[2]: *** [libafs] Error 2 make[2]: Leaving directory `/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4' make[1]: *** [build] Error 2 make[1]: Leaving directory `/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4' make: *** [only_libafs] Error 2 Bye... Dirk
signature.asc
Description: This is a digitally signed message part.