[OpenAFS] Re: Openafs 1.4.4 build fails on Fedora 7

Axel Thimm openafs-info@openafs.org
Tue, 31 Jul 2007 14:39:41 +0200


--XsQoSWH+UP9D9v3l
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

On Mon, Jul 23, 2007 at 03:50:11PM -0400, Derrick Brashear wrote:
> On 7/23/07, Bruce Orchard <orchard@engr.wisc.edu> wrote:
> >
> >In the last few days, kernel 2.6.22 was released as an update for Fedora
> >7.  A build from source of Openafs 1.4.4 fails with the following messag=
e:
>=20
>=20
> We's distributing RPMs for it now. yum should be able to update you.
>=20
> (Thanks to Simon Wilkinson for, again, doing the work)

I extracted and applied the three patches

openafs-STABLE14-linux-posix-lock-file-has-wait-arg-now-20070517.patch
openafs-STABLE14-linux-2-6-22-updates-20070611.patch
openafs-STABLE14-linux-sysctl-update-20070612.patch

and I can see the configure check that indeed decides to but it still fails=
 on F7:

[...]
checking for 3rd argument in posix_lock_file found in new kernels... yes
[...]
  CC [M]  /builddir/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-33.fc7-Defaul=
t/osi_vnodeops.o
/builddir/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-33.fc7-Defau
lt/osi_vnodeops.c: In function 'afs_linux_lock':
/builddir/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-33.fc7-Default/osi_vnod=
eops.c:480: error: too few arguments to function 'posix_lock_file'
/builddir/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-33.fc7-Default/osi_vnod=
eops.c: At top level:
/builddir/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-33.fc7-Default/osi_vnod=
eops.c:638: warning: initialization from incompatible pointer type
make[6]: *** [/builddir/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-33.fc7-De=
fault/osi_vnodeops.o] Error 1
make[5]: *** [_module_/builddir/openafs-1.4.4/src/libafs/MODLOAD-2.6.22.1-3=
3.fc7-Default] Error 2
--=20
Axel.Thimm at ATrpms.net

--XsQoSWH+UP9D9v3l
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFGry2NQBVS1GOamfERAmI8AJ4xDIkmolW9ASNJjsd1kTU/VLST5gCgjBHM
Qq/kZGRwlsNzPtjL7Zp6vCs=
=FLvu
-----END PGP SIGNATURE-----

--XsQoSWH+UP9D9v3l--