From README: Arping is a util to find out it a specific IP address on the LAN is 'taken' and what MAC address owns it. Sure, you *could* just use 'ping' to find out if it's taken and even if the computer blocks ping (and everything else) you still get an entry in your arp cache. But what if you aren't on a routable net? Then you're screwed. Or you use arping.
Build errors. ===> Patching for arping-0.94 ===> Configuring for arping-0.94 ===> Building for arping-0.94 make USE_NETIF=1 FREEBSD=1 all gcc -Wall -g -I/usr/local/include -L/usr/local/lib -DUSE_NETIF=1 -DOPENBSD=0 -DLINUX=0 -DSOLARIS=0 -DFREEBSD=1 -I/usr/include/pcap -c `libnet-config --defines` `libnet-config --cflags` arping.c gcc -g -I/usr/local/include -L/usr/local/lib -DUSE_NETIF=1 -DOPENBSD=0 -DLINUX=0 -DSOLARIS=0 -DFREEBSD=1 -I/usr/include/pcap -g -o arping arping.o `libnet-config --libs` -lpcap /usr/local/lib/libnet.so: file not recognized: File format not recognized *** Error code 1 This error also exists after applying PR 21778 to update to version 0.95 Jim -- jeh@FreeBSD.org http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net --------------------------------------------------------------------- Unix is very user-friendly. It's just picky who its friends are.
On Mon, 16 Oct 2000, James E. Housley wrote: > Build errors. > > ===> Patching for arping-0.94 > ===> Configuring for arping-0.94 > ===> Building for arping-0.94 > make USE_NETIF=1 FREEBSD=1 all > gcc -Wall -g -I/usr/local/include -L/usr/local/lib -DUSE_NETIF=1 > -DOPENBSD=0 > -DLINUX=0 -DSOLARIS=0 -DFREEBSD=1 -I/usr/include/pcap -c `libnet-config > --defines` `libnet-config --cflags` arping.c > gcc -g -I/usr/local/include -L/usr/local/lib -DUSE_NETIF=1 -DOPENBSD=0 > -DLINUX=0 -DSOLARIS=0 -DFREEBSD=1 -I/usr/include/pcap -g -o arping > arping.o > `libnet-config --libs` -lpcap > /usr/local/lib/libnet.so: file not recognized: File format not > recognized > *** Error code 1 > This has nothing to do with arping, rather with libnet. please run file /usr/local/lib/libnet.so This file shouldn't be present, libnet's plist doesn't mention it, and I just tried it on 4.1-STABLE machine and it doesn't appear here. --Roman Shterenzon, UNIX System Administrator and Consultant [ Xpert UNIX Systems Ltd., Herzlia, Israel. Tel: +972-9-9522361 ]
Roman Shterenzon wrote: > This has nothing to do with arping, rather with libnet. > please run file /usr/local/lib/libnet.so > This file shouldn't be present, libnet's plist doesn't mention it, and I > just tried it on 4.1-STABLE machine and it doesn't appear here. > This is on my machine from a JAVA package I have installed. Sorry. Jim -- jeh@FreeBSD.org http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net --------------------------------------------------------------------- "...there's no idea that's so good you can't ruin it with a few well-placed idiots." -- Charles Spickman
State Changed From-To: open->closed Committed. Thanks.