[20154] in Kerberos_V5_Development

home help back first fref pref prev next nref lref last post

Compiling krb5 1.18.2 on AIX 7.1

daemon@ATHENA.MIT.EDU (Louis Fernandez)
Fri Aug 21 15:31:48 2020

From: Louis Fernandez <lfernand@epic.com>
To: "krbdev@mit.edu" <krbdev@mit.edu>
Date: Fri, 21 Aug 2020 19:30:56 +0000
Message-ID: <DM6PR17MB3563F5087F3194A9638C7607B25B0@DM6PR17MB3563.namprd17.prod.outlook.com>
Content-Language: en-US
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: krbdev-bounces@mit.edu

Hello,
This topic has come up a few times in the past over the years, most recently (that I saw) was this thread: http://mailman.mit.edu/pipermail/krbdev/2019-April/013091.html. I am seeing an error that hasn't been documented in these threads, so far as I can tell.

When running the make on AIX 7.1, I get the following error:

+ /bin/ld -o k5tls.so openssl.o notls.o -H512 -T512 -bnoentry -bgcbypass:1 -bnodelcsect -bfilelist -bM:SRE -bE:./k5tls.exports -bernotok -brtl -L../../../lib -lkrb5 -lkrb5support -lssl -lcrypto -pthread -brtl -lc
ld: 0706-026 The -b filelist option is ignored.
ld: 0706-012 The -p flag is not recognized.
ld: 0706-012 The -t flag is not recognized.
ld: 0706-012 The -h flag is not recognized.
make: The error code from the last command is 255.
Stop.
make: The error code from the last command is 1.
Stop.

The steps I've taken so far:

Update krb5-1.18.2\src\config\shlib.conf
  *-*-aix5*)
    ->
  *-*-aix[567]*)

Update krb5-1.18.2\src\configure
  TLS_IMPL_LIBS="-lssl -lcrypto"
    ->
  TLS_IMPL_LIBS="-lssl -lcrypto -pthread"

Run
  export CC="xlc_r"
  ./configure CFLAGS="-qlanglvl=extc99" LDFLAGS=-brtl


I rarely run C builds, and even less frequently on AIX, so I'm not sure if I'm missing something obvious. Any advice would be appreciated.

--Louis Fernandez
_______________________________________________
krbdev mailing list             krbdev@mit.edu
https://mailman.mit.edu/mailman/listinfo/krbdev

home help back first fref pref prev next nref lref last post