Hello,

On Debian Woody (kernel 2.4.18, gcc 2.95.4, Glibc 2.2.5), building
Wget 1.10 alpha 3 fails:

| checking for clock_gettime... no
| checking for clock_gettime in -lrt... yes
    [...]
| gcc -I. -I.    -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c ptimer.c
| ptimer.c: In function `posix_init':
| ptimer.c:143: `CLOCK_MONOTONIC' undeclared (first use in this function)
| ptimer.c:143: (Each undeclared identifier is reported only once
| ptimer.c:143: for each function it appears in.)
| ptimer.c:143: initializer element is not constant
| ptimer.c:143: (near initialization for `clocks[0].id')
| make[1]: *** [ptimer.o] Error 1
| make[1]: Leaving directory `/tmp/wget-1.10-alpha3/src'
| make: *** [src] Error 2


On older Debian Bo (kernel 2.0.40, gcc 2.7.2.1, libc 5.4.33) also fails:

| checking for getaddrinfo... no
| configure: Disabling IPv6 support: your system does not support getaddrinfo(3)
| checking for INET6 protocol support... yes
| checking for struct sockaddr_in6... yes
| checking for struct sockaddr_storage... no
| checking for struct sockaddr_in6.sin6_scope_id... no
    [...]
| gcc -I. -I. -I/opt/include   -DHAVE_CONFIG_H 
-DSYSTEM_WGETRC=\"/usr/local/etc/wgetrc\" 
-DLOCALEDIR=\"/usr/local/share/locale\" -O2 -Wall -Wno-implicit -c connect.c
| In file included from connect.c:61:
| host.h:63: field `addr' has incomplete type
| connect.c: In function `connect_to_ip':
| connect.c:262: storage size of `ss' isn't known
| connect.c:319: storage size of `bind_ss' isn't known
| connect.c:319: warning: unused variable `bind_ss'
| connect.c:262: warning: unused variable `ss'
| connect.c: In function `bind_local':
| connect.c:424: storage size of `ss' isn't known
| connect.c:424: warning: unused variable `ss'
| connect.c: In function `accept_connection':
| connect.c:496: storage size of `ss' isn't known
| connect.c:496: warning: unused variable `ss'
| connect.c: In function `socket_ip_address':
| connect.c:523: storage size of `storage' isn't known
| connect.c:523: warning: unused variable `storage'
| make[1]: *** [connect.o] Error 1
| make[1]: Leaving directory `/tmp/wget-1.10-alpha3/src'
| make: *** [src] Error 2


Alain.

Reply via email to