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

Lewis, Dave LEWIS@NKI.RFMH.ORG
Fri, 16 Jul 2004 19:55:14 -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_01C46B90.56934050
Content-Type: text/plain;
	charset="iso-8859-1"

I found that this had already been addressed in a previous 
email from Pavel Semerad on August 12, 2003. His patch for
sparc64_linux also works for amd64.


-----Original Message-----
From: Lewis, Dave [mailto:LEWIS@NKI.RFMH.ORG]
Sent: Wednesday, July 14, 2004 6:58 PM
To: OpenAFS-info (E-mail)
Subject: [OpenAFS] 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 
... 
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_01C46B90.56934050
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>RE: [OpenAFS] error compiling osi_groups.c on dual AMD64 =
system</TITLE>
</HEAD>
<BODY>

<P><FONT SIZE=3D2>I found that this had already been addressed in a =
previous </FONT>
<BR><FONT SIZE=3D2>email from Pavel Semerad on August 12, 2003. His =
patch for</FONT>
<BR><FONT SIZE=3D2>sparc64_linux also works for amd64.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>
<BR><FONT SIZE=3D2>From: Lewis, Dave [<A =
HREF=3D"mailto:LEWIS@NKI.RFMH.ORG">mailto:LEWIS@NKI.RFMH.ORG</A>]</FONT>=

<BR><FONT SIZE=3D2>Sent: Wednesday, July 14, 2004 6:58 PM</FONT>
<BR><FONT SIZE=3D2>To: OpenAFS-info (E-mail)</FONT>
<BR><FONT SIZE=3D2>Subject: [OpenAFS] error compiling osi_groups.c on =
dual AMD64 system</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>Hi, </FONT>
<BR><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>
<BR><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>
<BR><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>
<BR><FONT SIZE=3D2>dave@neo:~/openafs-1.2.11&gt; ./configure =
--enable-transarc-paths </FONT>
<BR><FONT SIZE=3D2>... </FONT>
<BR><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>
<BR><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_01C46B90.56934050--