defining uint64_t, etc., during configure

Brian Lewis brian at monetra.com
Wed Apr 28 00:09:36 MSD 2010


On Tuesday, 27.04.10 at 23:50, Igor Sysoev wrote:
> It seems SCO has int32_t. Then could you show what is after
> "checking for int32_t" in objs/autoconf.err ?

objs/autotest.c: In function `main':
objs/autotest.c:11: error: `int32_t' undeclared (first use in this function)
objs/autotest.c:11: error: (Each undeclared identifier is reported only once
objs/autotest.c:11: error: for each function it appears in.)
objs/autotest.c:11: error: parse error before "i"
----------

#include <sys/types.h>
#include <signal.h>
#include <sys/socket.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <netinet/in.h>


int main() {
    int32_t i = 0;
    return 0;
}

Adding '#include <sys/bitypes.h>' lets autotest.c compile.



More information about the nginx mailing list