Project

General

Profile

Bug #1022

mod_proxy_core_address.c doesn't compile on Cygwin

Added by eb over 12 years ago. Updated about 3 years ago.

Status:
Obsolete
Priority:
Normal
Assignee:
-
Category:
mod_proxy
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:
Yes

Description

mod_proxy_core_address.c in SVN trunk revision 1629 does not compile on Cygwin. Cygwin does not have the addrinfo struct nor ipv6 support. Compiling this file causes a string of errors related to this:

/bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DLIBRARY_DIR="\"/usr/local/musicbin/lib\"" -I. -I.. -D_REENTRANT -D+EXTENSIONS_+ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -MT mod_proxy_core_address.lo -MD -MP -MF .deps/mod_proxy_core_address.Tpo -c -o mod_proxy_core_address.lo mod_proxy_core_address.c
gcc -DHAVE_CONFIG_H -DLIBRARY_DIR=\"/usr/local/musicbin/lib\" -I. -I.. -D_REENTRANT -D+EXTENSIONS_+ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_REENTRANT -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall -W -Wshadow -pedantic -std=gnu99 -MT mod_proxy_core_address.lo -MD -MP -MF .deps/mod_proxy_core_address.Tpo -c mod_proxy_core_address.c -DDLL_EXPORT -DPIC -o .libs/mod_proxy_core_address.o
mod_proxy_core_address.c: In function `proxy_address_pool_add_string':
mod_proxy_core_address.c:71: error: storage size of 'pref' isn't known
mod_proxy_core_address.c:160: warning: implicit declaration of function `getaddrinfo'
mod_proxy_core_address.c:161: warning: implicit declaration of function `gai_strerror'
mod_proxy_core_address.c:172: error: dereferencing pointer to incomplete type
mod_proxy_core_address.c:175: error: dereferencing pointer to incomplete type
mod_proxy_core_address.c:175: error: dereferencing pointer to incomplete type
mod_proxy_core_address.c:176: error: dereferencing pointer to incomplete type
mod_proxy_core_address.c:181: error: dereferencing pointer to incomplete type
mod_proxy_core_address.c:182: error: `AF_INET6' undeclared (first use in this function)
mod_proxy_core_address.c:182: error: (Each undeclared identifier is reported only once
mod_proxy_core_address.c:182: error: for each function it appears in.)
mod_proxy_core_address.c:184: error: dereferencing pointer to incomplete type
mod_proxy_core_address.c:184: error: union has no member named `ipv6'
mod_proxy_core_address.c:187: error: union has no member named `ipv6'
mod_proxy_core_address.c:187: error: union has no member named `ipv6'
mod_proxy_core_address.c:187: error: union has no member named `ipv6'
mod_proxy_core_address.c:187: error: union has no member named `ipv6'
mod_proxy_core_address.c:190: error: dereferencing pointer to incomplete type
mod_proxy_core_address.c:197: error: dereferencing pointer to incomplete type
mod_proxy_core_address.c:205: warning: implicit declaration of function `freeaddrinfo'
mod_proxy_core_address.c:71: warning: unused variable `pref'

History

#1

Updated by eb over 12 years ago

Sorry, the Version for this should be 1.5.x-svn

#2

Updated by gstrauss over 3 years ago

  • Description updated (diff)
  • Category changed from core to mod_proxy
  • Target version set to 1.5.0
#3

Updated by gstrauss about 3 years ago

  • Assignee deleted (jan)
  • Missing in 1.5.x set to Yes
#4

Updated by gstrauss about 3 years ago

  • Status changed from New to Obsolete

Also available in: Atom