Build the FIPS Object Module issue on Ubuntu 18.04

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

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

below steps are followed to Build the FIPS Object Module:

$ . ./
$ 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).

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>
-------------- 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: <>

More information about the openssl-users mailing list