Discussion:
[openssl.org #3568] Bug: Compiling openssl-1.0.1j on AIX 7.1
Peter Bruderer via RT
2014-10-17 19:17:09 UTC
Permalink
Hi there


when I compile openssl-1.0.1j on AIX 7.1 I the the following error:

cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q64 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -c rsa_pk1.c
"../constant_time_locl.h", line 84.15: 1506-277 (S) Syntax error: possible missing ';' or ','?
make: 1254-004 The error code from the last command is 1.



have fun ...
Peter Bruderer
--
Bruderer Research GmbH
CH-8200 Schaffhausen
+41 52 620 26 53
***@brg.ch
Kyle Chapman
2014-10-17 19:30:10 UTC
Permalink
You can either patch e_os.h or when configuring on aix do:
[ ./Configure <platform> | ./config ] <your> <options> -qkeyword=inline

So as a workaround, add the -qkeyword. -qlanglvl=extc99 works as well
I use: ./config shared threads -qkeyword=inline
Until I patched e_os.h

Refer to this for the changed to e_os.h
http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=40155f408985aff2e9f1b61b7cb04a3e518633a1

thanks to emilia for pointing to that commit.

-----Original Message-----
From: owner-openssl-***@openssl.org [mailto:owner-openssl-***@openssl.org] On Behalf Of Peter Bruderer via RT
Sent: Friday, October 17, 2014 3:17 PM
Cc: openssl-***@openssl.org
Subject: [openssl.org #3568] Bug: Compiling openssl-1.0.1j on AIX 7.1

Hi there


when I compile openssl-1.0.1j on AIX 7.1 I the the following error:

cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include -DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q64 -O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -c rsa_pk1.c "../constant_time_locl.h", line 84.15: 1506-277 (S) Syntax error: possible missing ';' or ','?
make: 1254-004 The error code from the last command is 1.



have fun ...
Peter Bruderer
--
Bruderer Research GmbH
CH-8200 Schaffhausen
+41 52 620 26 53
***@brg.ch



________________________________

:��I"Ϯ��r�m���� (����Z+�7�zZ)���1���x ��h����W^��^��%��
Emilia Käsper
2014-10-17 20:39:36 UTC
Permalink
I've now pushed the missing commits to stable branches as well. For 0.9.8,
they are

af32df0a8e662914f78c93736466c746f83dfe84
and
9880f63038a5b9bb8bf5becc18360378cfe7806d

Emilia
Post by Kyle Chapman
[ ./Configure <platform> | ./config ] <your> <options> -qkeyword=inline
So as a workaround, add the -qkeyword. -qlanglvl=extc99 works as well
I use: ./config shared threads -qkeyword=inline
Until I patched e_os.h
Refer to this for the changed to e_os.h
http://git.openssl.org/gitweb/?p=openssl.git;a=commitdiff;h=40155f408985aff2e9f1b61b7cb04a3e518633a1
thanks to emilia for pointing to that commit.
-----Original Message-----
On Behalf Of Peter Bruderer via RT
Sent: Friday, October 17, 2014 3:17 PM
Subject: [openssl.org #3568] Bug: Compiling openssl-1.0.1j on AIX 7.1
Hi there
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include
-DOPENSSL_THREADS -qthreaded -D_THREAD_SAFE -DDSO_DLFCN -DHAVE_DLFCN_H -q64
-O -DB_ENDIAN -qmaxmem=16384 -qro -qroconst -DOPENSSL_BN_ASM_MONT
-DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -c rsa_pk1.c
"../constant_time_locl.h", line 84.15: 1506-277 (S) Syntax error: possible
missing ';' or ','?
make: 1254-004 The error code from the last command is 1.
have fun ...
Peter Bruderer
--
Bruderer Research GmbH
CH-8200 Schaffhausen
+41 52 620 26 53
________________________________
Emilia Käsper via RT
2014-10-17 20:47:49 UTC
Permalink
Resolved - please see #3567 for details.

______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-***@openssl.org
Automated List Manager ***@openssl.org
Andy Schmidt
2014-10-21 21:27:00 UTC
Permalink
I'm also seeing this problem on HP-UX 11.11 with the HP compiler...
and the patches to e_os.h resolved the issue. (Just a FYI)
Post by Emilia Käsper via RT
Resolved - please see #3567 for details.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List openssl-***@openssl.org
Automated List Manager ***@openssl.org
Loading...