iputils fails build

Dennis Veatch dveatch at woh.rr.com
Fri Aug 13 15:42:18 GMT 2004


+ patch_it "/var/spool/lunar/iputils-20001007-rh7.patch" "1"
patching file Makefile
patching file doc/Makefile
Hunk #1 succeeded at 2 with fuzz 2.
+ patch_it "/var/spool/lunar/iputils-20020124-countermeasures.patch" "1"
patching file ping_common.c
Hunk #1 succeeded at 662 (offset 34 lines).
+ patch_it "/var/spool/lunar/iputils-20020124-ping_sparcfix.patch" "1"
patching file ping_common.c
Hunk #1 succeeded at 810 (offset 35 lines).
+ patch_it "/var/spool/lunar/iputils-20020124-rdisc-server.patch" "1"
patching file rdisc.c
+ patch_it "/var/spool/lunar/iputils-20020927-addrcache.patch" "1"
patching file ping.c
patching file ping6.c
+ patch_it "/var/spool/lunar/iputils-20020927-icmp_seq.patch" "1"
patching file ping.c
Hunk #1 succeeded at 607 (offset -3 lines).
patching file ping6.c
+ patch_it "/var/spool/lunar/iputils-20020927-ping-subint.patch" "1"
patching file ping.c
Hunk #1 succeeded at 274 (offset -11 lines).
+ patch_it "/var/spool/lunar/traceroute6.patch" "1"
patching file traceroute6.c
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -Iinclude-glibc -include 
include-glibc/glibc-bugs.h -I../include     -s  tracepath.c  -lresolv -o 
tracepath
In file included from include-glibc/netinet/in.h:7,
                 from /usr/include/netdb.h:28,
                 from tracepath.c:19:
/usr/include/linux/in.h:152: error: field `gr_group' has incomplete type
/usr/include/linux/in.h:158: error: field `gsr_group' has incomplete type
/usr/include/linux/in.h:159: error: field `gsr_source' has incomplete type
/usr/include/linux/in.h:165: error: field `gf_group' has incomplete type
/usr/include/linux/in.h:168: error: field `gf_slist' has incomplete type
In file included from tracepath.c:21:
/usr/include/resolv.h:110: error: field `nsaddr_list' has incomplete type
/usr/include/resolv.h:120: error: field `addr' has incomplete type
tracepath.c: In function `recverr':
tracepath.c:70: error: storage size of `addr' isn't known
tracepath.c:105: warning: implicit declaration of function `ntohs'
tracepath.c:142: error: dereferencing pointer to incomplete type
tracepath.c:153: error: dereferencing pointer to incomplete type
tracepath.c:153: error: dereferencing pointer to incomplete type
tracepath.c:70: warning: unused variable `addr'
tracepath.c: In function `probe_ttl':
tracepath.c:235: error: invalid use of undefined type `struct sockaddr_in'
tracepath.c:235: warning: implicit declaration of function `htons'
tracepath.c:239: error: invalid application of `sizeof' to an incomplete type
tracepath.c: In function `main':
tracepath.c:302: error: invalid use of undefined type `struct sockaddr_in'
tracepath.c:315: error: invalid use of undefined type `struct sockaddr_in'
tracepath.c: At top level:
tracepath.c:35: error: storage size of `target' isn't known
make: *** [tracepath] Error 1
Creating /var/log/lunar/compile/iputils-ss020927.bz2
! Problem detected during BUILD


More information about the Lunar mailing list