installing iproute2
I've been trying for the past couple days to install iproute2 on my LFS system.
First I had to make some changes to in.h and socket.h of my kernel include files to get it to start compiling, but now I've run into a new error that I cant seem to get around.
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -g -I../include-glibc -I/usr/include/db3 -include ../include-glibc/glibc-bugs.h -I/usr/src/linux-2.4.22/include -I../include -DRESOLVE_HOSTNAMES -c -o arpd.o arpd.c
In file included from arpd.c:19:
../include-glibc/db.h:10:20: db_185.h: No such file or directory
arpd.c:41: error: parse error before '*' token
arpd.c:41: warning: type defaults to `int' in declaration of `dbase'
arpd.c:41: warning: data definition has no type or storage class
arpd.c: In function `do_one_request':
arpd.c:304: error: `DBT' undeclared (first use in this function)
arpd.c:304: error: (Each undeclared identifier is reported only once
arpd.c:304: error: for each function it appears in.)
arpd.c:304: error: parse error before "dbkey"
arpd.c:308: error: request for member `sync' in something not a structure or union
arpd.c:339: error: `dbkey' undeclared (first use in this function)
arpd.c:342: error: request for member `get' in something not a structure or union
arpd.c:342: error: `dbdat' undeclared (first use in this function)
arpd.c:366: error: request for member `del' in something not a structure or unio
I've searched my computer, and I don't have the file db_185.h. I thought maybe it's because I dont have the berkeley DB installed, so I then installed db-4.1.25, but I'm still getting the error. Does anyone have any ideas here?
|