Error of make
Closed this issue · 4 comments
angusding commented
In file included from src/xtproxy_client.c:7:
/usr/include/linux/netfilter_ipv4.h:53: error: 'INT_MIN' undeclared here (not in a function)
/usr/include/linux/netfilter_ipv4.h:64: error: 'INT_MAX' undeclared here (not in a function)
make: *** [src/xtproxy_client.o] Error 1
lparam commented
what's you compile environment?
try add "#include <limits.h>" before #include <linux/netfilter_ipv4.h> .
angusding commented
centos6.5 and OpenVZ VPS.
lparam commented
try add "#include <limits.h>" before "#include <netfilter_ipv4.h>".
angusding commented
It's ok after add "#include <limits.h>" at line 6 in the file "src/xtproxy_client.c". I have to add comments at lines related "xtproxy" in the file "Makefile" before get your solution.
Now close this issues.