INT_MIN INT_MAX ULONG_MAX

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi List,

I dowloaded the latest iptables git repo and tried to compile.
But I got these error messages:

../include/linux/netfilter_ipv4.h:53: error: 'INT_MIN' undeclared here (not in a function) ../include/linux/netfilter_ipv4.h:63: error: 'INT_MAX' undeclared here (not in a function)

libipt_ah.c: In function 'parse_ah_spi':
libipt_ah.c:36: error: 'ULONG_MAX' undeclared (first use in this function)
libipt_ah.c:36: error: (Each undeclared identifier is reported only once
libipt_ah.c:36: error: for each function it appears in.)

... and friends.

These errors can be corrected with inserting the "#include <limits.h>" line in each source file....

Why do I get the error message?

Thx,

Swifty
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux