[OpenAFS] Compile OpenAFS 1.4.8 for AIX 6.1

Karen L Eldredge keldredg@us.ibm.com
Fri, 5 Dec 2008 14:36:56 -0700


--0__=08BBFF85DFE741CF8f9e8a93df938690918c08BBFF85DFE741CF
Content-type: text/plain; charset=US-ASCII
Content-transfer-encoding: quoted-printable



I was able to compile OpenAFS 1.4.8 for AIX 6.1, but in order to get it=
 to
work we changed the src/tsm41/Makefile case statement to read as follow=
s:

aix_auth.o:
        case ${SYS_NAME} in \
        rs_aix4*) \
                ${CC} ${CFLAGS} -c ${srcdir}/aix41_auth.c -o $@ ;; \
        rs_aix5* | rs_aix6*) \
                ${CC} ${CFLAGS} -c ${srcdir}/aix5_auth.c -o $@ ;; \
        *) \
                echo "not building aix lam binary for ${SYS_NAME}" ;; \=

        esac

Instead of  "rs_aix5"  we used  "rs_aix5* | rs_aix6*",  and still used
aix5_auth.c.   Are  we suppose to use aix5_auth.c  for AIX 6.1, or is t=
here
another aixX_auth.c that we should use for rs_aix6*?=

--0__=08BBFF85DFE741CF8f9e8a93df938690918c08BBFF85DFE741CF
Content-type: text/html; charset=US-ASCII
Content-Disposition: inline
Content-transfer-encoding: quoted-printable

<html><body>
<p>I was able to compile OpenAFS 1.4.8 for AIX 6.1, but in order to get=
 it to work we changed the src/tsm41/Makefile case statement to read as=
 follows:<br>
<br>
<tt>aix_auth.o:<br>
 &nbsp; &nbsp; &nbsp; &nbsp;case ${SYS_NAME} in \<br>
 &nbsp; &nbsp; &nbsp; &nbsp;rs_aix4*) \<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;${CC} ${CFLAGS}=
 -c ${srcdir}/aix41_auth.c -o $@ ;; \<br>
 &nbsp; &nbsp; &nbsp; &nbsp;rs_aix5* | rs_aix6*) \<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;${CC} ${CFLAGS}=
 -c ${srcdir}/aix5_auth.c -o $@ ;; \<br>
 &nbsp; &nbsp; &nbsp; &nbsp;*) \<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;echo &quot;not =
building aix lam binary for ${SYS_NAME}&quot; ;; \<br>
 &nbsp; &nbsp; &nbsp; &nbsp;esac</tt><br>
<br>
Instead of <tt>&nbsp;&quot;rs_aix5</tt>&quot;  we used <tt>&nbsp;&quot;=
rs_aix5* | rs_aix6*</tt>&quot;,  and still used <tt>aix5_auth.c</tt>.  =
 Are  we suppose to use <tt>aix5_auth.c</tt>  for AIX 6.1, or is there =
another aixX_auth.c that we should use for rs_aix6*?  <br>
</body></html>=

--0__=08BBFF85DFE741CF8f9e8a93df938690918c08BBFF85DFE741CF--