[OpenAFS] compile aix 4.33

Sven Oehme oehmes@de.ibm.com
Tue, 18 Feb 2003 18:36:21 +0100


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

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 0060B60EC1256CD1_=
Content-Type: text/html; charset="US-ASCII"


<br><font size=2 face="sans-serif">hy , </font>
<br>
<br><font size=2 face="sans-serif">i try to compile the 1.2.8 source tarball
of openafs under aix 4.3.3 ML 10</font>
<br>
<br><font size=2 face="sans-serif">i get the following last lines of errors
: </font>
<br>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; make build</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; make finale
DEST=/home/root/afs/openafs-1.2.8/rs_aix42/dest COMPILE_PART2B=all DESTDIR=</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cd src;
cd config ; make all</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; make -f
Makefile.version AFS_component_version_number.c</font>
<br><font size=2 face="sans-serif">Target &quot;AFS_component_version_number.c&quot;
is up to date.</font>
<br><font size=2 face="sans-serif">&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>
<br><font size=2 face="sans-serif">gcc: unrecognized option `-K'</font>
<br><font size=2 face="sans-serif">&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>
<br><font size=2 face="sans-serif">gcc: unrecognized option `-K'</font>
<br><font size=2 face="sans-serif">&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>
<br><font size=2 face="sans-serif">&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>
<br><font size=2 face="sans-serif">Target &quot;all&quot; is up to date.</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cd src;
cd pinstall ; make all</font>
<br><font size=2 face="sans-serif">Target &quot;all&quot; is up to date.</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cd src;
cd procmgmt ; make all</font>
<br><font size=2 face="sans-serif">Target &quot;all&quot; is up to date.</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cd src;
cd util ; make all</font>
<br><font size=2 face="sans-serif">Target &quot;all&quot; is up to date.</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cd src;
cd comerr ; make all</font>
<br><font size=2 face="sans-serif">Target &quot;all&quot; is up to date.</font>
<br><font size=2 face="sans-serif">Target &quot;all&quot; is up to date.</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cd src;
cd des ; make all </font>
<br><font size=2 face="sans-serif">Target &quot;all&quot; is up to date.</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; cd src;
cd lwp ; make all</font>
<br><font size=2 face="sans-serif">&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>
<br><font size=2 face="sans-serif">In file included from /usr/include/sys/user.h:77,</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp;from lwp.c:33:</font>
<br><font size=2 face="sans-serif">/usr/include/sys/proc.h:203: parse error
before &quot;crid_t&quot;</font>
<br><font size=2 face="sans-serif">/usr/include/sys/proc.h:212: parse error
before &quot;p_class&quot;</font>
<br><font size=2 face="sans-serif">/usr/include/sys/proc.h:355: parse error
before '}' token</font>
<br><font size=2 face="sans-serif">make: 1254-004 The error code from the
last command is 1.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Stop.</font>
<br><font size=2 face="sans-serif">make: 1254-004 The error code from the
last command is 2.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Stop.</font>
<br><font size=2 face="sans-serif">make: 1254-004 The error code from the
last command is 2.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Stop.</font>
<br><font size=2 face="sans-serif">make: 1254-004 The error code from the
last command is 2.</font>
<br>
<br>
<br><font size=2 face="sans-serif">Stop.</font>
<br><font size=2 face="sans-serif">root@afs433test : /home/root/afs/openafs-1.2.8
641 &gt; </font>
<br>
<br>
<br>
<br>
<br>
<br><font size=2 face="sans-serif">any ideas ?</font>
<br>
<br>
<br><font size=2 face="sans-serif">Sven</font>
<br>
--=_alternative 0060B60EC1256CD1_=--