Some things came up attempting to build on OpenServer 5
.....
        gcc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include  -fPIC 
-DOPENSSL_PIC -DZLIB_SHARED -DZLIB -DDSO_DLFCN -DHAVE_DLFCN_H -O3 
-fomit-frame-pointer -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT 
-DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM 
-DRMD160_ASM -DAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -c ui_openssl.c
In file included from /usr/include/posix/signal.h:35,
                 from /usr/include/signal.h:11,
                 from ui_openssl.c:128:
/usr/include/sys/signal.h:175: parse error before `siginfo_t'
*** Error code 1 (bu21)
*** Error code 1 (bu21)
*** Error code 1 (bu21)
.....

Same problem with apps/apps.c
It comes from 
#ifndef _POSIX_C_SOURCE
#define _POSIX_C_SOURCE 2
#endif

The comments in apps/apps.c indicate it is needed for VMS and the comments
in crypto/ui/ui_openssl.c say it is needed for "gcc -ansi".
Was it VMS users using "gcc -ansi"?
Can we restrict the _POSIX_C_SOURCE define to VMS?

-- 
Tim Rice                                Multitalents
[email protected]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [email protected]
Automated List Manager                           [email protected]

Reply via email to