On UnixWare 7.1.4 ..... cc -DMONOLITH -I.. -I../include -DZLIB_SHARED -DZLIB -DOPENSSL_THREADS -Kthread -DDSO_DLFCN -DHAVE_DLFCN_H -Kpentium_pro -D__i386__ -O -DFILIO_H -Kalloca -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM -c ocsp.c UX:acomp: ERROR: "ocsp.c", line 1268: incomplete struct/union/enum timeval: tv UX:acomp: ERROR: "ocsp.c", line 1294: undefined struct/union member: tv_usec UX:acomp: WARNING: "ocsp.c", line 1295: improper member use: tv_sec UX:acomp: ERROR: "ocsp.c", line 1316: undefined struct/union member: tv_usec UX:acomp: WARNING: "ocsp.c", line 1317: improper member use: tv_sec *** Error code 1 (bu21) .....
The struct timeval is found in sys/time.h on this platform. In the 1.0.0 version of apps/ocsp.c the USE_SOCKETS define has been removed so sys/time.h is not included from e_os.h as it was in 0.9.8. Here is one possible fix ..... --- apps/ocsp.c.old 2009-02-06 08:43:52.000000000 -0800 +++ apps/ocsp.c 2009-04-01 22:04:40.722240006 -0700 @@ -66,6 +66,7 @@ #include <stdlib.h> #include <string.h> #include <time.h> +#include <sys/time.h> /* needed for struct timeval */ #include "apps.h" /* needs to be included before the openssl headers! */ #include <openssl/e_os2.h> #include <openssl/crypto.h> ..... -- Tim Rice Multitalents (707) 887-1469 t...@multitalents.net ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org