Compiling krb5 1.18.2 on AIX 7.1
Louis Fernandez
lfernand at epic.com
Fri Aug 21 15:30:56 EDT 2020
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
More information about the krbdev
mailing list