Re: AIX build works!

Ben Huntsman <[email protected]>
Newsgroups gmane.comp.file-systems.openafs.devel
Message-ID <MWHPR0701MB367406CFC99DC9538E384132A7439@MWHPR0701MB3674.namprd07.prod.outlook.com>
Hi there-
   I think there's more to it than that.  First of all, IBM doesn't provide a krb5-config script with their kerberos.  And if you run nm on libk5crypto.a, it's not wrong that the symbol it's looking for .krb5int_hash_md5 isn't there, just krb5int_hash_md5 without the dot.  I will keep looking at it, especially if the AIX build changes get merged.

Thank you!

-Ben

________________________________
From: Daria Phoebe Brashear <[email protected]>
Sent: Thursday, September 8, 2022 9:41 AM
To: Ben Huntsman <[email protected]>
Cc: [email protected] <[email protected]>
Subject: Re: [OpenAFS-devel] AIX build works!

On Wed, Aug 24, 2022 at 2:07 PM Ben Huntsman ([email protected])
<[email protected]> wrote:
>
> Hi everyone-
>    With the last change I put up on gerrit this morning, the AIX build completes on AIX 6.1 6100-09-12!  And, while I'm still trying to get the Kerbreos 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 configure script to detect it properly.  I'm not sure if that's an issue with IBM'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.

--
Daria Phoebe Brashear
AuriStor, Inc
dariaphoebe.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.