When attempting to compile OpenSSL 0.9.3a on solaris x86 2.6 I found
that compilation failed in crypto/sha/sha_dgst.c with the following
error:
gcc -I.. -I../../include -DTHREADS -D_REENTRANT -Wall -DL_ENDIAN -c
sha_dgst.c
Assembler: sha_dgst.c
aline 425 : Illegal mnemonic
aline 425 : syntax error
aline 434 : Illegal mnemonic
aline 434 : syntax error
aline 443 : Illegal mnemonic
aline 443 : syntax error
aline 452 : Illegal mnemonic
aline 452 : syntax error
aline 704 : Illegal mnemonic
aline 704 : syntax error
aline 716 : Illegal mnemonic
aline 716 : syntax error
aline 729 : Illegal mnemonic
aline 729 : syntax error
aline 742 : Illegal mnemonic
aline 742 : syntax error
These lines turned out to be inline assembly from sha_locl.h which
were being used despite the fact that I'd configured with the "no-asm"
option. Dyking out lines 167 through 198 (marked /* some inline
assembler templates by <[EMAIL PROTECTED]> */) solved the problem
for me - perhaps an #ifndef NO_ASM or similar should be done here?
Zik
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]