[OpenAFS] compiling 1.2.13 for RHEL 3 amd64/x86_64
David Botsch
dwb7@ccmr.cornell.edu
Wed, 8 Dec 2004 13:30:16 -0500
See openafs bug #16022 for patches to the rpm spec file which will solve the
below (and other problems) that pop up when trying to compile.
On Wed, Dec 08, 2004 at 01:11:54PM -0500, Derrick J Brashear wrote:
> On Wed, 8 Dec 2004, Lee Damon wrote:
>
> >gcc -O2 -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing
> >-fno-common -pipe -mcmodel=kernel -D__KERNEL__ -DKERNEL -D_KERNEL -DMODULE
> >-DREDHAT_FIX -I. -I../ -I/tmp/rpmbuild/openafs-1.2.13/src/config -c
> >../afs/osi_groups.c
> >../afs/osi_groups.c:181: syntax error before "old_gid_t"
> >../afs/osi_groups.c:182: syntax error before "old_gid_t"
> >../afs/osi_groups.c: In function `afs32_xsetgroups':
> >../afs/osi_groups.c:194: `gidsetsize' undeclared (first use in this
> >function)
> >../afs/osi_groups.c:194: (Each undeclared identifier is reported only once
> >../afs/osi_groups.c:194: for each function it appears in.)
> >../afs/osi_groups.c:194: `grouplist' undeclared (first use in this
> >function)
> []
> >This compile is for the kernel that comes on the rhel-3-U3-x86_64-es CD.
> >For
> >reasons I'd prefer not to go into I need to get a working OpenAFS for the
> >'stock' kernel in this distro, so upgrading to whatever patch release is
> >out today isn't an option for me (sad, sad, but resolved as soon as I
> >get this working).
>
> The answer would be downgrading. This is fixed in 1.3.x but the original
> x86_64 port was for a much *older* kernel than that.
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
--
********************************
David William Botsch
Consultant/Advisor II
CCMR Computing Facility
dwb7@ccmr.cornell.edu
********************************