<html><head></head><body><div class="yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr" data-setdir="false">Hello,<br><br>I am using cross compiler toolchain (<span>arm-hisiv200-linux-gnueabi) </span>to compile openssl library for arm based custom board.<br>I had no problems to compile version 1.1.1a, however I am having troubles to compile versions 1.1.1i and 1.1.1k:<br><br><div><div>${LDCMD:-arm-hisiv200-linux-gnueabi-gcc} -pthread -Wa,--noexecstack -Wall -O3 -L.   \</div><div><span style="white-space: pre-wrap;">   </span>-o apps/openssl apps/asn1pars.o apps/ca.o apps/ciphers.o apps/cms.o apps/crl.o apps/crl2p7.o apps/dgst.o apps/dhparam.o apps/dsa.o apps/dsaparam.o apps/ec.o apps/ecparam.o apps/enc.o apps/engine.o apps/errstr.o apps/gendsa.o apps/genpkey.o apps/genrsa.o apps/nseq.o apps/ocsp.o apps/openssl.o apps/passwd.o apps/pkcs12.o apps/pkcs7.o apps/pkcs8.o apps/pkey.o apps/pkeyparam.o apps/pkeyutl.o apps/prime.o apps/rand.o apps/rehash.o apps/req.o apps/rsa.o apps/rsautl.o apps/s_client.o apps/s_server.o apps/s_time.o apps/sess_id.o apps/smime.o apps/speed.o apps/spkac.o apps/srp.o apps/storeutl.o apps/ts.o apps/verify.o apps/version.o apps/x509.o \</div><div><span style="white-space: pre-wrap;">  </span> apps/libapps.a -lssl -lcrypto -ldl -pthread </div><div>./libcrypto.so: undefined reference to `set_sys_error'</div><div>collect2: ld returned 1 exit status</div><div>Makefile:6271: recipe for target 'apps/openssl' failed</div><div>make[1]: *** [apps/openssl] Error 1</div><div>make[1]: Leaving directory '/home/bshpungin/tools/openssl/1.1.1k'</div><div>Makefile:174: recipe for target 'all' failed</div><div>make: *** [all] Error 2</div><div><br></div></div>Can anyone advise what could be the problem and where <span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">set_sys_error function/macro is defined?</span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;"><br></span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">Thanks</span></span></div><div dir="ltr" data-setdir="false"><span><span style="color: rgb(0, 0, 0); font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;">Robert</span></span></div></div></body></html>