[OpenAFS] Compiling error with 1.3.82 on gentoo 2.6.11-r7 kernel

Alexander J Pierce apierce@boi.hp.com
Fri, 06 May 2005 12:43:38 -0600


I saw this error once before, ack around 1.3.77 i think, but CVS back
then fixed it for me.  Now it appears to be back:

 CC
[M]  /junk/openafs-1.3.82/src/libafs/MODLOAD-2.6.11-gentoo-r7-MP/rx_kmutex.o
In file included from /junk/openafs-1.3.82/src/rx/rx_kcommon.h:140,

from /junk/openafs-1.3.82/src/libafs/MODLOAD-2.6.11-gentoo-r7-MP/rx_kmutex.c:22:
/junk/openafs-1.3.82/src/afs/sysincludes.h:79: error: redefinition of
‘struct coda_inode_info’
/junk/openafs-1.3.82/src/afs/sysincludes.h:82: error: redefinition of
‘struct xfs_inode_info’
make[6]: ***
[/junk/openafs-1.3.82/src/libafs/MODLOAD-2.6.11-gentoo-r7-MP/rx_kmutex.o] Error 1
make[5]: ***
[_module_/junk/openafs-1.3.82/src/libafs/MODLOAD-2.6.11-gentoo-r7-MP]
Error 2
make[5]: Leaving directory `/usr/src/linux-2.6.11-gentoo-r7'
make[4]: *** [libafs.ko] Error 2
make[4]: Leaving directory
`/junk/openafs-1.3.82/src/libafs/MODLOAD-2.6.11-gentoo-r7-MP'

Any ideas what is going on around here?  I am not really much of a
coder, but does the afs kernel modules overload some OS stuff for being
able to run w/ cache on a journaled FS?  Or does it just include it's
own struct info as opposed to using the info in the kernel headers?