[OpenAFS-devel] AIX build works!

Daria Phoebe Brashear shadow@gmail.com
Thu, 8 Sep 2022 12:41:12 -0400


On Wed, Aug 24, 2022 at 2:07 PM Ben Huntsman (ben@huntsmans.net)
<ben@huntsmans.net> wrote:
>
> Hi everyone-
>    With the last change I put up on gerrit this morning, the AIX build co=
mpletes on AIX 6.1 6100-09-12!  And, while I'm still trying to get the Kerb=
reos setup ironed out, loading the kernel extension and starting afsd doesn=
't cause a panic anymore!  So it appears to be mostly working!
>
>    The one odd thing I did have to do is to manually add "-lk5crypto" to =
the Kerberos libs in src/config/Makefile.config, as I couldn't get the conf=
igure script to detect it properly.  I'm not sure if that's an issue with I=
BM's Kerberos implementation, or with the OpenAFS configure script...

At a guess, you need to either make krb5-config return 32 bit libpaths
first, or force your compiler and linker to be in 64 bit mode (e.g.
xlc_r -Wc,lp64 -Wl,lp64, ld -b64, gcc -maix64). Otherwise, the
configure tests throw errors which get sensed as the symbol not being
detected instead of what they actually are.

--=20
Daria Phoebe Brashear
AuriStor, Inc
dariaphoebe.com