[OpenAFS] error compiling osi_groups.c on dual AMD64 system

Lewis, Dave LEWIS@NKI.RFMH.ORG
Wed, 14 Jul 2004 18:58:29 -0400


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C469F6.14434240
Content-Type: text/plain;
	charset="iso-8859-1"

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
...

dave@neo:~/openafs-1.2.11> ./configure --enable-transarc-paths
...

dave@neo:~/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

------_=_NextPart_001_01C469F6.14434240
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
5.5.2653.12">
<TITLE>error compiling osi_groups.c on dual AMD64 system</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>Hi,</FONT>
</P>

<P><FONT SIZE=3D2>I tried compiling the 1.2.11 AFS client on a SuSE 9.0 =
</FONT>
<BR><FONT SIZE=3D2>Linux computer with dual 64-bit AMD Opteron =
processors. </FONT>
<BR><FONT SIZE=3D2>It crashes while trying to compile =
src/libafs/osi_groups.c.</FONT>
</P>

<P><FONT SIZE=3D2>&gt; uname -a</FONT>
<BR><FONT SIZE=3D2>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</FONT>
</P>

<P><FONT SIZE=3D2>neo:/usr/src/linux-2.4.21-211 # make cloneconfig &gt; =
.config</FONT>
<BR><FONT SIZE=3D2>neo:/usr/src/linux-2.4.21-211 # make dep</FONT>
<BR><FONT SIZE=3D2>...</FONT>
</P>

<P><FONT SIZE=3D2>dave@neo:~/openafs-1.2.11&gt; ./configure =
--enable-transarc-paths</FONT>
<BR><FONT SIZE=3D2>...</FONT>
</P>

<P><FONT SIZE=3D2>dave@neo:~/openafs-1.2.11&gt; make</FONT>
<BR><FONT SIZE=3D2>...</FONT>
<BR><FONT SIZE=3D2>Building in directory: =
MODLOAD-2.4.21-211-smp-MP</FONT>
<BR><FONT SIZE=3D2>make[4]: Entering directory =
`/home/dave/openafs-1.2.11/src/libafs/MODLOAD-2.4.21-211-smp-MP'</FONT>
<BR><FONT SIZE=3D2>...</FONT>
<BR><FONT SIZE=3D2>gcc&nbsp; -O2 -fomit-frame-pointer =
-fno-strength-reduce -fno-strict-aliasing -fno-common -pipe =
-mcmodel=3Dkernel -D__KERNEL__ -DKERNEL -D_KERNEL -DMODULE =
-DAFS_SMP&nbsp;&nbsp; -I. -I../ -I/home/dave/openafs-1.2.11/src/config =
-c ../afs/osi_groups.c</FONT></P>

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

<P><FONT SIZE=3D2>Can someone help?</FONT>
</P>

<P><FONT SIZE=3D2>Thanks,</FONT>
<BR><FONT SIZE=3D2>Dave</FONT>
<BR><FONT =
SIZE=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D</FONT>
<BR><FONT SIZE=3D2>David P. Lewis</FONT>
<BR><FONT SIZE=3D2>Center for Advanced Brain Imaging, Division of =
Medical Physics</FONT>
<BR><FONT SIZE=3D2>The Nathan S. Kline Institute for Psychiatric =
Research</FONT>
<BR><FONT SIZE=3D2>140 Old Orangeburg Road, Orangeburg, NY 10962</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C469F6.14434240--