Hi all,
On 2010-02-26 16:02, Willy Tarreau wrote:
> I'm obviously interested in any problem report :-)
I'm trying to compile Haproxy 1.4 on Opensolaris Build 133 (i386 on a
Core i7). This however fails.
make TARGET=solaris CPU=i686 USE_STATIC_PCRE=1
SMALL_OPTS="-I/usr/include/pcre"
[...]
gcc -Iinclude -Iebtree -Wall -O2 -march=i686 -g -fomit-frame-pointer
-DFD_SETSIZE=65536 -D_REENTRANT -I/usr/include/pcre -DTPROXY
-DENABLE_POLL -DUSE_PCRE -I/usr/include
-DCONFIG_HAPROXY_VERSION=\"1.4.0\" -DCONFIG_HAPROXY_DATE=\"2010/02/26\"
-c -o src/auth.o src/auth.c
In file included from include/types/fd.h:32,
from include/proto/fd.h:31,
from include/common/standard.h:32,
from include/common/compat.h:29,
from include/types/acl.h:25,
from include/proto/acl.h:26,
from src/auth.c:22:
include/types/protocols.h:87: error: field `addr' has incomplete type
In file included from include/types/queue.h:29,
from include/types/server.h:37,
from include/types/lb_map.h:26,
from include/types/backend.h:29,
from include/types/proxy.h:40,
from include/types/acl.h:30,
from include/proto/acl.h:26,
from src/auth.c:22:
include/types/session.h:170: error: field `cli_addr' has incomplete type
include/types/session.h:171: error: field `frt_addr' has incomplete type
In file included from include/types/acl.h:30,
from include/proto/acl.h:26,
from src/auth.c:22:
include/types/proxy.h:154: error: field `src' has incomplete type
make: *** [src/auth.o] Error 1
I'm at an end here as my knowledge of C is rather sparse as is my
(Open)solaris experience.
--Holger