<div dir="ltr"><div dir="ltr">Hi,<div>I am trying to build the FIPS object module using the fips library openssl-fips-2.0.16 on Ubuntu 18.04 for x86 arch.</div><div>I am following the steps in <a href="https://wiki.openssl.org/index.php/FIPS_Library_and_Android">https://wiki.openssl.org/index.php/FIPS_Library_and_Android</a></div><div><br></div><div>below steps are followed to Build the FIPS Object Module:</div><div><pre style="font-family:monospace,Courier;color:rgb(0,0,0);background-color:rgb(249,249,249);border:1px solid rgb(221,221,221);padding:1em;white-space:pre-wrap;line-height:1.1em;font-size:12.7px">$ . ./setenv-android.sh
$ cd openssl-fips-2.0.5/
$ ./config
$ make</pre></div><div>First 3 steps are successful, able to set the environment paths, run the config but make fails with error "cryptlib.h:62:20: fatal error: stdlib.h: No such file or directory" - "#inlcude <stdlib.h></div><div><br></div><div>I do have the libraries under /usr/inlcude but the make is not looking at the right path.</div><div><br></div><div>below is the error message received:</div><div><div><font face="times new roman, serif">In file included from cryptlib.c:117:0:</font></div><div><font face="times new roman, serif">cryptlib.h:62:20: fatal error: stdlib.h: No such file or directory</font></div><div><font face="times new roman, serif"> #include <stdlib.h></font></div><div><font face="times new roman, serif">                    ^</font></div><div><font face="times new roman, serif">compilation terminated.</font></div><div><font face="times new roman, serif"><builtin>: recipe for target 'cryptlib.o' failed</font></div><div><font face="times new roman, serif">make[1]: *** [cryptlib.o] Error 1</font></div></div><h3 style="color:rgb(0,0,0);background-image:none;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;margin:0px 0px 0.3em;overflow:hidden;padding-top:0.5em;padding-bottom:0.17em;border-bottom:none;font-size:16.256px;font-family:sans-serif"><br></h3><div><font face="arial, helvetica, sans-serif">Also, attaching the complete error log. Could you please suggest what is the issue and where to change the path reference (in config).</font></div><div><font face="arial, helvetica, sans-serif"><br></font></div><div><font face="arial, helvetica, sans-serif">Thanks,<br>Sreekanth </font></div></div></div>