Hi,

I am desperately trying to compile openssl-0.9.7b as 32bit
since we have dependencies that require it. I am running :

./Configure --prefix=/usr/pkg/openssl -shared solaris-sparcv9-gcc -m32

Everything seems to go ok until the linking blows up since
it's still makes the libs in 64 bit (errors below). I tried
hacking the Makefiles etc and it's still doing this. I have
done this before but for some reason this is not working
this time.  Any suggestions??

Thanks!

  LD_LIBRARY_PATH=..:$LD_LIBRARY_PATH \
  gcc -o openssl -DMONOLITH -I.. -I../include
-DOPENSSL_SYSNAME_ULTRASPARC -fPIC -DOPENSSL_THREADS
-D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_NO_KRB5
-m32 -m32 -mcpu=ultrasparc -O3 -fomit-frame-pointer -Wall
-DB_ENDIAN -DBN_DIV2W -DMD5_ASM openssl.o verify.o
asn1pars.o req.o dgst.o dh.o dhparam.o enc.o passwd.o
gendh.o errstr.o ca.o pkcs7.o crl2p7.o crl.o rsa.o rsautl.o
dsa.o dsaparam.o x509.o genrsa.o gendsa.o s_server.o
s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o
app_rand.o version.o sess_id.o ciphers.o nseq.o pkcs12.o
pkcs8.o spkac.o smime.o rand.o engine.o ocsp.o  -L.. -lssl
-L.. -lcrypto -lsocket -lnsl -ldl ; \
fi
ld: fatal: file ../libssl.so: wrong ELF class: ELFCLASS64
ld: fatal: file ../libcrypto.so: wrong ELF class: ELFCLASS64
ld: fatal: File processing errors. No output written to
openssl
collect2: ld returned 1 exit status
make[1]: *** [openssl] Error 1

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to