All of lore.kernel.org
 help / color / mirror / Atom feed
* [LARTC] Compile problems...
@ 2002-09-06 13:53 Radosław Łoboda
  2002-09-06 14:46 ` lhyuan
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Radosław Łoboda @ 2002-09-06 13:53 UTC (permalink / raw)
  To: lartc


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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] Compile problems...
  2002-09-06 13:53 [LARTC] Compile problems Radosław Łoboda
@ 2002-09-06 14:46 ` lhyuan
  2002-09-06 20:56 ` Jose Luis Domingo Lopez
  2002-09-08 19:22 ` Radosław Łoboda
  2 siblings, 0 replies; 4+ messages in thread
From: lhyuan @ 2002-09-06 14:46 UTC (permalink / raw)
  To: lartc


>>   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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] Compile problems...
  2002-09-06 13:53 [LARTC] Compile problems Radosław Łoboda
  2002-09-06 14:46 ` lhyuan
@ 2002-09-06 20:56 ` Jose Luis Domingo Lopez
  2002-09-08 19:22 ` Radosław Łoboda
  2 siblings, 0 replies; 4+ messages in thread
From: Jose Luis Domingo Lopez @ 2002-09-06 20:56 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [LARTC] Compile problems...
  2002-09-06 13:53 [LARTC] Compile problems Radosław Łoboda
  2002-09-06 14:46 ` lhyuan
  2002-09-06 20:56 ` Jose Luis Domingo Lopez
@ 2002-09-08 19:22 ` Radosław Łoboda
  2 siblings, 0 replies; 4+ messages in thread
From: Radosław Łoboda @ 2002-09-08 19:22 UTC (permalink / raw)
  To: lartc

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-09-08 19:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-06 13:53 [LARTC] Compile problems Radosław Łoboda
2002-09-06 14:46 ` lhyuan
2002-09-06 20:56 ` Jose Luis Domingo Lopez
2002-09-08 19:22 ` Radosław Łoboda

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.