=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for libpcap-1.4.0nb1 libtool --mode=compile cc -O -O2 -march=i586 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -O2 -march=i586 -c ./pcap-null.c libtool: compile: cc -O -O2 -march=i586 -I. -DHAVE_CONFIG_H "-D_U_=__attribute__((unused))" -O2 -march=i586 -c ./pcap-null.c -fPIC -DPIC -o .libs/pcap-null.o libtool: compile: cc -O -O2 -march=i586 -I. -DHAVE_CONFIG_H "-D_U_=__attribute__((unused))" -O2 -march=i586 -c ./pcap-null.c -o pcap-null.o >/dev/null 2>&1 libtool --mode=compile cc -O -O2 -march=i586 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -O2 -march=i586 -c ./fad-null.c libtool: compile: cc -O -O2 -march=i586 -I. -DHAVE_CONFIG_H "-D_U_=__attribute__((unused))" -O2 -march=i586 -c ./fad-null.c -fPIC -DPIC -o .libs/fad-null.o libtool: compile: cc -O -O2 -march=i586 -I. -DHAVE_CONFIG_H "-D_U_=__attribute__((unused))" -O2 -march=i586 -c ./fad-null.c -o fad-null.o >/dev/null 2>&1 if grep GIT ./VERSION >/dev/null; then read ver <./VERSION; echo $ver | tr -d '\012'; date +_%Y_%m_%d; else cat ./VERSION; fi | sed -e 's/.*/static const char pcap_version_string[] = "libpcap version &";/' > version.h libtool --mode=compile cc -O -O2 -march=i586 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -O2 -march=i586 -c ./pcap.c libtool: compile: cc -O -O2 -march=i586 -I. -DHAVE_CONFIG_H "-D_U_=__attribute__((unused))" -O2 -march=i586 -c ./pcap.c -fPIC -DPIC -o .libs/pcap.o libtool: compile: cc -O -O2 -march=i586 -I. -DHAVE_CONFIG_H "-D_U_=__attribute__((unused))" -O2 -march=i586 -c ./pcap.c -o pcap.o >/dev/null 2>&1 libtool --mode=compile cc -O -O2 -march=i586 -I. -DHAVE_CONFIG_H -D_U_="__attribute__((unused))" -O2 -march=i586 -c ./inet.c libtool: compile: cc -O -O2 -march=i586 -I. -DHAVE_CONFIG_H "-D_U_=__attribute__((unused))" -O2 -march=i586 -c ./inet.c -fPIC -DPIC -o .libs/inet.o ./inet.c:679:21: error: use of undeclared identifier 'IFNAMSIZ' static char device[IF_NAMESIZE + 1]; ^ ./inet.c:677:21: note: expanded from macro 'IF_NAMESIZE' #define IF_NAMESIZE IFNAMSIZ ^ ./inet.c:720:15: error: variable has incomplete type 'struct ifreq' struct ifreq ifr; ^ ./inet.c:720:9: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ ./inet.c:760:16: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' if (ioctl(fd, SIOCGIFADDR, (char *)&ifr) < 0) { ^~~~~~~~~~~ /usr/include/sys/sockio.h:52:21: note: expanded from macro 'SIOCGIFADDR' #define SIOCGIFADDR _IOWR('i', 33, struct ifreq) /* get ifnet address */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:89:48: note: expanded from macro '_IOWR' #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/sys/ioccom.h:83:19: note: expanded from macro '_IOC' ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \ ^ ./inet.c:720:9: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ ./inet.c:780:16: error: invalid application of 'sizeof' to an incomplete type 'struct ifreq' if (ioctl(fd, SIOCGIFNETMASK, (char *)&ifr) < 0) { ^~~~~~~~~~~~~~ /usr/include/sys/sockio.h:65:24: note: expanded from macro 'SIOCGIFNETMASK' #define SIOCGIFNETMASK _IOWR('i', 37, struct ifreq) /* get net addr mask */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/sys/ioccom.h:89:48: note: expanded from macro '_IOWR' #define _IOWR(g,n,t) _IOC(IOC_INOUT, (g), (n), sizeof(t)) ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /usr/include/sys/ioccom.h:83:19: note: expanded from macro '_IOC' ((inout) | (((len) & IOCPARM_MASK) << IOCPARM_SHIFT) | \ ^ ./inet.c:720:9: note: forward declaration of 'struct ifreq' struct ifreq ifr; ^ 4 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/libpcap/work/libpcap-1.4.0 *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/libpcap *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/libpcap