[OpenAFS-devel] 1.4.2-beta2 fails to build on 2.4 kernel (FC1)
Derek Atkins
warlord@MIT.EDU
Wed, 12 Jul 2006 12:11:00 -0400
Hi,
I was testing the 1.4.2-beta2 build on FC1 and it failed:
/usr/src/redhat/BUILD/openafs-1.4.2-beta2/src/afs/LINUX/osi_vnodeops.c: In function `afs_linux_lock':
/usr/src/redhat/BUILD/openafs-1.4.2-beta2/src/afs/LINUX/osi_vnodeops.c:473: error: too few arguments to function `posix_lock_file_R3e30ef09'
make[4]: *** [osi_vnodepos.o] Error 1
make[4]: Leaving directory `/usr/src/redhat/BUILD/openafs-1.4.2-beta2/src/libafs/MODLOAD-2.4.22-1.2115.nptl-SP'
include/linux/fs.h contains:
extern int posix_lock_file(struct file *, struct file_lock *, unsigned int);
osi_vnodeops.c contains the following at line 473:
code = posix_lock_file(fp, &flp2);
So it's clearly missing the third (unsigned int) argument. I've no clue
what this argument is supposed to be.
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord@MIT.EDU PGP key available