Title: error compiling osi_groups.c on dual AMD64 system

Hi,

I tried compiling the 1.2.11 AFS client on a SuSE 9.0
Linux computer with dual 64-bit AMD Opteron processors.
It crashes while trying to compile src/libafs/osi_groups.c.

> uname -a
Linux neo 2.4.21-211-smp #1 SMP Fri Apr 2 21:29:13 UTC 2004 x86_64 x86_64 x86_64 GNU/Linux

neo:/usr/src/linux-2.4.21-211 # make cloneconfig > .config
neo:/usr/src/linux-2.4.21-211 # make dep
...

[EMAIL PROTECTED]:~/openafs-1.2.11> ./configure --enable-transarc-paths
...

[EMAIL PROTECTED]:~/openafs-1.2.11> make
...
Building in directory: MODLOAD-2.4.21-211-smp-MP
make[4]: Entering directory `/home/dave/openafs-1.2.11/src/libafs/MODLOAD-2.4.21-211-smp-MP'
...
gcc  -O2 -fomit-frame-pointer -fno-strength-reduce -fno-strict-aliasing -fno-common -pipe -mcmodel=kernel -D__KERNEL__ -DKERNEL -D_KERNEL -DMODULE -DAFS_SMP   -I. -I../ -I/home/dave/openafs-1.2.11/src/config -c ../afs/osi_groups.c

../afs/osi_groups.c:181: error: parse error before "old_gid_t"
../afs/osi_groups.c:182: error: parse error before "old_gid_t"
../afs/osi_groups.c: In function `afs32_xsetgroups':
../afs/osi_groups.c:194: error: `gidsetsize' undeclared (first use in this function)
../afs/osi_groups.c:194: error: (Each undeclared identifier is reported only once
../afs/osi_groups.c:194: error: for each function it appears in.)
../afs/osi_groups.c:194: error: `grouplist' undeclared (first use in this function)
make[4]: *** [osi_groups.o] Error 1
make[4]: Leaving directory `/home/dave/openafs-1.2.11/src/libafs/MODLOAD-2.4.21-211-smp-MP'
make[3]: *** [linux_compdirs] Error 2
make[3]: Leaving directory `/home/dave/openafs-1.2.11/src/libafs'
make[2]: *** [libafs] Error 2
make[2]: Leaving directory `/home/dave/openafs-1.2.11'
make[1]: *** [build] Error 2
make[1]: Leaving directory `/home/dave/openafs-1.2.11'
make: *** [all] Error 2


Can someone help?

Thanks,
Dave
==============================================================
David P. Lewis
Center for Advanced Brain Imaging, Division of Medical Physics
The Nathan S. Kline Institute for Psychiatric Research
140 Old Orangeburg Road, Orangeburg, NY 10962

Reply via email to