Hi, >>> http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=d1cf23ac86c05b22b8780e2c03b67230564d2d34 >> With cross-reference to >> http://rt.openssl.org/Ticket/Display.html?id=3333 can you confirm that >> preproc=/tmp/$$$$.$@.S assignment works? > > Thanks for following this up. > > The only issues I'm seeing on Tru64 V4 from OpenSSL now are code-related > build errors; your makefile changes are good. > > Starting with a plain ./config (defaults for everything), I get two > build errors, described below. Once those are fixed---and the attached > patch has my changes---the build completes successfully, and the test > suite passes. > > > Error the first: > > cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include > -DOPENSSL_THREADS -pthread -DDSO_DLFCN -DHAVE_DLFCN_H -std1 -tune host -fast > -readonly_strings -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DGHASH_ASM -c b_sock.c > cc: Error: b_sock.c, line 630: The member "sa_in6" has an incomplete type. > (incompmem) > struct sockaddr_in6 sa_in6; > ------------------------------------^ > cc: Error: b_sock.c, line 862: The member "sa_in6" has an incomplete type. > (incompmem) > struct sockaddr_in6 sa_in6; > ------------------------------------^ > *** Exit 1 > Stop. > > This is the same IPv6-support issue reported earlier in the ticket.
I suggest to resort for adding -DOPENSSL_USE_IPV6=0 at config time. I couldn't reproduce the problem on two different systems, so it's some problem with yours. As for suggestion to add defined(IPPROTO_IPV6), no, it's not appropriate. > Error the second: > > cc -I../crypto -I.. -I../include -DOPENSSL_THREADS -pthread -DDSO_DLFCN > -DHAVE_DLFCN_H -std1 -tune host -fast -readonly_strings -DOPENSSL_BN_ASM_MONT > -DSHA1_ASM -DGHASH_ASM -c s3_cbc.c > cc: Error: ../crypto/constant_time_locl.h, line 79: Missing ";". (nosemi) > static inline unsigned int constant_time_msb(unsigned int a); > --------------^ > cc: Error: ../crypto/constant_time_locl.h, line 84: Missing ";". (nosemi) > static inline unsigned int constant_time_lt(unsigned int a, unsigned int b); > --------------^ > cc: Error: ../crypto/constant_time_locl.h, line 86: Missing ";". (nosemi) > static inline unsigned char constant_time_lt_8(unsigned int a, unsigned int > b); > --------------^ > cc: Error: ../crypto/constant_time_locl.h, line 91: Missing ";". (nosemi) > static inline unsigned int constant_time_ge(unsigned int a, unsigned int b); > --------------^ > [several more instances and unrelated warnings elided] > *** Exit 1 > Stop. > > Reason: The compiler doesn't understand the "inline" keyword. It's being discussed internally. BTW, defining inline with defined(__DECC) is formally incorrect, because DEC C *would* accept inline if you pass -c99. > Still needing a fix is randfile.c, though on Tru64 V4 it doesn't give > me trouble. You mentioned "I am building with non-default arguments" but never specified which ones. ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager majord...@openssl.org