Build the FIPS Object Module issue on Ubuntu 18.04

Sreekanth Reddy sreekanth1m at gmail.com
Fri May 10 15:13:07 UTC 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20190510/91160c09/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Build FIPS Object Module_x86_Ubuntu_18.04
Type: application/octet-stream
Size: 24672 bytes
Desc: not available
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20190510/91160c09/attachment-0001.obj>


More information about the openssl-users mailing list