[OpenAFS] OpenAFS 1.4.4 + Kernel 2.6.22.1 compile error

Dirk Heinrichs dirk.heinrichs@online.de
Fri, 13 Jul 2007 23:10:23 +0200


--nextPart3234690.jCF8oSh4Xo
Content-Type: text/plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi,

while compiling the OpenAFS kernel module for the latest Linux kernel, I ge=
t=20
the following error (on Gentoo):

  CC=20
[M]  /gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libaf=
s/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/MOD=
LOAD-2.6.22.1-SP/rx_kmutex.c:=20
In function 'afs_mutex_enter':
/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MOD=
LOAD-2.6.22.1-SP/rx_kmutex.c:48:=20
warning: format '%x' expects type 'unsigned int', but argument 2 has=20
type 'struct afs_kmutex_t *'
/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MOD=
LOAD-2.6.22.1-SP/rx_kmutex.c:=20
In function 'afs_mutex_exit':
/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MOD=
LOAD-2.6.22.1-SP/rx_kmutex.c:69:=20
warning: format '%x' expects type 'unsigned int', but argument 2 has=20
type 'struct afs_kmutex_t *'
/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MOD=
LOAD-2.6.22.1-SP/rx_kmutex.c:=20
In function 'afs_cv_wait':
/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MOD=
LOAD-2.6.22.1-SP/rx_kmutex.c:125:=20
error: 'struct task_struct' has no member named 'thread_info'
make[6]: ***=20
[/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MO=
DLOAD-2.6.22.1-SP/rx_kmutex.o]=20
Error 1
make[5]: ***=20
[_module_/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/l=
ibafs/MODLOAD-2.6.22.1-SP]=20
Error 2
make[5]: Leaving directory `/usr/src/linux-2.6.22.1'
make[4]: *** [libafs.ko] Error 2
make[4]: Leaving directory=20
`/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4/src/libafs/MO=
DLOAD-2.6.22.1-SP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory=20
`/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=20
`/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4'
make[1]: *** [build] Error 2
make[1]: Leaving directory=20
`/gentoo/build/net-fs/openafs-kernel-1.4.4/work/openafs-1.4.4'
make: *** [only_libafs] Error 2

Bye...

	Dirk

--nextPart3234690.jCF8oSh4Xo
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.5 (GNU/Linux)

iD8DBQBGl+pF8NVtnsLkZ7sRAibCAKCWho4eu2XWivPrwAp1b3HA+Gp7lACeOeuf
jBuCOYO2tsFKpHlvwNlkiPE=
=4Fe4
-----END PGP SIGNATURE-----

--nextPart3234690.jCF8oSh4Xo--