[LARTC] Compiling new htb

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux