* [LARTC] Solution: iproute2 and kernel 2.6.1
@ 2004-02-12 15:17 Dale Gallagher
0 siblings, 0 replies; only message in thread
From: Dale Gallagher @ 2004-02-12 15:17 UTC (permalink / raw)
To: lartc
Thanks Toth
----- Toth Szabolcs wrote -----
> I have read on a mail list that you should install the
> db-4.1.25 Berkeley DB 4.1.25) get the
> iproute2-2.4.7-now-ss020116-try.tar.gz and patch which
> you need.
Woohoo! Finally, an answer which just happened to point
me in the right direction. Also, I spent a little more
time scouring through the compile errors.
The solution is in fact a mixed bag ;-) The code uses
a hack to include db.h from a BerkeleyDB 3.x install. I
have BekeleyDB 4.1.25, so simply edited the Makefile
to reflect the difference!
File iproute2/include-glibc/db.h gives the hack away ;-)
----- <snip iproute2/include-glibc/db.h> -----
...
"The simplest trick which I was able to invent is to
write fake db.h including db_185.h and adding
-I/usr/include/db3 to CFLAGS."
...
#include <db_185.h>
----- </snip iproute2/include-glibc/db.h> -----
The solution was to chang the following line in
iproute2/Makefile from:
GLIBCFIX=-I../include-glibc -I/usr/include/db3
to:
GLIBCFIX=-I../include-glibc -I/usr/include/db4
and make sure that KERNEL_INCLUDE pointed to, which
I'd done from the very beginning.
> KERNEL_INCLUDE=/usr/src/linux-2.6.1/include
I'm one happy camper now *grin*
Thanks
Dale
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-02-12 15:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-12 15:17 [LARTC] Solution: iproute2 and kernel 2.6.1 Dale Gallagher
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.