<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi,<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<div>
<div style="direction:ltr; font-family:Tahoma; color:#000000; font-size:10pt"><br>
I'm trying to build last versions of OpenSSL on <b>AIX 6.1</b>, as RPMs with .spec files.<br>
<br>
With versions 1.0.1p and 1.0.2d , on same machine, my .spec file works perfectly.<br>
<br>
Now, with versions 1.0.1r and 1.0.2f, my .spec file (changing 1.0.2d to 1.0.2f) breaks as:<br>
<font face="Courier New">make[2]: Entering directory '/home/reixt/OPENSSL/openssl-1.0.2f/crypto/objects'<br>
cc -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include  -O -DB_ENDIAN -qmaxmem=16384   -c -o obj_dat.o obj_dat.c<br>
"obj_dat.h", line 2435.30: 1506-045 (S) Undeclared identifier NID_dhpublicnumber.</font><br>
<br>
However, on <b>Ubuntu/x86_64</b>, building 1.0.2f works perfectly well.<br>
<br>
Experimenting with the options of <font face="Courier New">./config</font> in OpenSSL directory (without the .spec file) for 1.0.2f, it appears that the
<b>no-symlinks</b> option is the root cause:<br>
<br>
This works perfectly:<br>
<div><font face="Courier New">tar zxf openssl-1.0.2f.tar.gz<br>
cd openssl-1.0.2f<br>
export OBJECT_MODE=64<br>
./config \<br>
    --prefix=%{_prefix} \<br>
    --openssldir=%{openssldir64}<br>
make depend<br>
make build_libs<br>
make</font><br>
<br>
Though this breaks as described above when compiling  <font face="Courier New">obj_dat.c
</font>:<br>
<font face="Courier New"><font face="Courier New">tar zxf openssl-1.0.2f.tar.gz<br>
cd openssl-1.0.2f<br>
</font>export OBJECT_MODE=64<br>
./config \<br>
    <b>no-symlinks</b> \<br>
    --prefix=%{_prefix} \<br>
    --openssldir=%{openssldir64}<br>
make depend<br>
make build_libs<br>
make</font><br>
<br>
<br>
Now, using same commands as above with 1.0.2d version, still with no-symlinks, that works perfectly.<br>
<br>
<br>
Does anyone have encountered this issue with no-symlink and versions 1.0.1r or 1.0.2f ?<br>
<br>
Any idea about the root cause ?<br>
<br>
Thanks/Regards,<br>
<br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px"><span lang="fr"><font face="Arial" color="black" size="2"><span dir="ltr" style="font-size:10pt"><font face="Times New Roman" size="2"><span style="font-size:16px">
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Verdana,sans-serif" size="2"><span style="font-size:9pt">Cordialement,<br>
<br>
Tony Reix<br>
<br>
Bull - ATOS<br>
IBM Coop Architect & Technical Leader<br>
</span></font></span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Verdana,sans-serif" size="2"><span style="font-size:9pt">Office : +33 (0) 4 76 29 72 67</span></font></span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><font face="Verdana,sans-serif" size="2"><span style="font-size:9pt">1 rue de Provence - 38432 Échirolles - France</span></font></span></font></div>
<div style="margin:0"><font face="Calibri,sans-serif" size="2"><span style="font-size:11pt"><a href="https://mail.ad.bull.net/owa/redir.aspx?C=PvphmPvCZkGrAgHVnWGsdMcDKgzl_dEIsM6rX0g4u4v8V81YffzBGkWrtQeAXNovd3ttkJL8JIc.&URL=http%3a%2f%2fwww.atos.net%2f" target="_blank"><font face="Verdana,sans-serif" size="2"><span style="font-size:9pt">www.atos.net</span></font></a></span></font></div>
</span></font></span></font></span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>