Skip to contentSkip to conversation

Compile problems...

LARTC Radosław Łoboda 3 participants 4 messages Sep 6, 2002 – Sep 8, 2002

lore
Share & tools
lore
#0 lore raw

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.

Signature · 13 lines
##########################################
#           |       p0wer        |       #
#   __      |    GG#1877248      |       #
#  (oo)     | [email protected] |       #
# / \/ \ Go away or I will replace you   #
# `V__V' with a very small shell script. #
##########################################



_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#1 lore raw
Quoted 8 lines
Quoted 8 lines

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

Signature · 7 lines
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 / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#2 lore raw
In reply to Radosław Łoboda
Quoted 5 lines · Rados?aw ?oboda

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 :-)

Quoted 4 lines

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.

Signature · 5 lines
Jose Luis Domingo Lopez
Linux Registered User #189436     Debian Linux Woody (Linux 2.4.19-pre6aa1)
_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
#3 lore raw
In reply to Radosław Łoboda
Quoted 3 lines · On Fri, 6 Sep 2002 [email protected] 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.

Signature · 13 lines
##########################################
#           |       p0wer        |       #
#   __      |    GG#1877248      |       #
#  (oo)     | [email protected] |       #
# / \/ \ Go away or I will replace you   #
# `V__V' with a very small shell script. #
##########################################



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