Hi,
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.
I am following the steps in https://wiki.openssl.org/index.php/FIPS_Library_and_Android
below steps are followed to Build the FIPS Object Module:
$ . ./setenv-android.sh $ cd openssl-fips-2.0.5/ $ ./config $ make
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>
I do have the libraries under /usr/inlcude but the make is not looking at the right path.
below is the error message received:
In file included from cryptlib.c:117:0:
cryptlib.h:62:20: fatal error: stdlib.h: No such file or directory
#include <stdlib.h>
^
compilation terminated.
<builtin>: recipe for target 'cryptlib.o' failed
make[1]: *** [cryptlib.o] Error 1
Also, attaching the complete error log. Could you please suggest what is the issue and where to change the path reference (in config).
Thanks,
Sreekanth
Sreekanth
Attachment:
Build FIPS Object Module_x86_Ubuntu_18.04
Description: Binary data