Skip to contentSkip to conversation

Compiling new htb

LARTC Patrick McHardy 2 participants 2 messages May 2, 2002

lore
Share & tools
lore
#0 lore raw

Hi list, i just compiled new htb and it seems to work fine. Anyway, it didn't work straight forward so i think maybe some of you might be interested in getting it to work.
First, i had to remove two lines from sch_htb.c (the ones containing DEVIK, i guess they were used for profiling)
After "make modules" i had to link it against lib/rbtree.o like this:
ld -m elf_i386 -r -o /lib/modules/$(uname -r)/kernel/net/sched/sch_htb.o
net/sched/sch_htb.o lib/rbtree.o
After that i was able to insmod it.

Bye,
Patrick

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

#1 lore raw

Good work Partick :) I just published final patches which should apply and compile cleanly.
devik

Quoted 10 lines · Patrick McHardy

Hi list, i just compiled new htb and it seems to work fine. Anyway, it didn't work straight forward so i think maybe some of you might be interested in getting it to work.
First, i had to remove two lines from sch_htb.c (the ones containing DEVIK, i guess they were used for profiling)
After "make modules" i had to link it against lib/rbtree.o like this:
ld -m elf_i386 -r -o /lib/modules/$(uname -r)/kernel/net/sched/sch_htb.o
net/sched/sch_htb.o lib/rbtree.o
After that i was able to insmod it.

Quoted 8 lines

Bye,
Patrick

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/