[Xcb] problem with compiling xcb1.0
Omri Azencot
azencot.ml at gmail.com
Thu Aug 9 04:24:30 PDT 2007
Hello
I saw in the net references to this problem but with no actual solution...
I have problems compiling xcb1.0 under cygwin
I get the following erros (during compiling):
c xcb_util.c -DPIC -o .libs/xcb_util.o
xcb_util.c: In function `_xcb_open_tcp':
xcb_util.c:179: error: variable `hints' has initializer but incomplete type
xcb_util.c:183: error: `AI_ADDRCONFIG' undeclared (first use in this
function)
xcb_util.c:183: error: (Each undeclared identifier is reported only once
xcb_util.c:183: error: for each function it appears in.)
xcb_util.c:183: warning: excess elements in struct initializer
xcb_util.c:183: warning: (near initialization for `hints')
xcb_util.c:183: warning: excess elements in struct initializer
xcb_util.c:183: warning: (near initialization for `hints')
xcb_util.c:183: warning: excess elements in struct initializer
xcb_util.c:183: warning: (near initialization for `hints')
xcb_util.c:179: error: storage size of 'hints' isn't known
xcb_util.c:193: error: `AI_NUMERICHOST' undeclared (first use in this
function)
xcb_util.c:194: error: `AF_INET6' undeclared (first use in this function)
xcb_util.c:198: warning: implicit declaration of function `getaddrinfo'
xcb_util.c:198: warning: nested extern declaration of `getaddrinfo'
xcb_util.c:202: error: dereferencing pointer to incomplete type
xcb_util.c:204: error: dereferencing pointer to incomplete type
xcb_util.c:204: error: dereferencing pointer to incomplete type
xcb_util.c:204: error: dereferencing pointer to incomplete type
xcb_util.c:205: error: dereferencing pointer to incomplete type
xcb_util.c:205: error: dereferencing pointer to incomplete type
xcb_util.c:209: warning: implicit declaration of function `freeaddrinfo'
xcb_util.c:209: warning: nested extern declaration of `freeaddrinfo'
xcb_util.c:179: warning: unused variable `hints'
make[2]: *** [xcb_util.lo] Error 1
make[2]: Leaving directory `/home/Xorg/source/xcb/libxcb/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/Xorg/source/xcb/libxcb/src'
are there any flags needed to be added to ./configure command line?
thanks in advance
azencot omri
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/xcb/attachments/20070809/0eb5eeb9/attachment.html
More information about the Xcb
mailing list