I get some assembler errors when trying to compile the openssl-0.9.4 on
my x86 Solaris 7 machine.



Here are the details:

output from "configure --prefix=/opt/ssl"

Operating system: i86pc-sun-solaris2
Configuring for solaris-x86-gcc
Makefile => Makefile.ssl
e_os.h => include/openssl/e_os.h
e_os2.h => include/openssl/e_os2.h
making links in crypto...
Makefile => Makefile.ssl
crypto.h => ../include/openssl/crypto.h
tmdiff.h => ../include/openssl/tmdiff.h
opensslv.h => ../include/openssl/opensslv.h
opensslconf.h => ../include/openssl/opensslconf.h
ebcdic.h => ../include/openssl/ebcdic.h
Makefile => Makefile.ssl
making links in crypto/md2...
Makefile => Makefile.ssl
md2.h => ../../include/openssl/md2.h
md2test.c => ../../test/md2test.c
making links in crypto/md5...
Makefile => Makefile.ssl
md5.h => ../../include/openssl/md5.h
md5test.c => ../../test/md5test.c
md5.c => ../../apps/md5.c
making links in crypto/sha...
Makefile => Makefile.ssl
sha.h => ../../include/openssl/sha.h
shatest.c => ../../test/shatest.c
sha1test.c => ../../test/sha1test.c
making links in crypto/mdc2...
Makefile => Makefile.ssl
mdc2.h => ../../include/openssl/mdc2.h
mdc2test.c => ../../test/mdc2test.c
making links in crypto/hmac...
Makefile => Makefile.ssl
hmac.h => ../../include/openssl/hmac.h
hmactest.c => ../../test/hmactest.c
making links in crypto/ripemd...
Makefile => Makefile.ssl
ripemd.h => ../../include/openssl/ripemd.h
rmdtest.c => ../../test/rmdtest.c
rmd160.c => ../../apps/rmd160.c
making links in crypto/des...
Makefile => Makefile.ssl
asm/perlasm => ../../perlasm
des.h => ../../include/openssl/des.h
destest.c => ../../test/destest.c
making links in crypto/rc2...
Makefile => Makefile.ssl
rc2.h => ../../include/openssl/rc2.h
rc2test.c => ../../test/rc2test.c
making links in crypto/rc4...
Makefile => Makefile.ssl
rc4.h => ../../include/openssl/rc4.h
rc4test.c => ../../test/rc4test.c
making links in crypto/rc5...
Makefile => Makefile.ssl
rc5.h => ../../include/openssl/rc5.h
rc5test.c => ../../test/rc5test.c
making links in crypto/idea...
Makefile => Makefile.ssl
idea.h => ../../include/openssl/idea.h
ideatest.c => ../../test/ideatest.c
making links in crypto/bf...
Makefile => Makefile.ssl
blowfish.h => ../../include/openssl/blowfish.h
bftest.c => ../../test/bftest.c
making links in crypto/cast...
Makefile => Makefile.ssl
cast.h => ../../include/openssl/cast.h
casttest.c => ../../test/casttest.c
making links in crypto/bn...
Makefile => Makefile.ssl
bn.h => ../../include/openssl/bn.h
bntest.c => ../../test/bntest.c
exptest.c => ../../test/exptest.c
making links in crypto/rsa...
Makefile => Makefile.ssl
rsa.h => ../../include/openssl/rsa.h
rsa_oaep_test.c => ../../test/rsa_oaep_test.c
making links in crypto/dsa...
Makefile => Makefile.ssl
dsa.h => ../../include/openssl/dsa.h
dsatest.c => ../../test/dsatest.c
making links in crypto/dh...
Makefile => Makefile.ssl
dh.h => ../../include/openssl/dh.h
dhtest.c => ../../test/dhtest.c
making links in crypto/buffer...
Makefile => Makefile.ssl
buffer.h => ../../include/openssl/buffer.h
making links in crypto/bio...
Makefile => Makefile.ssl
bio.h => ../../include/openssl/bio.h
making links in crypto/stack...
Makefile => Makefile.ssl
stack.h => ../../include/openssl/stack.h
safestack.h => ../../include/openssl/safestack.h
making links in crypto/lhash...
Makefile => Makefile.ssl
lhash.h => ../../include/openssl/lhash.h
making links in crypto/rand...
Makefile => Makefile.ssl
rand.h => ../../include/openssl/rand.h
randtest.c => ../../test/randtest.c
making links in crypto/err...
Makefile => Makefile.ssl
err.h => ../../include/openssl/err.h
making links in crypto/objects...
Makefile => Makefile.ssl
objects.h => ../../include/openssl/objects.h
making links in crypto/evp...
Makefile => Makefile.ssl
evp.h => ../../include/openssl/evp.h
making links in crypto/asn1...
Makefile => Makefile.ssl
asn1.h => ../../include/openssl/asn1.h
asn1_mac.h => ../../include/openssl/asn1_mac.h
making links in crypto/pem...
Makefile => Makefile.ssl
pem.h => ../../include/openssl/pem.h
pem2.h => ../../include/openssl/pem2.h
making links in crypto/x509...
Makefile => Makefile.ssl
x509.h => ../../include/openssl/x509.h
x509_vfy.h => ../../include/openssl/x509_vfy.h
making links in crypto/x509v3...
Makefile => Makefile.ssl
x509v3.h => ../../include/openssl/x509v3.h
making links in crypto/conf...
Makefile => Makefile.ssl
conf.h => ../../include/openssl/conf.h
making links in crypto/txt_db...
Makefile => Makefile.ssl
txt_db.h => ../../include/openssl/txt_db.h
making links in crypto/pkcs7...
Makefile => Makefile.ssl
pkcs7.h => ../../include/openssl/pkcs7.h
making links in crypto/pkcs12...
Makefile => Makefile.ssl
pkcs12.h => ../../include/openssl/pkcs12.h
making links in crypto/comp...
Makefile => Makefile.ssl
comp.h => ../../include/openssl/comp.h
making links in ssl...
Makefile => Makefile.ssl
ssl.h => ../include/openssl/ssl.h
ssl2.h => ../include/openssl/ssl2.h
ssl3.h => ../include/openssl/ssl3.h
ssl23.h => ../include/openssl/ssl23.h
tls1.h => ../include/openssl/tls1.h
ssltest.c => ../test/ssltest.c
making links in rsaref...
Makefile => Makefile.ssl
rsaref.h => ../include/openssl/rsaref.h
making links in apps...
Makefile => Makefile.ssl
making links in test...
Makefile => Makefile.ssl
making links in tools...
Makefile => Makefile.ssl
IsWindows=0
CC            =gcc
CFLAG         =-DTHREADS -D_REENTRANT -O3 -fomit-frame-pointer -m486
-Wall -DL_ENDIAN -DSHA1_ASM -DMD5_ASM -DRMD160_ASM
EX_LIBS       =-lsocket -lnsl
BN_ASM        =asm/bn86-sol.o asm/co86-sol.o
DES_ENC       =asm/dx86-sol.o asm/yx86-sol.o
BF_ENC        =asm/bx86-sol.o
CAST_ENC      =asm/cx86-sol.o
RC4_ENC       =asm/rx86-sol.o
RC5_ENC       =asm/r586-sol.o
MD5_OBJ_ASM   =asm/mx86-sol.o
SHA1_OBJ_ASM  =asm/sx86-sol.o
RMD160_OBJ_ASM=asm/rm86-sol.o
PROCESSOR     =
RANLIB        =/usr/ccs/bin/ranlib
PERL          =/opt/gnu/bin/perl
THIRTY_TWO_BIT mode
DES_PTR used
DES_RISC1 used
DES_UNROLL used
BN_LLONG mode
RC4_INDEX mode

NOTE: The OpenSSL header files have been moved from include/*.h
to include/openssl/*.h.  To include OpenSSL header files, now
directives of the form
     #include <openssl/foo.h>
should be used instead of #include <foo.h>.
These new file locations allow installing the OpenSSL header
files in /usr/local/include/openssl/ and should help avoid
conflicts with other libraries.

To compile programs that use the old form <foo.h>,
usually an additional compiler option will suffice: E.g., add
     -I/opt/ssl/include/openssl
or
     -I/opt/x86/openssl-0.9.4/include/openssl
to the CFLAGS in the Makefile of the program that you want to compile
(and leave all the original -I...'s in place!).

Please make sure that no old OpenSSL header files are around:
The include directory should now be empty except for the openssl
subdirectory.

Now the results from "make"

making all in crypto...
( echo "#ifndef MK1MF_BUILD"; \
echo "  /* auto-generated by crypto/Makefile.ssl for crypto/cversion.c
*/"; \
echo "  #define CFLAGS \"gcc -DTHREADS -D_REENTRANT -O3
-fomit-frame-pointer -m486 -Wall -DL_ENDIAN -DSHA1_ASM -DMD5_ASM
-DRMD160_ASM\""; \
echo "  #define PLATFORM \"solaris-x86-gcc\""; \
echo "  #define DATE \"`date`\""; \
echo "#endif" ) >buildinf.h
gcc -I. -I../include -DTHREADS -D_REENTRANT -O3 -fomit-frame-pointer
-m486 -Wall -DL_ENDIAN -DSHA1_ASM -DMD5_ASM -DRMD160_ASM  -c  cryptlib.c

gcc -I. -I../include -DTHREADS -D_REENTRANT -O3 -fomit-frame-pointer
-m486 -Wall -DL_ENDIAN -DSHA1_ASM -DMD5_ASM -DRMD160_ASM  -c  mem.c
gcc -I. -I../include -DTHREADS -D_REENTRANT -O3 -fomit-frame-pointer
-m486 -Wall -DL_ENDIAN -DSHA1_ASM -DMD5_ASM -DRMD160_ASM  -c  cversion.c

gcc -I. -I../include -DTHREADS -D_REENTRANT -O3 -fomit-frame-pointer
-m486 -Wall -DL_ENDIAN -DSHA1_ASM -DMD5_ASM -DRMD160_ASM  -c  ex_data.c
gcc -I. -I../include -DTHREADS -D_REENTRANT -O3 -fomit-frame-pointer
-m486 -Wall -DL_ENDIAN -DSHA1_ASM -DMD5_ASM -DRMD160_ASM  -c  tmdiff.c
ar r ../libcrypto.a cryptlib.o mem.o cversion.o ex_data.o tmdiff.o
cpt_err.o
/usr/ccs/bin/ranlib ../libcrypto.a
making all in crypto/md2...
gcc -I.. -I../../include -DTHREADS -D_REENTRANT -O3 -fomit-frame-pointer
-m486 -Wall -DL_ENDIAN -DSHA1_ASM -DMD5_ASM -DRMD160_ASM  -c  md2_dgst.c

gcc -I.. -I../../include -DTHREADS -D_REENTRANT -O3 -fomit-frame-pointer
-m486 -Wall -DL_ENDIAN -DSHA1_ASM -DMD5_ASM -DRMD160_ASM  -c  md2_one.c
ar r ../../libcrypto.a md2_dgst.o md2_one.o
/usr/ccs/bin/ranlib ../../libcrypto.a
making all in crypto/md5...
gcc -I.. -I../../include -DTHREADS -D_REENTRANT -O3 -fomit-frame-pointer
-m486 -Wall -DL_ENDIAN -DSHA1_ASM -DMD5_ASM -DRMD160_ASM  -c  md5_dgst.c

ar r ../../libcrypto.a md5_dgst.o md5_one.o asm/mx86-sol.o
/usr/ccs/bin/ranlib ../../libcrypto.a
making all in crypto/sha...
gcc -I.. -I../../include -DTHREADS -D_REENTRANT -O3 -fomit-frame-pointer
-m486 -Wall -DL_ENDIAN -DSHA1_ASM -DMD5_ASM -DRMD160_ASM  -c  sha_dgst.c

Assembler: sha_dgst.c
 aline 274 : Illegal mnemonic
 aline 274 : syntax error
 aline 279 : Illegal mnemonic
 aline 279 : syntax error
 aline 284 : Illegal mnemonic
 aline 284 : syntax error
 aline 289 : Illegal mnemonic
 aline 289 : syntax error
 aline 472 : Illegal mnemonic
 aline 472 : syntax error
 aline 477 : Illegal mnemonic
 aline 477 : syntax error
 aline 482 : Illegal mnemonic
 aline 482 : syntax error
 aline 487 : Illegal mnemonic
 aline 487 : syntax error
*** Error code 1
make: Fatal error: Command failed for target `sha_dgst.o'
Current working directory /opt/x86/openssl-0.9.4/crypto/sha
*** Error code 1
make: Fatal error: Command failed for target `subdirs'
Current working directory /opt/x86/openssl-0.9.4/crypto
*** Error code 1
make: Fatal error: Command failed for target `all'


--
Brian Millett
Enterprise Consulting Group     "Heaven can not exist,
(314) 205-9030                     If the family is not eternal"
[EMAIL PROTECTED]                   F. Ballard Washburn


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

Reply via email to