[openssl-users] FW: problem with missing STDINT.H file

Jeffrey Walton noloader at gmail.com
Tue Jan 31 04:17:08 UTC 2017


> The attached text file is a snippet from attempting to install
> openssl-1.1.0c on a Solaris 8 machine. As can be seen, failed when
> <stdint.h> could not be found. There is no such file anywhere on this
> machine. As root, searched from the root directory for the file. Do have
> <stdio.h> in more than one location, /usr/include
> /opt/SUNWSpro/prod/include/CC/std   /opt/SUNWSpro/prod/include/CC/stlport4

CC is the Sun C++ compiler. C99 offered <stdint.h> and its available
for C programs. <stdint.h> provides uint32_t, uintptr_t and friends.
Many C++ compilers offer them, but the <stdint.h> types it was not
required for C++ until recently (C++11?).

Until this email, I thought Microsoft was the only implementation
which did not offer it in most of its compilers. Microsoft users must
include <stddef.h> instead (I think it changed in VS2013 with better
C++11 support).

I know <stdint.h> is available on later Solaris, but I don't know what
you need for early Solaris. Or maybe more correctly, its available in
later versions of Sun Studio/Oracle Studio/Developer Studio (like
versions 12).

The real question is for you, do you have the data types like
uint32_t, uintptr_t, and friends.

Jeff


More information about the openssl-users mailing list