[OpenAFS-devel] Building cvs head on Linux 2.6

Ian Delahorne ian@assv.net
Sat, 29 May 2004 04:06:07 +0200


I'm trying to build openafs from the cvs head on Linux 2.6 (after
building a working Arla, PAGs and all :-)

Everything goes fine until the following compile error:

/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c: In function `afs_linux_write':
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:193: warning: passing arg 3 of `setup_uio' discards qualifiers from pointer target type
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c: In function `afs_linux_dentry_revalidate':
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:875: warning: passing arg 2 of `Check_AtSys' discards qualifiers from pointer target type
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c: At top level:
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:957: warning: initialization from incompatible pointer type
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c: In function `afs_linux_create':
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:995: warning: passing arg 2 of `afs_create' discards qualifiers from pointer target type
/home/ian/openaf/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c: At top level:
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1642: warning: initialization from incompatible pointer type
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1660: warning: initialization from incompatible pointer type
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1677: warning: initialization from incompatible pointer type
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1678: warning: initialization from incompatible pointer type
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1690: warning: initialization from incompatible pointer type
make[1]: *** [osi_vnodeops.o] Error 1
s/src/afs/LINUX/osi_vnodeops.c: In function `afs_linux_readpage':
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1383: error: structure has no member named `count'
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c: In function `afs_linux_writepage_sync':
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1527: error: structure has no member named `count'
/home/ian/openafs/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c: At top level:
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1642: warning: initialization from incompatible pointer type
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1660: warning: initialization from incompatible pointer type
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1677: warning: initialization from incompatible pointer type
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1678: warning: initialization from incompatible pointer type
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1690: warning: initialization from incompatible pointer type
make[1]: *** [osi_vnodeops.o] Error 1
/src/afs/LINUX/osi_vnodeops.c:1549: error: structure has no member named `count'
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c: At top level:
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1642: warning: initialization from incompatible pointer type
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1660: warning: initialization from incompatible pointer type
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1677: warning: initialization from incompatible pointer type
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1678: warning: initialization from incompatible pointer type
/home/ian/openafs/src/afs/LINUX/osi_vnodeops.c:1690: warning: initialization from incompatible pointer type
make[1]: *** [osi_vnodeops.o] Error 1

/Ian