Yeah, that error is from not having (or finding) the newer libpcap.
Unfortunately, the default install for libpcap is as a static library, which doesn't seem to get picked up with -L/usr/local/lib -lpcap. So, the following should build the bridge with the installed static library:
gcc -o toofar toofar.c -lpthread /usr/local/lib/libpcap.a
Rob
Unfortunately, the default install for libpcap is as a static library, which doesn't seem to get picked up with -L/usr/local/lib -lpcap. So, the following should build the bridge with the installed static library:
gcc -o toofar toofar.c -lpthread /usr/local/lib/libpcap.a
Rob