In message <[EMAIL PROTECTED]> on Thu, 15 Aug
2002 19:17:27 -0700 (PDT), Doug Kaufman <[EMAIL PROTECTED]> said:
dkaufman> I recently tried to build the August 9th snapshot of openssl 0.9.7 on
dkaufman> a sun sparc machine running sunos 4.1.3_U1. This failed in several
dkaufman> areas. Here are the changes I made to allow it to compile, but I am
dkaufman> not sure that these are the correct fixes. The main problems: this
dkaufman> version of sunos doesn't have strtoul and doesn't define sig_atomic_t
dkaufman> anywhere. Also <sys/ioctl.h> should not be included in ui_openssl.c.
dkaufman> I wasn't sure which define to use to identify this version of sunos.
dkaufman> I presume that these changes don't apply to Solaris, but I don't have
dkaufman> a Solaris machine available to me to check. This patch uses (sun).
dkaufman> The choices defined by gcc are: "-Dsparc -Dsun -D__sparc__ -D__sun__
dkaufman> -D__sparc -D__sun". Is one of these more appropriate for the patch?
The best thing would probably be to insert an identifying name in the
$sys_id field of the sunos-gcc target (I assume that's the one you got
to use, right?).
dkaufman> Is defining strtoul as (unsigned long)strtol acceptable for the one
dkaufman> place in the code where this function is used, or does a strtoul
dkaufman> function have to be written to be used here? I know that there is
I *think* that's acceptable.
--
Richard Levitte \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken \ S-168 35 BROMMA \ T: +46-8-26 52 47
\ SWEDEN \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]