Hi. I have some problems while applying WRR, ESFQ and HTB3 patches and then compiling kernel. The HTB patch rejects some lines. I haven''t tried to change the order of the patches but I suppose it won''t work anyway. On 2.4.18 i tried HTB3 and ESFQ and it compiled fine... The other thing is that after compiling the 2.4.18 with ESFQ I need to recompile the iproute package. There are also some problems with it. Even without patches, it wont compile. Here are the errors: ll_proto.c:36: `ETH_P_ECHO'' undeclared here (not in a function) ll_proto.c:36: Initializer element is not constant ll_proto.c:36: (near initialization for `llproto_names[1].id'') There are probably some inckudes missing, but i don;t know which ones ! I searches thorugh package database and installed almost all net-related -dev libraries. Please help me and tell me which libraries are needed. I use Debian Woody. -- ########################################## # | p0wer | # # __ | GG#1877248 | # # (oo) | p0wer@bojko.eu.org | # # / \/ \ Go away or I will replace you # # `V__V'' with a very small shell script. # ########################################## _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>> The other thing is that after compiling the 2.4.18 with ESFQ I need to >> recompile the iproute package. There are also some problems with it. Even >> without patches, it wont compile. Here are the errors:>> ll_proto.c:36: `ETH_P_ECHO'' undeclared here (not in a function) >> ll_proto.c:36: Initializer element is not constant >> ll_proto.c:36: (near initialization for `llproto_names[1].id'')just goto the ./lib/ll_proto.c file and comment out that line, then everything will compile. I remember someone mentions this long ago, and it works fine for me. cheers yuan -- The man who finds his homeland sweet is still a tender beginner; he to whom every soil is as his native one is already strong; but he is perfect to whom the entire world is as a foreign land. _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Friday, 06 September 2002, at 15:53:10 +0200, Rados?aw ?oboda wrote:> I have some problems while applying WRR, ESFQ and HTB3 patches and then > compiling kernel. The HTB patch rejects some lines. I haven''t tried to > change the order of the patches but I suppose it won''t work anyway. On > 2.4.18 i tried HTB3 and ESFQ and it compiled fine... >Linux kernel 2.4.20-pre1 and higher include support for HTB3 by default, so maybe it could be easier to apply just two patches :-)> The other thing is that after compiling the 2.4.18 with ESFQ I need to > recompile the iproute package. There are also some problems with it. Even > without patches, it wont compile. Here are the errors: >I have "adapted" Debian Woody iproute package to include support for HTB3 (instead of HTB2 in the standard package). Download it from: ftp://ftp.24x7linux.com/iproute/ A quote from a message I sent to Debian bug #147550 (with respect to patching "iproute" package to add support for HTB3): "With respect to userspace, at least building is plain simple. Delete tc/q_thb.c, put q_htb.c from htb3.6_tc.diff (as downloaded from http://luxik.cdi.cz/~devik/qos/htb/v3/htb3.6-020525.tgz). Then copy /usr/src/linux-2.4.20-pre1/include/linux/pkt_sched.h to include/linux/pkt_sched.h and rebuild." Hope this helps. -- Jose Luis Domingo Lopez Linux Registered User #189436 Debian Linux Woody (Linux 2.4.19-pre6aa1) _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
On Fri, 6 Sep 2002 lhyuan@bumper.sytes.net wrote:> just goto the ./lib/ll_proto.c file and comment out that line, > then everything will compile. I remember someone mentions this > long ago, and it works fine for me.Thanks. It helped. I found this clue in ESFQ docs after your post :) It worked out the right way. -- ########################################## # | p0wer | # # __ | GG#1877248 | # # (oo) | p0wer@bojko.eu.org | # # / \/ \ Go away or I will replace you # # `V__V'' with a very small shell script. # ########################################## _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/