In case anyone else has this problem, here's some help.

I had a problem building openssl-0.9.3 on the following machine config:

        uname -m = i386
        uname -s = BSD/OS
        uname -r = 3.1

The compile bombed in crypto/sha/sha_dgst.c because the target machine (i386)
doesn't support the bswapl assembly instruction.  I worked around this by
including opensslconf.h in the sha_locl.h file (since I386_ONLY is defined
in opensslconf.h, and this #define is what makes the compiler skip the bswapl
assembly code). 


*** sha_locl.h~ Tue May 11 15:14:29 1999
--- sha_locl.h  Tue May 25 15:19:22 1999
***************
*** 58,63 ****
--- 58,64 ----
  
  #include <stdlib.h>
  #include <string.h>
+ #include <openssl/opensslconf.h>
  
  #ifdef undef
  /* one or the other needs to be defined */

-- 
John Keith ([EMAIL PROTECTED]) 503-813-9392
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to