Thanks Armin and Yury. This was indeed a problem with the version on openssl. I have updated the openssl version and now its building fine without any changes in the include headers of openssl.
Thanks, -Roshan On Mon, Jun 15, 2015 at 12:49 PM, Yury V. Zaytsev <y...@shurup.com> wrote: > On Mon, 2015-06-15 at 08:46 +0200, Armin Rigo wrote: > > > > If someone could check if that's the case, please open an issue then > > (http://bugs.pypy.org/). > > I don't think that's the case: > > $ openssl version -a > OpenSSL 1.0.1e-fips 11 Feb 2013 > built on: Thu Jun 4 19:38:28 UTC 2015 > platform: linux-x86_64 > options: bn(64,64) md2(int) rc4(16x,int) des(idx,cisc,16,int) idea(int) > blowfish(idx) > compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT > -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -m64 -DL_ENDIAN -DTERMIO -Wall -O2 > -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector > --param=ssp-buffer-size=4 -m64 -mtune=generic -Wa,--noexecstack -DPURIFY > -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 > -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM > -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM > OPENSSLDIR: "/etc/pki/tls" > engines: dynamic > > Also, if you look into the -devel package: > > > http://mirror.centos.org/centos/6/updates/x86_64/Packages/openssl-devel-1.0.1e-30.el6_6.7.x86_64.rpm > > You'll find in ec.h included from ecdh.h: > > typedef struct ec_key_st EC_KEY; > > and OPENSSL_NO_ECDH is not set in opensslconf-x86_64.h ... > > -- > Sincerely yours, > Yury V. Zaytsev > > >
_______________________________________________ pypy-dev mailing list pypy-dev@python.org https://mail.python.org/mailman/listinfo/pypy-dev