[OpenAFS] compile aix 4.33

Sven Oehme oehmes@de.ibm.com
Thu, 20 Feb 2003 13:16:51 +0100


This is a multipart message in MIME format.
--=_alternative 00436640C1256CD3_=
Content-Type: text/plain; charset="US-ASCII"

hy , 

only for your information , the cause of the error was , that gcc 3.2.1 
was compiled , before i made the upgrade to ML 10 . i recompiled gcc and 
now it's working ..

Sven





Sven Oehme/Germany/IBM@IBMDE
Sent by: openafs-info-admin@openafs.org
02/18/2003 06:36 PM
 
        To:     openafs-info@openafs.org
        cc:     Horst Birthelmer/Germany/IBM@IBMDE
        Subject:        [OpenAFS] compile aix 4.33



hy , 

i try to compile the 1.2.8 source tarball of openafs under aix 4.3.3 ML 10 


i get the following last lines of errors : 


        make build 
        make finale DEST=/home/root/afs/openafs-1.2.8/rs_aix42/dest 
COMPILE_PART2B=all DESTDIR= 
        cd src; cd config ; make all 
        make -f Makefile.version AFS_component_version_number.c 
Target "AFS_component_version_number.c" is up to date. 
        gcc -g -I/home/root/afs/openafs-1.2.8/include -K -D_NO_PROTO 
-D_NONSTD_TYPES -D_MBI=void -c config.c 
gcc: unrecognized option `-K' 
        gcc -g -I/home/root/afs/openafs-1.2.8/include -K -D_NO_PROTO 
-D_NONSTD_TYPES -D_MBI=void -o config config.o mc.o 
gcc: unrecognized option `-K' 
        rm -f ../libuafs/afs/AFS_component_version_number.c; cp 
AFS_component_version_number.c 
../libuafs/afs/AFS_component_version_number.c 
        rm -f ../libafs/afs/AFS_component_version_number.c; cp 
AFS_component_version_number.c 
../libafs/afs/AFS_component_version_number.c 
Target "all" is up to date. 
        cd src; cd pinstall ; make all 
Target "all" is up to date. 
        cd src; cd procmgmt ; make all 
Target "all" is up to date. 
        cd src; cd util ; make all 
Target "all" is up to date. 
        cd src; cd comerr ; make all 
Target "all" is up to date. 
Target "all" is up to date. 
        cd src; cd des ; make all 
Target "all" is up to date. 
        cd src; cd lwp ; make all 
        case "rs_aix42" in  rs_aix*)  gcc 
-I/home/root/afs/openafs-1.2.8/src/config 
-I/home/root/afs/openafs-1.2.8/include -c lwp.c;;  *)   gc -O 
-I/home/root/afs/openafs-1.2.8/src/config 
-I/home/root/afs/openafs-1.2.8/include -K -D_NO_PROTO -D_NONSTD_TYPES 
-D_MBI=void -c lwp.c;;  sac 
In file included from /usr/include/sys/user.h:77, 
                 from lwp.c:33: 
/usr/include/sys/proc.h:203: parse error before "crid_t" 
/usr/include/sys/proc.h:212: parse error before "p_class" 
/usr/include/sys/proc.h:355: parse error before '}' token 
make: 1254-004 The error code from the last command is 1. 


Stop. 
make: 1254-004 The error code from the last command is 2. 


Stop. 
make: 1254-004 The error code from the last command is 2. 


Stop. 
make: 1254-004 The error code from the last command is 2. 


Stop. 
root@afs433test : /home/root/afs/openafs-1.2.8 641 > 





any ideas ? 


Sven 

--=_alternative 00436640C1256CD3_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">hy , </font>
<br>
<br><font size=2 face="sans-serif">only for your information , the cause
of the error was , that gcc 3.2.1 was compiled , before i made the upgrade
to ML 10 . i recompiled gcc and now it's working ..</font>
<br>
<br><font size=2 face="sans-serif">Sven</font>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td>
<td><font size=1 face="sans-serif"><b>Sven Oehme/Germany/IBM@IBMDE</b></font>
<br><font size=1 face="sans-serif">Sent by: openafs-info-admin@openafs.org</font>
<p><font size=1 face="sans-serif">02/18/2003 06:36 PM</font>
<td><font size=1 face="Arial">&nbsp; &nbsp; &nbsp; &nbsp; </font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; To:
&nbsp; &nbsp; &nbsp; &nbsp;openafs-info@openafs.org</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cc:
&nbsp; &nbsp; &nbsp; &nbsp;Horst Birthelmer/Germany/IBM@IBMDE</font>
<br><font size=1 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; Subject:
&nbsp; &nbsp; &nbsp; &nbsp;[OpenAFS] compile aix 4.33</font></table>
<br>
<br>
<br><font size=2 face="sans-serif"><br>
hy , </font><font size=3><br>
</font><font size=2 face="sans-serif"><br>
i try to compile the 1.2.8 source tarball of openafs under aix 4.3.3 ML
10</font><font size=3> <br>
</font><font size=2 face="sans-serif"><br>
i get the following last lines of errors : </font><font size=3><br>
<br>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;make build</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;make finale DEST=/home/root/afs/openafs-1.2.8/rs_aix42/dest
COMPILE_PART2B=all DESTDIR=</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;cd src; cd config ; make all</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;make -f Makefile.version AFS_component_version_number.c</font><font size=3>
</font><font size=2 face="sans-serif"><br>
Target &quot;AFS_component_version_number.c&quot; is up to date.</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;gcc -g -I/home/root/afs/openafs-1.2.8/include
-K -D_NO_PROTO -D_NONSTD_TYPES -D_MBI=void -c config.c</font><font size=3>
</font><font size=2 face="sans-serif"><br>
gcc: unrecognized option `-K'</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;gcc -g -I/home/root/afs/openafs-1.2.8/include
-K -D_NO_PROTO -D_NONSTD_TYPES -D_MBI=void -o config config.o mc.o</font><font size=3>
</font><font size=2 face="sans-serif"><br>
gcc: unrecognized option `-K'</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;rm -f ../libuafs/afs/AFS_component_version_number.c;
cp AFS_component_version_number.c ../libuafs/afs/AFS_component_version_number.c</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;rm -f ../libafs/afs/AFS_component_version_number.c;
cp AFS_component_version_number.c ../libafs/afs/AFS_component_version_number.c</font><font size=3>
</font><font size=2 face="sans-serif"><br>
Target &quot;all&quot; is up to date.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;cd src; cd pinstall ; make all</font><font size=3>
</font><font size=2 face="sans-serif"><br>
Target &quot;all&quot; is up to date.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;cd src; cd procmgmt ; make all</font><font size=3>
</font><font size=2 face="sans-serif"><br>
Target &quot;all&quot; is up to date.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;cd src; cd util ; make all</font><font size=3>
</font><font size=2 face="sans-serif"><br>
Target &quot;all&quot; is up to date.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;cd src; cd comerr ; make all</font><font size=3>
</font><font size=2 face="sans-serif"><br>
Target &quot;all&quot; is up to date.</font><font size=3> </font><font size=2 face="sans-serif"><br>
Target &quot;all&quot; is up to date.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;cd src; cd des ; make all <br>
Target &quot;all&quot; is up to date.</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;cd src; cd lwp ; make all</font><font size=3>
</font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp;case &quot;rs_aix42&quot; in &nbsp;rs_aix*)
&nbsp;gcc -I/home/root/afs/openafs-1.2.8/src/config -I/home/root/afs/openafs-1.2.8/include
-c lwp.c;; &nbsp;*) &nbsp; gc -O -I/home/root/afs/openafs-1.2.8/src/config
-I/home/root/afs/openafs-1.2.8/include -K -D_NO_PROTO -D_NONSTD_TYPES -D_MBI=void
-c lwp.c;; &nbsp;sac</font><font size=3> </font><font size=2 face="sans-serif"><br>
In file included from /usr/include/sys/user.h:77,</font><font size=3> </font><font size=2 face="sans-serif"><br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; from lwp.c:33:</font><font size=3>
</font><font size=2 face="sans-serif"><br>
/usr/include/sys/proc.h:203: parse error before &quot;crid_t&quot;</font><font size=3>
</font><font size=2 face="sans-serif"><br>
/usr/include/sys/proc.h:212: parse error before &quot;p_class&quot;</font><font size=3>
</font><font size=2 face="sans-serif"><br>
/usr/include/sys/proc.h:355: parse error before '}' token</font><font size=3>
</font><font size=2 face="sans-serif"><br>
make: 1254-004 The error code from the last command is 1.</font><font size=3>
<br>
<br>
</font><font size=2 face="sans-serif"><br>
Stop.</font><font size=3> </font><font size=2 face="sans-serif"><br>
make: 1254-004 The error code from the last command is 2.</font><font size=3>
<br>
<br>
</font><font size=2 face="sans-serif"><br>
Stop.</font><font size=3> </font><font size=2 face="sans-serif"><br>
make: 1254-004 The error code from the last command is 2.</font><font size=3>
<br>
<br>
</font><font size=2 face="sans-serif"><br>
Stop.</font><font size=3> </font><font size=2 face="sans-serif"><br>
make: 1254-004 The error code from the last command is 2.</font><font size=3>
<br>
<br>
</font><font size=2 face="sans-serif"><br>
Stop.</font><font size=3> </font><font size=2 face="sans-serif"><br>
root@afs433test : /home/root/afs/openafs-1.2.8 641 &gt; </font><font size=3><br>
<br>
<br>
<br>
<br>
</font><font size=2 face="sans-serif"><br>
any ideas ?</font><font size=3> <br>
<br>
</font><font size=2 face="sans-serif"><br>
Sven</font><font size=3> </font>
<br>
--=_alternative 00436640C1256CD3_=--