HAProxy under 2.6 x64

From: Robert Simmons <robert#me.com>
Date: Wed, 11 Feb 2009 22:10:04 +0000


Hello All,

I'm currently working on a project for my degree utilising HAProxy, and I am having trouble getting it to compile under Fedora 9 x64 (2.6.27.9-73.fc9.x86_64). As it stands, the compilation bombs out on compiling netfilter - but I am at a loss to explain why, or find the solution other than "it doesn't work". Does anyone have HAProxy running under x64 using the 2.6 kernel - if so, what distro and version?

Build Output:
[root#eskimo haproxy-1.2.18]# make TARGET=linux26 CPU=x64 gcc -Wall -I. -DNETFILTER -DENABLE_POLL -DENABLE_EPOLL - DSTATTIME=0 -DTPROXY -g -c -o haproxy.o haproxy.c In file included from haproxy.c:68:
/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: *** [haproxy.o] Error 1

TIA. Robert Simmons Received on 2009/02/11 23:10

This archive was generated by hypermail 2.2.0 : 2009/02/12 00:15 CET