On my machine, 9-CURRENT i386 with libpcap installed from the ports tree, arping fails to compile with: In file included from arping.c:84: /usr/include/net/bpf.h:65: error: redefinition of 'struct bpf_program' /usr/include/net/bpf.h:89: error: redefinition of 'struct bpf_version' /usr/include/net/bpf.h:913: error: redefinition of 'struct bpf_insn' The cause is that net/bpf.h is included after pcap.h. Strangely, pcap.h does not include net/bpf.h although it uses types from this file. It would definitely be a better solution to fix net/bpf.h and libpcap (as there are DLTs in libpcap's pcap-bpf.h that our net/bpf.h doesn't have), but this involves much more work. Fix: Put the attached file into files/ Patch attached with submission follows: How-To-Repeat: 1. install libpcap from ports 2. try to compile net/arping on a 9-CURRENT system
Responsible Changed From-To: freebsd-ports-bugs->gavin Over to maintainer (via the GNATS Auto Assign Tool)
Responsible Changed From-To: gavin->pgollucci committer&maintainer timeout (gavin ; 67 days) / last commit: 248 days ago
State Changed From-To: open->feedback Request Feedback: have you sent this upstream?
State Changed From-To: feedback->open Feedback received
State Changed From-To: open->closed Committed, Thanks!