Hi All,

I test my HAProxy code in docker containers over alpine Linux and I can't
build the haproxy -dev branch anymore...
I have the following error:
gcc -Iinclude -Iebtree -Wall  -O0 -g -fno-strict-aliasing
-Wdeclaration-after-statement       -DCONFIG_HAP_LINUX_SPLICE -DTPROXY
-DCONFIG_HAP_LINUX_TPROXY -DCONFIG_HAP_CRYPT -DUSE_ZLIB  -DENABLE_POLL
-DENABLE_EPOLL -DUSE_CPU_AFFINITY -DASSUME_SPLICE_WORKS -DUSE_ACCEPT4
-DNETFILTER -DUSE_GETSOCKNAME -DUSE_OPENSSL  -DUSE_SYSCALL_FUTEX -DUSE_PCRE
-I/usr/include  -DCONFIG_HAPROXY_VERSION=\"1.7-dev3-aa1ea8-87\"
-DCONFIG_HAPROXY_DATE=\"2016/08/07\" -c -o src/proto_tcp.o src/proto_tcp.c
src/proto_tcp.c: In function 'get_tcp_info':
src/proto_tcp.c:2329:18: error: storage size of 'info' isn't known
  struct tcp_info info;
                  ^
src/proto_tcp.c:2329:18: warning: unused variable 'info' [-Wunused-variable]
Makefile:791: recipe for target 'src/proto_tcp.o' failed
make: *** [src/proto_tcp.o] Error 1


I checked, the struct tcp_info is well defined in files included by haproxy
(/usr/src/netinet/tcp.h and /usr/src/linux/tcp.h)...
The same source code compile properly on my laptop powered (sic) by
Ubuntu...

Any help would be much appreciated since I don't know where to dig anymore
and I don't want to use ubuntu in my containers..

Baptiste

Reply via email to