[Bug 17937] New: Cygwin compilation fails in rpc_transport.c

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Apr 3 09:17:54 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=17937

           Summary: Cygwin compilation fails in rpc_transport.c
           Product: Wine
           Version: 1.1.18
          Platform: PC
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P2
         Component: rpc
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dgerard at gmail.com


./configure --without-freetype && make depend && make bombs out during the
make:

ccache gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_RPCRT4_
-DCOM_NO_WINDOWS_H -DMSWMSG -D_REENTRANT -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith  -g -O2  -o
rpc_transport.o rpc_transport.c
rpc_transport.c: In function `rpcrt4_ncacn_ip_tcp_open':
rpc_transport.c:797: error: storage size of 'hints' isn't known
rpc_transport.c:813: warning: implicit declaration of function `getaddrinfo'
rpc_transport.c:816: warning: implicit declaration of function `gai_strerror'
rpc_transport.c:816: warning: format argument is not a pointer (arg 7)
rpc_transport.c:821: error: dereferencing pointer to incomplete type
rpc_transport.c:825: error: dereferencing pointer to incomplete type
rpc_transport.c:825: error: dereferencing pointer to incomplete type
rpc_transport.c:825: error: `AF_INET6' undeclared (first use in this function)
rpc_transport.c:825: error: (Each undeclared identifier is reported only once
rpc_transport.c:825: error: for each function it appears in.)
rpc_transport.c:835: warning: implicit declaration of function `getnameinfo'
rpc_transport.c:835: error: dereferencing pointer to incomplete type
rpc_transport.c:835: error: dereferencing pointer to incomplete type
rpc_transport.c:837: error: `NI_NUMERICHOST' undeclared (first use in this
function)
rpc_transport.c:837: error: `NI_NUMERICSERV' undeclared (first use in this
function)
rpc_transport.c:841: error: dereferencing pointer to incomplete type
rpc_transport.c:841: error: dereferencing pointer to incomplete type
rpc_transport.c:841: error: dereferencing pointer to incomplete type
rpc_transport.c:848: error: dereferencing pointer to incomplete type
rpc_transport.c:848: error: dereferencing pointer to incomplete type
rpc_transport.c:862: warning: implicit declaration of function `freeaddrinfo'
rpc_transport.c:797: warning: unused variable `hints'
rpc_transport.c: In function `rpcrt4_protseq_ncacn_ip_tcp_open_endpoint':
rpc_transport.c:879: error: storage size of 'hints' isn't known
rpc_transport.c:884: error: `AI_PASSIVE' undeclared (first use in this
function)
rpc_transport.c:896: warning: format argument is not a pointer (arg 6)
rpc_transport.c:898: error: `EAI_SERVICE' undeclared (first use in this
function)
rpc_transport.c:898: error: `EAI_NONAME' undeclared (first use in this
function)
rpc_transport.c:903: error: dereferencing pointer to incomplete type
rpc_transport.c:909: error: `NI_MAXSERV' undeclared (first use in this
function)
rpc_transport.c:911: error: dereferencing pointer to incomplete type
rpc_transport.c:911: error: dereferencing pointer to incomplete type
rpc_transport.c:911: error: `AF_INET6' undeclared (first use in this function)
rpc_transport.c:920: error: dereferencing pointer to incomplete type
rpc_transport.c:920: error: dereferencing pointer to incomplete type
rpc_transport.c:922: error: `NI_NUMERICHOST' undeclared (first use in this
function)
rpc_transport.c:922: error: `NI_NUMERICSERV' undeclared (first use in this
function)
rpc_transport.c:926: error: dereferencing pointer to incomplete type
rpc_transport.c:926: error: dereferencing pointer to incomplete type
rpc_transport.c:926: error: dereferencing pointer to incomplete type
rpc_transport.c:934: error: dereferencing pointer to incomplete type
rpc_transport.c:934: error: dereferencing pointer to incomplete type
rpc_transport.c:959: warning: format argument is not a pointer (arg 5)
rpc_transport.c:909: warning: unused variable `service'
rpc_transport.c:879: warning: unused variable `hints'
rpc_transport.c: In function `rpcrt4_ip_tcp_get_top_of_tower':
rpc_transport.c:1178: error: storage size of 'hints' isn't known
rpc_transport.c:1200: error: `AI_NUMERICHOST' undeclared (first use in this
function)
rpc_transport.c:1216: warning: format argument is not a pointer (arg 5)
rpc_transport.c:1221: error: dereferencing pointer to incomplete type
rpc_transport.c:1223: error: dereferencing pointer to incomplete type
rpc_transport.c:1229: error: dereferencing pointer to incomplete type
rpc_transport.c:1178: warning: unused variable `hints'
make[2]: *** [rpc_transport.o] Error 1
make[2]: Leaving directory `/cygdrive/d/wine-git/dlls/rpcrt4'
make[1]: *** [rpcrt4] Error 2
make[1]: Leaving directory `/cygdrive/d/wine-git/dlls'
make: *** [dlls] Error 2


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list