From: "Boyce, Nick" <[EMAIL PROTECTED]>

nick.boyce> I've just had a go at building OpenSSL 0.9.5a on our
nick.boyce> Digital Unix box, but the build fails, apparently with a
nick.boyce> bizarre parameter error in a linker call, thus :
nick.boyce> ===================< cut >====================
nick.boyce>    ....
nick.boyce>    ....
nick.boyce> cc -DMONOLITH -I../include -DNO_IDEA -fPIC -std1 -tune host -O4 
-readonly_strings -c smime.c
nick.boyce> cc -DMONOLITH -I../include -DNO_IDEA -fPIC -std1 -tune host -O4 
-readonly_strings -c rand.c
nick.boyce> cc -DMONOLITH -I../include -DNO_IDEA -fPIC -std1 -tune host -O4 
-readonly_strings -c openssl.c
nick.boyce> rm -f openssl
nick.boyce> cc -o openssl -DMONOLITH -I../include -DNO_IDEA -fPIC -std1 -tune host -O4 
-readonly_strings 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 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 -L. -L.. -L../.. -L../../.. -L.. -lssl -L.. -lcrypto 
nick.boyce> ld:
nick.boyce> Badly formed hex number: -std1
nick.boyce> ld: Usage: ld [options] file [...]
nick.boyce> *** Exit 1
nick.boyce> Stop.
nick.boyce> *** Exit 1
nick.boyce> Stop.
nick.boyce> ===================< cut >====================

Well, it looks like Compaq C will just ignore -fPIC when it compiles,
and try to pass it on to ld when linking is going on.  However,
there's no support for -fPIC anywhere in True64.  If you check the
manual for ld, you'll probably find a few lines about '-f fil', where
the filling is expected to be a 4-byte hex constant.

My suggestion: don't configure with -fPIC on True64.

EOL

-- 
Richard Levitte   \ Spannvägen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
Redakteur@Stacken   \      SWEDEN       \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to