<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="color:rgb(0,0,0);font-family:Arial;font-size:13px">A little bit further...with my problem in trying to build a tailored version of openSSL. </div><div style="color:rgb(0,0,0);font-family:Arial;font-size:13px"><br></div><div style="color:rgb(0,0,0);font-family:Arial;font-size:13px">If I do <span style="font-weight:bold">make</span> I get at the end of building (trying to make .map file before the .so files )</div><div style="color:rgb(0,0,0);font-family:Arial;font-size:13px"><br></div><div style="font-family:Arial;font-size:13px"><font color="#000000"> creating test/libtestutil.a</font><br><font color="#000000">ranlib test/libtestutil.a || echo Never mind.</font><br><font color="#000000">/usr/bin/perl util/</font><a href="http://mkdef.pl/" target="_blank" style="color:rgb(0,0,0)">mkdef.pl</a><font color="#000000"> crypto linux > libcrypto.map</font><br><font color="#ff0000">Error: <span style="font-weight:bold">EVP_PKEY_get0_TUV</span> does not have a number assigned</font><br><font color="#000000">Makefile:762: recipe for target 'libcrypto.map' failed</font><br><font color="#000000">make[1]: *** [libcrypto.map] Error 25</font><br><font color="#000000">make[1]: Leaving directory '/home/vm/progetti/OPEN_SSL/OPEN_SSL_QP/openssl-1.1.1b'</font><br><font color="#000000">Makefile:172: recipe for target 'all' failed</font><br><font color="#000000">make: *** [all] Error 2</font><br><br></div><div style="color:rgb(0,0,0);font-family:Arial;font-size:13px"><br></div><div style="color:rgb(0,0,0);font-family:Arial;font-size:13px"><br></div><div style="color:rgb(0,0,0);font-family:Arial;font-size:13px">...where <span style="font-weight:bold">EVP_PKEY_get0_TUV</span> is a proprietary function similar to <span style="font-weight:bold">EVP_PKEY_get0_RSA</span> (), </div><div style="color:rgb(0,0,0);font-family:Arial;font-size:13px">Usually with a function that <b>does not have a number assigned </b>it could be ok to do a <i>make update</i>, but when I run a<span style="font-weight:bold"> <i>make update</i></span> it stopped after a small while without concluding the action (and no more commands I can run in that terminal window). </div><div style="color:rgb(0,0,0);font-family:Arial;font-size:13px">Here the log:</div><div style="color:rgb(0,0,0);font-family:Arial;font-size:13px"><br>( cd .; /usr/bin/perl VMS/VMSify-conf.pl \<br>            < apps/openssl.cnf > apps/openssl-vms.cnf )<br>( cd .; /usr/bin/perl crypto/bn/<a href="http://bn_prime.pl/" target="_blank">bn_prime.pl</a> > crypto/bn/bn_prime.h )<br>( cd .; /usr/bin/perl crypto/objects/<a href="http://objects.pl/" target="_blank">objects.pl</a> -n \<br>            crypto/objects/objects.txt \<br>            crypto/objects/obj_mac.num \<br>            > crypto/objects/obj_mac.new && \<br>    mv crypto/objects/obj_mac.new crypto/objects/obj_mac.num )<br>( cd .; /usr/bin/perl crypto/objects/<a href="http://objects.pl/" target="_blank">objects.pl</a> \<br>            crypto/objects/objects.txt \<br>            crypto/objects/obj_mac.num \<br>            > include/openssl/obj_mac.h )<br>( cd .; /usr/bin/perl crypto/objects/<a href="http://obj_dat.pl/" target="_blank">obj_dat.pl</a> \<br>            include/openssl/obj_mac.h \<br>            > crypto/objects/obj_dat.h )<br>( cd .; /usr/bin/perl crypto/objects/<a href="http://objxref.pl/" target="_blank">objxref.pl</a> \<br>            crypto/objects/obj_mac.num \<br>            crypto/objects/obj_xref.txt \<br>            > crypto/objects/obj_xref.h )<br>( cd .; /usr/bin/perl crypto/conf/<a href="http://keysets.pl/" target="_blank">keysets.pl</a> \<br>                > crypto/conf/conf_def.h )<br>( cd .; /usr/bin/perl crypto/asn1/<a href="http://charmap.pl/" target="_blank">charmap.pl</a> \<br>                > crypto/asn1/charmap.h )<br>( cd .; /usr/bin/perl fuzz/<a href="http://mkfuzzoids.pl/" target="_blank">mkfuzzoids.pl</a> \<br>            crypto/objects/obj_dat.h \<br>            > fuzz/oids.txt )<br>( b=`pwd`; set -e; cd .; \<br>          /usr/bin/perl util/<a href="http://ck_errf.pl/" target="_blank">ck_errf.pl</a> -strict -internal; \<br>          /usr/bin/perl -I$b util/<a href="http://mkerr.pl/" target="_blank">mkerr.pl</a>  -internal )<div class="gmail-yj6qo"></div><div class="gmail-adL"><br></div><div class="gmail-adL"><br></div><div class="gmail-adL"><br></div><div class="gmail-adL"><br></div><div class="gmail-adL">... as I said the compilation is OK for each file (even the one with <span style="color:rgb(255,0,0);font-weight:bold">EVP_PKEY_get0_TUV</span>) , but then no .so libraries. Any suggestions? </div><div class="gmail-adL"><br></div><div class="gmail-adL">Kind regards</div><div class="gmail-adL">Giovanni Fontana</div><div class="gmail-adL"><br></div><div class="gmail-adL"><br></div><div class="gmail-adL"> </div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno lun 10 giu 2019 alle ore 16:12 Kyle Hamilton <<a href="mailto:aerowolf@gmail.com">aerowolf@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="auto">In the unmodified directory:<div dir="auto">$ make clean</div><div dir="auto">$ make 2>&1 | tee /tmp/openssl-working-build.log<div dir="auto"><br></div><div dir="auto">In the modified directory:</div><div dir="auto">$ make clean</div><div dir="auto">$ make 2>&1 | tee /tmp/openssl-broken-build.log</div><div dir="auto"><br></div><div dir="auto">$ diff /tmp/openssl-working-build.log /tmp/openssl-broken-build.log | ${PAGER:more}</div><div dir="auto"><br></div><div dir="auto">Take note of the differences in output, and use that to determine what broke.  (the '2>&1' syntax redirects stderr to stdout, which is very useful when you need to capture why something is failing.)</div><div dir="auto"><br></div><div dir="auto">Good luck.</div><div dir="auto"><br></div><div dir="auto">-Kyle H</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 10, 2019, 03:34 Giovanni Fontana <<a href="mailto:giovanni.fontana72@gmail.com" rel="noreferrer noreferrer noreferrer" target="_blank">giovanni.fontana72@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr">The unmodified version works. As I said, it's sure the issue is on what I added, but info from the building logs is not sufficient to figure out what is the issue there. So as result of the building I have just:<div><ul><li>libcrypto.a<br></li><li>libssl.a<br></li><li>libcrypto.map <br></li></ul></div><div><br></div><div>so what is missing are the following files:</div><div><ul><li>libssl.map<br></li><li>libcrypto.so<br></li><li>libssl.so<br></li></ul></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno dom 9 giu 2019 alle ore 19:30 Kyle Hamilton <<a href="mailto:aerowolf@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">aerowolf@gmail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="auto">Can you try building an unmodified version of the tarball, and see if it has a problem?<div dir="auto"><br></div><div dir="auto">-Kyle</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jun 9, 2019, 07:31 Giovanni Fontana <<a href="mailto:giovanni.fontana72@gmail.com" rel="noreferrer noreferrer noreferrer noreferrer" target="_blank">giovanni.fontana72@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><span style="color:rgb(0,0,0);font-family:Arial;font-size:13px">Hello Kurt,</span></div><div><span style="color:rgb(0,0,0);font-family:Arial;font-size:13px"><br></span></div><div dir="ltr"><ul><li><span style="color:rgb(0,0,0);font-family:Arial;font-size:13px">it's perl 5, version 26, subversion 1 (v5.26.1) built for x86_64-linux-gnu-thread-multi</span><br></li><li><span style="font-size:13px;color:rgb(0,0,0);font-family:Arial">ldd (Ubuntu GLIBC 2.27-3ubuntu1) 2.27</span><br></li></ul></div><div dir="ltr"><span style="color:rgb(0,0,0);font-family:Arial;font-size:13px"><br></span></div><div><font color="#000000" face="Arial">I guess is something from what I added since the original OPENSSL I'm able to build, as well as other intermediate modifications. My issue is it looks like the log doesn't give so much info and also the <b>make update</b> doesn't complete his task.</font></div><div><font color="#000000" face="Arial"><br></font></div><div><font color="#000000" face="Arial">BR</font></div><div><font color="#000000" face="Arial">Giovanni</font></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno sab 8 giu 2019 alle ore 18:07 Kurt Roeckx <<a href="mailto:kurt@roeckx.be" rel="noreferrer noreferrer noreferrer noreferrer noreferrer" target="_blank">kurt@roeckx.be</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">On Sat, Jun 08, 2019 at 12:26:30AM +0200, Giovanni Fontana wrote:<br>
> */usr/bin/ld:libcrypto.map:0: syntax error in VERSION scriptcollect2:<br>
<br>
There seems to be a problem generating the libcrypto.map file for<br>
you. What does the file look like? Which perl version are you<br>
using? Which libc do you use?<br>
<br>
<br>
Kurt<br>
<br>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>