[SUMMARY] Compiling OpenSSL 0.9.6b (or 0.9.6c) under SunOS 4.1.4

From: David Foster <foster_at_dim.ucsd.edu>
Date: Tue Mar 26 2002 - 13:31:25 EST
Problem: OpenSSL couldn't configure for compilation on SunOS 4.1.4
    system using ./config script, complained:
    
    ld.so: call to undefined procedure _strerror from 0xa00b8
    
Resolution:

    I needed to create a link for the "e_os.h" file as make
    was not finding this file when processing ./crypto (from
    source directory):
    
       ln -s `pwd`/e_os.h crypto/
       
    I ran the ./Configure script directly:
    
       ./Configure sunos-gcc --prefix=/usr/local \
          --openssldir=/usr/local/openssl-0.9.6c

    Since strerror() doesn't exist for SunOS 4.1.x, there is
    a macro defined for it in "e_os.h", this wasn't being picked
    up by make for some reason.
    
Thanks to Frank Smith for showing me an example workaround for SunOS
in the X code which led me to search for the workaround in OpenSSL
code, and ultimately this solution.

Dave Foster

> 
> Has anyone else run into the problem where OpenSSL 0.9.6b won't
> compile under SunOS 4.1.4 (don't ask...legacy equipment), complaining
> about a missing 'strerror()'...it is my understanding that strerror()
> didn't exist in SunOS.
> 
> Here is the end of the ./config command output:
> 
>   PERL          =/usr/local/bin/perl5
>   THIRTY_TWO_BIT mode
>   DES_PTR used
>   DES_RISC1 used
>   DES_UNROLL used
>   BN_LLONG mode
>   RC4 uses uchar
>   RC4_CHUNK is unsigned long
>   Makefile => Makefile.ssl
>   ld.so: call to undefined procedure _strerror from 0xa00b8
>   make: *** [links] Error 127
> 
> Any workarounds or fixes? I don't see anything on the OpenSSL site
> or in their FAQ that addresses this problem. I get the same error
> with OpenSSL 0.9.6c . Have they dropped support for SunOS??
> 
> Dave Foster
> 
>   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
>    David Foster    National Center for Microscopy and Imaging Research
>     Programmer/Analyst     University of California, San Diego
>     dfoster@ucsd.edu       Department of Neuroscience, Mail 0608
>     (858) 534-7968         http://ncmir.ucsd.edu/
>   =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
>    "The reasonable man adapts himself to the world; the unreasonable one
>    persists in trying to adapt the world to himself.  Therefore, all progress
>    depends on the unreasonable."   -- George Bernard Shaw
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers


   << All opinions expressed are mine, not the University's >>

  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
   David Foster    National Center for Microscopy and Imaging Research
    Programmer/Analyst     University of California, San Diego
    dfoster@ucsd.edu       Department of Neuroscience, Mail 0608
    (858) 534-7968         http://ncmir.ucsd.edu/
  =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

   "The reasonable man adapts himself to the world; the unreasonable one
   persists in trying to adapt the world to himself.  Therefore, all progress
   depends on the unreasonable."   -- George Bernard Shaw
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Tue Mar 26 12:32:33 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:38 EST