Subject: current won't build, and stops in libpcap
To: None <current-users@netbsd.org>
From: Hisashi T Fujinaka <htodd@twofifty.com>
List: current-users
Date: 09/27/2004 20:14:42
Trying with very current sources using build.sh -U distribution:
dependall ===> lib/libpcap
# compile libpcap/gencode.ln
CC=/usr/src/obj.i386/tooldir.NetBSD-2.0H-i386/bin/i386--netbsdelf-gcc /usr/src/obj.i386/tooldir.NetBSD-2.0H-i386/bin/i386--netbsdelf-lint -chapbxzF -d /usr/src/obj.i386/destdir.i386/usr/include -I. -I/usr/src/lib/libpcap -I/usr/src/sys/dist/pf -DYYBISON -DINET6 -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_NETINET_IF_ETHER_H -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_IFADDRS_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SNPRINTF=1 -DHAVE_STRLCPY=1 -DHAVE_VSNPRINTF=1 -i /usr/src/lib/libpcap/gencode.c
/usr/src/lib/libpcap/gencode.c(742): DLT_ARCNET_LINUX undefined [99]
/usr/src/lib/libpcap/gencode.c(742): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(774): DLT_LOOP undefined [99]
/usr/src/lib/libpcap/gencode.c(774): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(780): DLT_ENC undefined [99]
/usr/src/lib/libpcap/gencode.c(780): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(787): DLT_C_HDLC undefined [99]
/usr/src/lib/libpcap/gencode.c(787): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(896): DLT_IEEE802_11_RADIO_AVS undefined [99]
/usr/src/lib/libpcap/gencode.c(896): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(940): DLT_ATM_CLIP undefined [99]
/usr/src/lib/libpcap/gencode.c(940): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(950): DLT_SUNATM undefined [99]
/usr/src/lib/libpcap/gencode.c(950): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(980): DLT_LINUX_SLL undefined [99]
/usr/src/lib/libpcap/gencode.c(980): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(986): DLT_LTALK undefined [99]
/usr/src/lib/libpcap/gencode.c(986): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(997): DLT_IP_OVER_FC undefined [99]
/usr/src/lib/libpcap/gencode.c(997): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(1013): DLT_FRELAY undefined [99]
/usr/src/lib/libpcap/gencode.c(1013): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(1023): DLT_APPLE_IP_OVER_IEEE1394 undefined [99]
/usr/src/lib/libpcap/gencode.c(1023): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(1029): DLT_LINUX_IRDA undefined [99]
/usr/src/lib/libpcap/gencode.c(1029): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(1287): DLT_C_HDLC undefined [99]
/usr/src/lib/libpcap/gencode.c(1287): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(1305): DLT_ATM_CLIP undefined [99]
/usr/src/lib/libpcap/gencode.c(1305): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(1306): DLT_IP_OVER_FC undefined [99]
/usr/src/lib/libpcap/gencode.c(1306): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(1309): DLT_SUNATM undefined [99]
/usr/src/lib/libpcap/gencode.c(1309): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(1343): DLT_LINUX_SLL undefined [99]
/usr/src/lib/libpcap/gencode.c(1343): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(1631): DLT_LOOP undefined [99]
/usr/src/lib/libpcap/gencode.c(1631): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(1632): DLT_ENC undefined [99]
/usr/src/lib/libpcap/gencode.c(1632): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(1691): warning: bitwise operation on signed value possibly nonportable [117]
/usr/src/lib/libpcap/gencode.c(1691): warning: bitwise operation on signed value possibly nonportable [117]
/usr/src/lib/libpcap/gencode.c(1692): warning: conversion to 'unsigned int' due to prototype, arg #1 [259]
/usr/src/lib/libpcap/gencode.c(1715): DLT_ARCNET_LINUX undefined [99]
/usr/src/lib/libpcap/gencode.c(1715): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(1758): DLT_LTALK undefined [99]
/usr/src/lib/libpcap/gencode.c(1758): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(1768): DLT_FRELAY undefined [99]
/usr/src/lib/libpcap/gencode.c(1768): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(1814): DLT_LINUX_IRDA undefined [99]
/usr/src/lib/libpcap/gencode.c(1814): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(2053): warning: pointer casts may be troublesome [247]
/usr/src/lib/libpcap/gencode.c(2054): warning: pointer casts may be troublesome [247]
/usr/src/lib/libpcap/gencode.c(3736): DLT_FRELAY undefined [99]
/usr/src/lib/libpcap/gencode.c(3736): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(3757): DLT_C_HDLC undefined [99]
/usr/src/lib/libpcap/gencode.c(3757): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(3967): DLT_IP_OVER_FC undefined [99]
/usr/src/lib/libpcap/gencode.c(3967): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(3976): DLT_SUNATM undefined [99]
/usr/src/lib/libpcap/gencode.c(3976): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(4335): warning: pointer casts may be troublesome [247]
/usr/src/lib/libpcap/gencode.c(4336): warning: pointer casts may be troublesome [247]
/usr/src/lib/libpcap/gencode.c(4378): DLT_SUNATM undefined [99]
/usr/src/lib/libpcap/gencode.c(4394): DLT_IP_OVER_FC undefined [99]
/usr/src/lib/libpcap/gencode.c(4809): DLT_ARCNET_LINUX undefined [99]
/usr/src/lib/libpcap/gencode.c(4819): DLT_IP_OVER_FC undefined [99]
/usr/src/lib/libpcap/gencode.c(4821): DLT_SUNATM undefined [99]
/usr/src/lib/libpcap/gencode.c(4885): DLT_ARCNET_LINUX undefined [99]
/usr/src/lib/libpcap/gencode.c(5029): DLT_IP_OVER_FC undefined [99]
/usr/src/lib/libpcap/gencode.c(5034): DLT_SUNATM undefined [99]
/usr/src/lib/libpcap/gencode.c(5094): DLT_LINUX_SLL undefined [99]
/usr/src/lib/libpcap/gencode.c(5094): non-constant case expression [197]
/usr/src/lib/libpcap/gencode.c(5246): DLT_ARCNET_LINUX undefined [99]
/usr/src/lib/libpcap/gencode.c(109): warning: static variable orig_nl_nosnap set but not used [307]
*** Failed target: gencode.ln
*** Failed command: CC=/usr/src/obj.i386/tooldir.NetBSD-2.0H-i386/bin/i386--netbsdelf-gcc /usr/src/obj.i386/tooldir.NetBSD-2.0H-i386/bin/i386--netbsdelf-lint -chapbxzF -d /usr/src/obj.i386/destdir.i386/usr/include -I. -I/usr/src/lib/libpcap -I/usr/src/sys/dist/pf -DYYBISON -DINET6 -DHAVE_MALLOC_H=1 -DHAVE_SYS_IOCCOM_H=1 -DHAVE_SYS_SOCKIO_H=1 -DHAVE_NETINET_IF_ETHER_H -DHAVE_ETHER_HOSTTON=1 -DHAVE_STRERROR=1 -DHAVE_SOCKADDR_SA_LEN=1 -DHAVE_IFADDRS_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SNPRINTF=1 -DHAVE_STRLCPY=1 -DHAVE_VSNPRINTF=1 -i /usr/src/lib/libpcap/gencode.c
*** Error code 1
Stop.
nbmake: stopped in /usr/src/lib/libpcap
*** Failed target: dependall
*** Failed command: cd /usr/src/lib/libpcap; /usr/src/obj.i386/tooldir.NetBSD-2.0H-i386/bin/nbmake realall
*** Error code 1
Stop.
nbmake: stopped in /usr/src/lib/libpcap
*** Failed target: dependall-libpcap
*** Failed command: _makedirtarget() { dir="$1"; shift; target="$1"; shift; case "${dir}" in /*) this="${dir}/"; real="${dir}" ;; .) this="lib/"; real="/usr/src/lib" ;; *) this="lib/${dir}/"; real="/usr/src/lib/${dir}" ;; esac; show=${this:-.}; echo "${target} ===> ${show%/}${1:+ (with: $@)}"; cd "${real}" && /usr/src/obj.i386/tooldir.NetBSD-2.0H-i386/bin/nbmake _THISDIR_="${this}" "$@" ${target}; }; _makedirtarget libpcap dependall
*** Error code 1
Stop.
--
Hisashi T Fujinaka - htodd@twofifty.com
BSEE(6/86) + BSChem(3/95) + BAEnglish(8/95) + MSCS(8/03) + $2.50 = latte