Problem compiling dovecot 2.2.31 on Solaris
James
list at xdrv.co.uk
Fri Jul 21 17:04:59 EEST 2017
On 21/07/2017 13:38, Levente wrote:
> You are missing stdint.h. Try to locate that, and include the
> directory. However, this is odd, since it should be shipped with GCC
> itself.
Headers are generally supplied by the OS not the compiler, stdint.h is
$ find /usr/include -name stdint.h
/usr/include/sys/stdint.h
/usr/include/stdint.h
from SUNWhea on S10 and system/header on S11. Nevertheless it's missing
on Solaris 8 and 9. You can make your own, this worked for me on Solaris
9 at least once, untested recently:
#ifndef _STDINT_H
#define _STDINT_H
#include <sys/int_types.h>
#include <sys/int_limits.h>
#include <sys/int_const.h>
#endif /* _STDINT_H */
Or just #define what you think it needs, it's not complex.
More information about the dovecot
mailing list