ARP / net-tools installation
Posted by: Miss Pixie
Posted on: 2006-08-08 11:58:00
Hi,
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 -
net-tools-1.60.tar.gz
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 -
1. how do I fix this??? do I need to patch anything (and yes I don't know how to patch either!)
2. once the make works has it produced "executables" (sorry I am a DOS/Windows users, don't flame me please !!!!)
3. 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!
Miss Pixie
aka Alison
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[1]: *** [x25_sr.o] Error 1
make[1]: Leaving directory `****/net-tools-1.60/lib'
make: *** [subdirs] Error 2