=> Bootstrap dependency digest>=20010302: found digest-20121220 ===> Building for rp-pppoe-3.8nb2 cc -O2 -march=i586 -Wall -Wstrict-prototypes -ansi '-DPPPOE_PATH="/usr/pkg/sbin/pppoe"' '-DPPPD_PATH="pppd"' '-DPLUGIN_PATH="/etc/ppp/plugins/rp-pppoe.so"' '-DPPPOE_SERVER_OPTIONS="/etc/ppp/pppoe-server-options"' -Ilibevent '-DVERSION="3.8"' -c -o pppoe.o pppoe.c In file included from pppoe.c:19: ./pppoe.h:43:2: error: Unknown method for accessing raw Ethernet frames #error Unknown method for accessing raw Ethernet frames ^ ./pppoe.h:222:19: error: field has incomplete type 'struct ethhdr' struct ethhdr ethHdr; /* Ethernet header */ ^ ./pppoe.h:222:12: note: forward declaration of 'struct ethhdr' struct ethhdr ethHdr; /* Ethernet header */ ^ ./pppoe.h:233:27: error: use of undeclared identifier 'ETH_DATA_LEN' unsigned char payload[ETH_DATA_LEN]; /* A bit of room to spare */ ^ ./pppoe.h:247:27: error: use of undeclared identifier 'ETH_DATA_LEN' unsigned char payload[ETH_DATA_LEN]; /* A LOT of room to spare */ ^ ./pppoe.h:270:25: error: use of undeclared identifier 'ETH_ALEN' unsigned char myEth[ETH_ALEN]; /* My MAC address */ ^ ./pppoe.h:271:27: error: use of undeclared identifier 'ETH_ALEN' unsigned char peerEth[ETH_ALEN]; /* Peer's MAC address */ ^ pppoe.c:92:61: error: invalid application of 'sizeof' to an incomplete type 'struct ethhdr' if (sendPacket(conn, conn->sessionSocket, packet, len + HDR_SIZE) < 0) { ^~~~~~~~ ./pppoe.h:238:19: note: expanded from macro 'HDR_SIZE' #define HDR_SIZE (sizeof(struct ethhdr) + PPPOE_OVERHEAD) ^ ~~~~~~~~~~~~~~~ ./pppoe.h:222:12: note: forward declaration of 'struct ethhdr' struct ethhdr ethHdr; /* Ethernet header */ ^ pppoe.c:176:32: error: invalid application of 'sizeof' to an incomplete type 'struct ethhdr' if (ntohs(packet.length) + HDR_SIZE > len) { ^~~~~~~~ ./pppoe.h:238:19: note: expanded from macro 'HDR_SIZE' #define HDR_SIZE (sizeof(struct ethhdr) + PPPOE_OVERHEAD) ^ ~~~~~~~~~~~~~~~ ./pppoe.h:222:12: note: forward declaration of 'struct ethhdr' struct ethhdr ethHdr; /* Ethernet header */ ^ pppoe.c:738:32: error: invalid application of 'sizeof' to an incomplete type 'struct ethhdr' if (ntohs(packet.length) + HDR_SIZE > len) { ^~~~~~~~ ./pppoe.h:238:19: note: expanded from macro 'HDR_SIZE' #define HDR_SIZE (sizeof(struct ethhdr) + PPPOE_OVERHEAD) ^ ~~~~~~~~~~~~~~~ ./pppoe.h:222:12: note: forward declaration of 'struct ethhdr' struct ethhdr ethHdr; /* Ethernet header */ ^ pppoe.c:789:16: error: invalid application of 'sizeof' to an incomplete type 'struct ethhdr' if (plen + HDR_SIZE > len) { ^~~~~~~~ ./pppoe.h:238:19: note: expanded from macro 'HDR_SIZE' #define HDR_SIZE (sizeof(struct ethhdr) + PPPOE_OVERHEAD) ^ ~~~~~~~~~~~~~~~ ./pppoe.h:222:12: note: forward declaration of 'struct ethhdr' struct ethhdr ethHdr; /* Ethernet header */ ^ pppoe.c:867:32: error: invalid application of 'sizeof' to an incomplete type 'struct ethhdr' if (ntohs(packet.length) + HDR_SIZE > len) { ^~~~~~~~ ./pppoe.h:238:19: note: expanded from macro 'HDR_SIZE' #define HDR_SIZE (sizeof(struct ethhdr) + PPPOE_OVERHEAD) ^ ~~~~~~~~~~~~~~~ ./pppoe.h:222:12: note: forward declaration of 'struct ethhdr' struct ethhdr ethHdr; /* Ethernet header */ ^ pppoe.c:919:16: error: invalid application of 'sizeof' to an incomplete type 'struct ethhdr' if (plen + HDR_SIZE > len) { ^~~~~~~~ ./pppoe.h:238:19: note: expanded from macro 'HDR_SIZE' #define HDR_SIZE (sizeof(struct ethhdr) + PPPOE_OVERHEAD) ^ ~~~~~~~~~~~~~~~ ./pppoe.h:222:12: note: forward declaration of 'struct ethhdr' struct ethhdr ethHdr; /* Ethernet header */ ^ 12 errors generated. *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/work/net/rp-pppoe/work/rp-pppoe-3.8/src *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/rp-pppoe *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/rp-pppoe