Re: Compiling krb5 1.18.2 on AIX 7.1
Norm Green <[email protected]>
| Newsgroups | gmane.comp.encryption.kerberos.devel |
|---|---|
| Message-ID | <[email protected]> |
On AIX, you should always link with the compiler, in this case, xlc_r . Calling ld directly is a bad idea. Not sure if this is causing your problem. Norm Green On 8/21/20 12:30 PM, Louis Fernandez wrote: > 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 [email protected] > https://mailman.mit.edu/mailman/listinfo/krbdev _______________________________________________ krbdev mailing list [email protected] https://mailman.mit.edu/mailman/listinfo/krbdev