64 bit compile fails on Solaris 9
Hwntw
hwntw at hotmail.com
Wed Feb 4 08:13:52 EST 2004
I have successfully compiled Kerberos 1.3.3 without the -m64 flag. But when
I try it with with these configure options
(./configure --without-krb4 --enable-dns --enable-dns-for-realm CC=gcc
LD=/usr/ccs/bin/ld AR=/usr/ccs/bin/ar CFLAGS=-m64) it fails. Error msg
sample below:
m64 -c aes-gen.c
gcc -o aes-gen aes-gen.o aescrypt.o aestab.o aeskey.o
ld: fatal: file aes-gen.o: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to aes-gen
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `aes-gen'
It chugs away for a good bit before coming to a stop. GCC -v gives- Reading
specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3.2/specs
Configured with:
../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-n
ls --disable-libgcj --enable-languages=c,c++ : (reconfigured)
../configure --with-as=/usr/ccs/bin/as --with-ld=/usr/ccs/bin/ld --disable-n
ls --disable-libgcj --enable-languages=c,c++
Thread model: posix
gcc version 3.3.2
Anyone able to spot what is wrong here?
TIA
Hwntw
More information about the Kerberos
mailing list