I have been given permission to install a local version of the ARP command in my space as I need to use it in one of my PHP scripts.
I’ve downloaded a copy of the source for net-tools -
I have read the readme and install guide then tried to do a make and am now completely lost as the make falls over with several errors (at end of message).
The questions -
how do I fix this??? do I need to patch anything (and yes I don’t know how to patch either!)
once the make works has it produced “executables” (sorry I am a DOS/Windows users, don’t flame me please !!!)
where should i put the “executables” i am only interested really in the arp command
many thanks in advance, from a complete NIX beginner, sorry if this sounds really mundane and silly!
cc -D_GNU_SOURCE -O2 -Wall -g -I. -idirafter ./include/ -Ilib -I/home//sr c/net-tools-1.60 -idirafter /home//src/net-tools-1.60/include -c -o x25 _sr.o x25_sr.c
x25_sr.c: In function
X25_setroute': x25_sr.c:80: error:x25_address’ undeclared (first use in this function)
x25_sr.c:80: error: (Each undeclared identifier is reported only once
x25_sr.c:80: error: for each function it appears in.)
make: *** [x25_sr.o] Error 1
make: Leaving directory `****/net-tools-1.60/lib’
make: *** [subdirs] Error 2