Messages in this thread | | | Date | Thu, 26 Mar 1998 15:14:48 -0500 (EST) | From | Woodstock <> | Subject | Re: Procps solved!! now it's net-tools ... |
| |
On Thu, 26 Mar 1998, Linux Lists wrote:
> After receiving a reply from Phil Blundell, I started looking for the > latest net-tools package I could find in the 'Net. I found a > net-tools-980213.tar.gz at > ftp.cs-ipv6.lancs.ac.uk:/pub/Code/Linux/Net_Tools . > > Well, when I try to compile this package with 'make', I get: > > make[1]: Leaving directory `/usr/local/2.1/net-tools-980213/lib' > gcc -O2 -Wall -g -I. -I./include/ -Ilib -c ifconfig.c -o ifconfig.o > ifconfig.c: In function `main': > ifconfig.c:873: `IFF_AUTOMEDIA' undeclared (first use this function) > ifconfig.c:873: (Each undeclared identifier is reported only once > ifconfig.c:873: for each function it appears in.) > make: *** [ifconfig.o] Error 1 > > What should I do ???
Add this to ifconfig.c
// Horrible hack #define IFF_AUTOMEDIA 0x4000 /* auto media select active */ // end horrible hack
The whole problem is kernel headers vs. glibc headers.
-Sir Woody Hackswell balint@udayton.edu woody@woodynet.siscom.net (The ArchFool) http://homepages.udayton.edu/~balintrc ------------------------------------------------------------------ ...i know we're no children any more / innocence lost in a sea of gray / but i often wonder what else could be / and i still dream of running away - Fates Warning "A Pleasant Shade of Gray"
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |