<div>Hello</div>
<div>I saw in the net references to this problem but with no actual solution...</div>
<div>I have problems compiling xcb1.0 under cygwin</div>
<div>I get the following erros (during compiling):</div>
<div> </div>
<div>c xcb_util.c -DPIC -o .libs/xcb_util.o<br>xcb_util.c: In function `_xcb_open_tcp':<br>xcb_util.c:179: error: variable `hints' has initializer but incomplete type<br>xcb_util.c:183: error: `AI_ADDRCONFIG' undeclared (first use in this function)
<br>xcb_util.c:183: error: (Each undeclared identifier is reported only once<br>xcb_util.c:183: error: for each function it appears in.)<br>xcb_util.c:183: warning: excess elements in struct initializer<br>xcb_util.c:183: warning: (near initialization for `hints')
<br>xcb_util.c:183: warning: excess elements in struct initializer<br>xcb_util.c:183: warning: (near initialization for `hints')<br>xcb_util.c:183: warning: excess elements in struct initializer<br>xcb_util.c:183: warning: (near initialization for `hints')
<br>xcb_util.c:179: error: storage size of 'hints' isn't known<br>xcb_util.c:193: error: `AI_NUMERICHOST' undeclared (first use in this function)<br>xcb_util.c:194: error: `AF_INET6' undeclared (first use in this function)
<br>xcb_util.c:198: warning: implicit declaration of function `getaddrinfo'<br>xcb_util.c:198: warning: nested extern declaration of `getaddrinfo'<br>xcb_util.c:202: error: dereferencing pointer to incomplete type
<br>xcb_util.c:204: error: dereferencing pointer to incomplete type<br>xcb_util.c:204: error: dereferencing pointer to incomplete type<br>xcb_util.c:204: error: dereferencing pointer to incomplete type<br>xcb_util.c:205: error: dereferencing pointer to incomplete type
<br>xcb_util.c:205: error: dereferencing pointer to incomplete type<br>xcb_util.c:209: warning: implicit declaration of function `freeaddrinfo'<br>xcb_util.c:209: warning: nested extern declaration of `freeaddrinfo'
<br>xcb_util.c:179: warning: unused variable `hints'<br>make[2]: *** [xcb_util.lo] Error 1<br>make[2]: Leaving directory `/home/Xorg/source/xcb/libxcb/src'<br>make[1]: *** [all] Error 2<br>make[1]: Leaving directory `/home/Xorg/source/xcb/libxcb/src'
</div>
<div> </div>
<div>are there any flags needed to be added to ./configure command line?</div>
<div> </div>
<div>thanks in advance</div>
<div> </div>
<div>azencot omri</div>