I am trying to build openssl-0.9.4 on Solaris 5.6 and getting the following
errors from make after running ./config no-threads:

making all in crypto...
( echo "#ifndef MK1MF_BUILD"; \
echo "  /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c */";
\
echo "  #define CFLAGS
\"cc -DTHREADS -D_REENTRANT -xtarget=ultra -xarch=v8plus -xO5 -xstrconst -xd
e
pend -Xa -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM\""; \
echo "  #define PLATFORM \"solaris-sparcv9-cc\""; \
echo "  #define DATE \"`date`\""; \
echo "#endif" ) >buildinf.h
cc -I. -I../include -DTHREADS -D_REENTRANT -xtarget=ultra -xarch=v8plus -xO5
 -xstrconst -xdepend -Xa
 -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM  -c  cryptlib.c
cc: Warning illegal option -xtarget=ultra
cc: Warning illegal option -xO5
cc: Warning illegal option -xdepend
cc -I. -I../include -DTHREADS -D_REENTRANT -xtarget=ultra -xarch=v8plus -xO5
 -xstrconst -xdepend -Xa
 -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM  -c  mem.c
cc: Warning illegal option -xtarget=ultra
cc: Warning illegal option -xO5
cc: Warning illegal option -xdepend
cc -I. -I../include -DTHREADS -D_REENTRANT -xtarget=ultra -xarch=v8plus -xO5
 -xstrconst -xdepend -Xa
 -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM  -c  cversion.c
cc: Warning illegal option -xtarget=ultra
cc: Warning illegal option -xO5
cc: Warning illegal option -xdepend
cc -I. -I../include -DTHREADS -D_REENTRANT -xtarget=ultra -xarch=v8plus -xO5
 -xstrconst -xdepend -Xa
 -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM  -c  ex_data.c
cc: Warning illegal option -xtarget=ultra
cc: Warning illegal option -xO5
cc: Warning illegal option -xdepend
cc -I. -I../include -DTHREADS -D_REENTRANT -xtarget=ultra -xarch=v8plus -xO5
 -xstrconst -xdepend -Xa
 -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM  -c  tmdiff.c
cc: Warning illegal option -xtarget=ultra
cc: Warning illegal option -xO5
cc: Warning illegal option -xdepend
cc -I. -I../include -DTHREADS -D_REENTRANT -xtarget=ultra -xarch=v8plus -xO5
 -xstrconst -xdepend -Xa
 -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM  -c  cpt_err.c
cc: Warning illegal option -xtarget=ultra
cc: Warning illegal option -xO5
cc: Warning illegal option -xdepend
ar r ../libcrypto.a cryptlib.o mem.o cversion.o ex_data.o tmdiff.o cpt_err.o
ar: creating ../libcrypto.a
/usr/ccs/bin/ranlib ../libcrypto.a
making all in crypto/md2...
cc -I.. -I../../include -DTHREADS -D_REENTRANT -xtarget=ultra -xarch=v8plus 
-xO5 -xstrconst -xdepend
 -Xa -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM  -c  md2_dgst.c
cc: Warning illegal option -xtarget=ultra
cc: Warning illegal option -xO5
cc: Warning illegal option -xdepend
cc -I.. -I../../include -DTHREADS -D_REENTRANT -xtarget=ultra -xarch=v8plus 
-xO5 -xstrconst -xdepend
 -Xa -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM  -c  md2_one.c
cc: Warning illegal option -xtarget=ultra
cc: Warning illegal option -xO5
cc: Warning illegal option -xdepend
ar r ../../libcrypto.a md2_dgst.o md2_one.o
/usr/ccs/bin/ranlib ../../libcrypto.a
making all in crypto/md5...
cc -I.. -I../../include -DTHREADS -D_REENTRANT -xtarget=ultra -xarch=v8plus 
-xO5 -xstrconst -xdepend
 -Xa -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM  -c  md5_dgst.c
cc: Warning illegal option -xtarget=ultra
cc: Warning illegal option -xO5
cc: Warning illegal option -xdepend
cc -I.. -I../../include -DTHREADS -D_REENTRANT -xtarget=ultra -xarch=v8plus 
-xO5 -xstrconst -xdepend
 -Xa -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM  -c  md5_one.c
cc: Warning illegal option -xtarget=ultra
cc: Warning illegal option -xO5
cc: Warning illegal option -xdepend
cc -I.. -I../../include -DTHREADS -D_REENTRANT -xtarget=ultra -xarch=v8plus 
-xO5 -xstrconst -xdepend
 -Xa -DB_ENDIAN -DBN_DIV2W -DULTRASPARC -DMD5_ASM -DMD5_BLOCK_DATA_ORDER -c
\
    -o asm/md5-sparcv8plus.o asm/md5-sparcv9.S
cc: Warning illegal option -xtarget=ultra
cc: Warning illegal option -xO5
cc: Warning illegal option -xdepend
ar r ../../libcrypto.a md5_dgst.o md5_one.o asm/md5-sparcv8plus.o
ar: cannot open asm/md5-sparcv8plus.o
    No such file or directory
ar: asm/md5-sparcv8plus.o not found
*** Error code 1
make: Fatal error: Command failed for target `lib'
Current working directory /dsd/SUS/beggs/GTFMDEV/openssl-0.9.4/crypto/md5
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /dsd/SUS/beggs/GTFMDEV/openssl-0.9.4/crypto
*** Error code 1
make: Fatal error: Command failed for target `all'

The output of config -t is:

Operating system: sun4u-sun-solaris2
Configuring for solaris-sparcv9-cc
/usr/local/bin/perl ./Configure solaris-sparcv9-cc

Do you know what might be wrong? I have tried the /usr/ucb/cc compiler and
aliased cc to the SUNWspro/bin/cc compiler but get this error both times.

Thanks

Sue

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

Reply via email to