Hi,

  I am not sure if anyone out there managed to build openssl0.9.4 on Solaris 2.5.1 
  using ecgs (gcc) compiler.

 Thats a configuration for:

Operating system: sun4u-sun-solaris2
Configuring for solaris-sparcv9-gcc

  I've tried to build with no-asm option too and it fails miserably. The
  failure is due to the link loader no recognizing the archive libraries
  libssl.a, libRSAglue.a and libcrypto.a which it created during the build.

 I would really appreciate any feed back as my earlier mail to this list did
 not meet with any response.



  Having first looked in the archive list to find reports of similar problems,
  none found hence.

  I  perform the configuration for the build as follows :


gcc -v
Reading specs from /usr/local/Gcs/lib/gcc-lib/sparc-sun-solaris2.5.1/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)

[openssl-0.9.4][53]{0}> ./config -L/usr/local/ssl/lib -fPIC rsaref --prefix=/usr/local 
--openssldir=/usr/local/openssl

Operating system: sun4u-sun-solaris2
Configuring for solaris-sparcv9-gcc

.......


then :

[openssl-0.9.4][54]{0}> gmake all >& gmake_all.out &


[openssl-0.9.4][55]{0}>tail gmake_all.out

gcc -o openssl -DMONOLITH -I../include -DTHREADS -D_REENTRANT -fPIC -DRSAref 
-mcpu=ultrasparc -O3 -fomit-fr
ame-pointer -Wall -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM openssl.o verify.o 
asn1pars.o req.o dgst.o d
h.o enc.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_se
rver.o s_client.o speed.o s_time.o apps.o s_cb.o s_socket.o version.o sess_id.o 
ciphers.o nseq.o pkcs12.o p
kcs8.o -L. -L.. -L../.. -L../../.. -L.. -lssl -L.. -lcrypto -L/usr/local/ssl/lib 
-lRSAglue -lrsaref -lsocke
t -lnsl
ld: warning: file ../libssl.a ignored: unable to locate archive symbol table
ld: warning: file ../libssl.a ignored: unable to locate archive symbol table
ld: warning: file ../libssl.a ignored: unable to locate archive symbol table
ld: fatal: file ../libcrypto.a: unknown type, unable to process using elf(3E) libraries
ld: fatal: file ../libcrypto.a: unknown type, unable to process using elf(3E) libraries
ld: fatal: file ../libcrypto.a: unknown type, unable to process using elf(3E) libraries
ld: warning: file ../libRSAglue.a ignored: unable to locate archive symbol table
ld: warning: file ../libRSAglue.a ignored: unable to locate archive symbol table
ld: warning: file ../libRSAglue.a ignored: unable to locate archive symbol table
ld: fatal: File processing errors. No output written to openssl
collect2: ld returned 1 exit status
make[1]: *** [openssl] Error 1
make[1]: Leaving directory `/home/work/id7/projects/Security/openssl-0.9.4/apps'
gmake: *** [all] Error 1

- ---------------------

 Sure the archive files have been build and appear to be correct form.

[apps][884]{0}> file ../libcrypto.a 
../libcrypto.a: current ar archive, not a dynamic executable or shared object
[apps][885]{0}> file ../libssl.a 
../libssl.a:    current ar archive, not a dynamic executable or shared object
[apps][886]{0}> file ../libRSAglue.a 
../libRSAglue.a:        current ar archive, not a dynamic executable or shared object


 Just to respond ahead of time some of the questions that have been posed to
 other people with compilations errors.

 Yes I am sure I have openssl-0.9.4 as I down loaded it from www.openssl.org

 Nothing wrong with my compiler or loader, as I've used the same to build my
 Apache server, SSLeay and many other tools.


 I would appreciate any feed back on what causes this problem.

   Tarang

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

Reply via email to