Thank you for the information.  I tried the -Dinline and unfortunately used 
double quotes and it did not work.  The link with the workaround actually got 
me past the build issues.

I agree the use of "inline" was probably not a good idea.  Perhaps in the next 
build it will be resolved.

Thanks,
Ra


From: owner-openssl-us...@openssl.org [mailto:owner-openssl-us...@openssl.org] 
On Behalf Of Michael Wojcik
Sent: Wednesday, October 22, 2014 4:45 AM
To: openssl-users@openssl.org
Subject: RE: OpenSSL 1.0.1j - HP

Yes. It's the liberal use of the C99 "inline" keyword introduced by Andy 
Polyakov in the commit Kyle linked to.

That also broke the build on AIX, if you're using an older version of IBM's XLC 
compiler. (We're using XLC 9.) On AIX, the fix was to add -qkeyword=inline to 
the cflags portion of the aix-cc and aix-cc64 stanzas in Configure. 
Fortunately, we have our own version of the OpenSSL Configure script, which we 
update strategically from the changes to the official one - a mechanism that 
has proven necessary several times over the years. (On Windows, we have scripts 
that edit the OpenSSL Perl build scripts for similar reasons.)

For HP-UX PA-RISC, you could try adding -Dinline='' (that's two single quotes) 
to the cflags part of the appropriate stanza(s) in Configure.

I think the use of "inline" was a Bad Idea, personally, since it introduces 
major compatibility issues (breaking existing platforms that aren't fully 
C99-compliant) for a possible small performance improvement. The OpenSSL 
sources hadn't previously used any C99-only keywords, as far as I know.

Michael Wojcik
Technology Specialist, Micro Focus


From: owner-openssl-us...@openssl.org<mailto:owner-openssl-us...@openssl.org> 
[mailto:owner-openssl-us...@openssl.org] On Behalf Of Kyle Chapman
Sent: Tuesday, 21 October, 2014 19:11
To: openssl-users@openssl.org<mailto:openssl-users@openssl.org>
Subject: RE: OpenSSL 1.0.1j - HP

Check this commit
http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=40155f408985aff2e9f1b61b7cb04a3e518633a1


From: owner-openssl-us...@openssl.org<mailto:owner-openssl-us...@openssl.org> 
[mailto:owner-openssl-us...@openssl.org] On Behalf Of LeSieur, Rajshree
Sent: Tuesday, October 21, 2014 6:05 PM
To: openssl-users@openssl.org<mailto:openssl-users@openssl.org>
Subject: OpenSSL 1.0.1j - HP

HPUX, HP-PA builds fail with inline errors.  I have gone through some of the 
solutions and tried them all.  Still not having any luck.
How can I get through this?  It is holding up the rest of our project.


       cc -g -c -Ae -Ae +DD64 +O4 +e -I 
../../../opnsrc/openssl/CurrentSource/BuildConfiguration/hpux-pa -I 
../../../opnsrc/openssl/CurrentSource/BuildConfiguration/hpux-pa/openssl -I 
../../../opnsrc/openssl/CurrentSource/crypto -I 
../../../opnsrc/openssl/CurrentSource/crypto/asn1 -I 
../../../opnsrc/openssl/CurrentSource/crypto/evp -I 
../../../opnsrc/openssl/CurrentSource/crypto/modes -I 
../../../opnsrc/openssl/CurrentSource -I 
../../../opnsrc/openssl/CurrentSource/include -I 
../../../opnsrc/openssl/CurrentSource/include/openssl  -DOPENSSL_NO_ASM 
-DTA_hpux_pa=1 -DOPENSSL_NO_CAMELLIA -DOPENSSL_NO_CMS 
-DOPENSSL_NO_EC_NISTP_64_GCC_128 -DOPENSSL_NO_IDEA -DOPENSSL_NO_MD2 
-DOPENSSL_NO_MDC2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_SCTP -DOPENSSL_NO_SEED 
-DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_THREADS -D_REENTRANT -DMD32_XARRAY 
-DB_ENDIAN  -o ../../hpux-pa/openssl/openssl/CurrentSource/ssl_a/s3_srvr.o 
./ssl/s3_srvr.c


cc: "ssl/../crypto/constant_time_locl.h", line 79: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 84: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 86: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 91: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 93: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 98: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 100: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 106: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 108: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 110: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 112: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 122: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 125: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 128: error 1000: Unexpected 
symbol: "int".
cc: "ssl/../crypto/constant_time_locl.h", line 130: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 135: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 145: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 150: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 160: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 165: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 170: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 175: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 180: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 185: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 190: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 195: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 201: error 1000: Unexpected 
symbol: "unsigned".
cc: "ssl/../crypto/constant_time_locl.h", line 207: error 1000: Unexpected 
symbol: "int".
*** Error code 1
clearmake: Error: Build script failed for 
"../../hpux-pa/openssl/openssl/CurrentSource/ssl_a/s3_srvr.o"
========================================================

Aborting...


Thanks,
Ra

________________________________


Click here<https://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ==> to report 
this email as spam.


This message has been scanned for malware by Websense. 
www.websense.com<http://www.websense.com/>

Reply via email to