Hi, On Tue, Aug 04, 2009 at 01:10:52AM +0200, Andrew Azarov wrote: > Hi, > > While compiling the 1.4 dev 1 version snapshot I encountered this error > > fw# gmake USE_PCRE=1 TARGET=freebsd (...) > gcc -Iinclude -Wall -O2 -g -DTPROXY -DENABLE_POLL -DENABLE_KQUEUE > -DUSE_PCRE -I/usr/local/include -DCONFIG_HAPROXY_VERSION=\"1.4-dev1\" > -DCONFIG_HAPROXY_DATE=\"2009/07/27\" -c -o src/stream_sock.o > src/stream_sock.c > In file included from src/stream_sock.c:19: > /usr/include/netinet/tcp.h:40: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'tcp_seq' > /usr/include/netinet/tcp.h:50: error: expected specifier-qualifier-list > before 'u_short' > /usr/include/netinet/tcp.h:175: error: expected specifier-qualifier-list > before 'u_int8_t' > gmake: *** [src/stream_sock.o] Error 1
quite strange, it means they provide a header which does not solve its own dependencies. Could you please try to add the following line before #include <netinet/tcp.h> in src/stream_sock.c : #include <sys/types.h> I think it should fix the issue. If so, I'll add it to the source. Thanks! Willy

