[OpenAFS] kerner modules fail to compile on 2.6.9-1.675_EL
Grant Williamson
traxtopel@fastmail.fm
Fri, 26 Nov 2004 16:26:00 +0100
Hi seem to have some issues compiling openafs 1.3.74 against latest
rhel4 test kernel "2.6.9-1.675_EL",
same build worked on "2.6.9-1.648_EL". Any ideas what may be causing the
problem?
The rest of openafs compiles fine, this is purely the kernel-modules
that fail.
CC [M]
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.o
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:
In function `afs_linux_read':
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:87:
warning: unused variable `oldOffset'
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:
In function `afs_linux_write':
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:196:
warning: passing arg 3 of `setup_uio' discards qualifiers from pointer
target type
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:148:
warning: 'code2' might be used uninitialized in this function
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:
In function `afs_linux_readdir':
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:336:
warning: implicit declaration of function `BlobScan'
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:350:
warning: unsigned int format, pointer arg (arg 2)
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:
In function `afs_linux_vma_close':
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:489:
warning: label `unlock_exit' defined but not used
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:
In function
`afs_linux_revalidate':/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:795:
warning: implicit declaration of function `vcache2fakeinode'
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:
In function `afs_linux_dentry_revalidate':
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:879:
warning: passing arg 2 of `Check_AtSys' discards qualifiers from pointer
target type
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:847:
warning: 'name' might be used uninitialized in this function
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:
At top level:
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:969:
warning: initialization from incompatible pointer type
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:
In function `afs_linux_create':
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:1007:
warning: passing arg 2 of `afs_create' discards qualifiers from pointer
target type
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:1010:
warning: implicit declaration of function `vattr2inode'
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:994:
warning: unused variable
`excl'/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:
In function `afs_linux_readpage':
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:1461:
warning: implicit declaration of function `afs_PrefetchChunk'
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:
In function `afs_linux_writepage':
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:1502:
warning: implicit declaration of function `afs_linux_writepage_sync'
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:
At top level:
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:1671:
warning: initialization from incompatible pointer type
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:1689:
warning: initialization from incompatible pointer type
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:1706:
warning: initialization from incompatible pointer type
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:1707:
warning: initialization from incompatible pointer type
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:1719:
warning: initialization from incompatible pointer type
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:1765:
error: `page_follow_link' undeclared here (not in a function)
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:1765:
error: initializer element is not constant
/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.c:1765:
error: (near initialization for `afs_symlink_iops.follow_link')
make[6]: ***
[/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP/osi_vnodeops.o]
Error 1
make[5]: ***
[_module_/usr/src/redhat/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP]
Error 2
make[5]: Leaving directory `/usr/src/kernels/2.6.9-1.675_EL-i686'
make[4]: *** [libafs.ko] Error 2
make[4]: Leaving directory
`/mnt/mirror/DEFAULTS-OLD/redhat-rhel4/BUILD/openafs-1.3.74/src/libafs/MODLOAD-2.6.9-1.675_EL-UP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory
`/mnt/mirror/DEFAULTS-OLD/redhat-rhel4/BUILD/openafs-1.3.74/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory
`/mnt/mirror/DEFAULTS-OLD/redhat-rhel4/BUILD/openafs-1.3.74'
make[1]: *** [build] Error 2
make[1]: Leaving directory
`/mnt/mirror/DEFAULTS-OLD/redhat-rhel4/BUILD/openafs-1.3.74'
make: *** [only_libafs] Error 2