* [LARTC] Does anyone have got an iproute2+esfq package for debian ?
@ 2006-12-11 1:59 Sébastien CRAMATTE
2006-12-11 2:05 ` Sébastien CRAMATTE
2006-12-11 4:24 ` Corey Hickey
0 siblings, 2 replies; 3+ messages in thread
From: Sébastien CRAMATTE @ 2006-12-11 1:59 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 3330 bytes --]
Does anyone have got an iproute2+esfq package for debian sarge ?
I've got many error trying building it from source ...
I use debian sarge 3.1 and gcc 3.3.5-3
I've started getting a recent iproute2 package from backports.org
and esfq-iprout2.patch from fatooh.org
#apt-get source iproute
#cd /usr/src/iproute-20061002
this command doesn't create tc/q_esfq.c file
#patch -p1 --dry-run < ../esfq-iproute2.patch
I must use
#patch -p1 < ../esfq-iproute2.patch
patching file include/linux/pkt_sched.h
Hunk #1 succeeded at 579 (offset 433 lines).
Just after If I use "dpkg-buildpackage" or I I try ./configure
and make I obtain this
#make
...
gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
-DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o q_esfq.o
q_esfq.c
q_esfq.c: In function `esfq_parse_opt':
q_esfq.c:41: error: storage size of `opt' isn't known
q_esfq.c:45: error: `TCA_SFQ_HASH_CLASSIC' undeclared (first use in this
function)
q_esfq.c:45: error: (Each undeclared identifier is reported only once
q_esfq.c:45: error: for each function it appears in.)
q_esfq.c:94: error: `TCA_SFQ_HASH_DST' undeclared (first use in this
function)
q_esfq.c:97: error: `TCA_SFQ_HASH_SRC' undeclared (first use in this
function)
q_esfq.c:100: error: `TCA_SFQ_HASH_FWMARK' undeclared (first use in this
function)
q_esfq.c:103: error: `TCA_SFQ_HASH_DSTDIR' undeclared (first use in this
function)
q_esfq.c:106: error: `TCA_SFQ_HASH_SRCDIR' undeclared (first use in this
function)
q_esfq.c:109: error: `TCA_SFQ_HASH_FWMARKDIR' undeclared (first use in
this function)
q_esfq.c:41: warning: unused variable `opt'
q_esfq.c: In function `esfq_print_opt':
q_esfq.c:140: error: dereferencing pointer to incomplete type
q_esfq.c:143: error: dereferencing pointer to incomplete type
q_esfq.c:146: error: dereferencing pointer to incomplete type
q_esfq.c:146: error: dereferencing pointer to incomplete type
q_esfq.c:146: error: dereferencing pointer to incomplete type
q_esfq.c:148: error: dereferencing pointer to incomplete type
q_esfq.c:149: error: dereferencing pointer to incomplete type
q_esfq.c:152: error: dereferencing pointer to incomplete type
q_esfq.c:154: error: `TCA_SFQ_HASH_CLASSIC' undeclared (first use in
this function)
q_esfq.c:157: error: `TCA_SFQ_HASH_DST' undeclared (first use in this
function)
q_esfq.c:160: error: `TCA_SFQ_HASH_SRC' undeclared (first use in this
function)
q_esfq.c:163: error: `TCA_SFQ_HASH_FWMARK' undeclared (first use in this
function)
q_esfq.c:166: error: `TCA_SFQ_HASH_DSTDIR' undeclared (first use in this
function)
q_esfq.c:169: error: `TCA_SFQ_HASH_SRCDIR' undeclared (first use in this
function)
q_esfq.c:172: error: `TCA_SFQ_HASH_FWMARKDIR' undeclared (first use in
this function)
make[1]: *** [q_esfq.o] Error 1
make[1]: Leaving directory `/usr/src/iproute-20061002/tc'
make[1]: Entering directory `/usr/src/iproute-20061002/misc'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/iproute-20061002/misc'
make[1]: Entering directory `/usr/src/iproute-20061002/netem'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/iproute-20061002/netem'
make[1]: Entering directory `/usr/src/iproute-20061002/genl'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/iproute-20061002/genl'
...
[-- Attachment #2: s.cramatte.vcf --]
[-- Type: text/x-vcard, Size: 443 bytes --]
begin:vcard
fn;quoted-printable:S=C3=A9bastien CRAMATTE
n;quoted-printable:CRAMATTE;S=C3=A9bastien
org:ZEN Soluciones;IT technologies, Linux and Web
adr;quoted-printable:Piso 4b;;Calle Alfonso X el Sabio, 29;Las torres de cotillas;Murcia;30565;Espa=C3=B1a
email;internet:scramatte@zensoluciones.com
title:Consultant
tel;work:+34 968 292 965
tel;cell:+34 627 665 283
x-mozilla-html:FALSE
url:http://www.zensoluciones.com
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Does anyone have got an iproute2+esfq package for debian ?
2006-12-11 1:59 [LARTC] Does anyone have got an iproute2+esfq package for debian ? Sébastien CRAMATTE
@ 2006-12-11 2:05 ` Sébastien CRAMATTE
2006-12-11 4:24 ` Corey Hickey
1 sibling, 0 replies; 3+ messages in thread
From: Sébastien CRAMATTE @ 2006-12-11 2:05 UTC (permalink / raw)
To: lartc
[-- Attachment #1: Type: text/plain, Size: 5730 bytes --]
Note I use a 2.6.18.3 kernel with a ESFQ patch from
http://www.abclinuxu.cz/blog/mirek/2006/11/10/157349
No hunks, the patch is applied correctly and I've builded the Kernel
without problems
Sébastien CRAMATTE a écrit :
> Does anyone have got an iproute2+esfq package for debian sarge ?
> I've got many error trying building it from source ...
>
> I use debian sarge 3.1 and gcc 3.3.5-3
>
> I've started getting a recent iproute2 package from backports.org
> and esfq-iprout2.patch from fatooh.org
>
> #apt-get source iproute
> #cd /usr/src/iproute-20061002
>
> this command doesn't create tc/q_esfq.c file
> #patch -p1 --dry-run < ../esfq-iproute2.patch
>
> I must use
> #patch -p1 < ../esfq-iproute2.patch
> patching file include/linux/pkt_sched.h
> Hunk #1 succeeded at 579 (offset 433 lines).
>
>
> Just after If I use "dpkg-buildpackage" or I I try ./configure
> and make I obtain this
>
> #make
> ...
> gcc -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall -I../include
> -DRESOLVE_HOSTNAMES -DCONFIG_GACT -DCONFIG_GACT_PROB -c -o q_esfq.o
> q_esfq.c
> q_esfq.c: In function `esfq_parse_opt':
> q_esfq.c:41: error: storage size of `opt' isn't known
> q_esfq.c:45: error: `TCA_SFQ_HASH_CLASSIC' undeclared (first use in this
> function)
> q_esfq.c:45: error: (Each undeclared identifier is reported only once
> q_esfq.c:45: error: for each function it appears in.)
> q_esfq.c:94: error: `TCA_SFQ_HASH_DST' undeclared (first use in this
> function)
> q_esfq.c:97: error: `TCA_SFQ_HASH_SRC' undeclared (first use in this
> function)
> q_esfq.c:100: error: `TCA_SFQ_HASH_FWMARK' undeclared (first use in this
> function)
> q_esfq.c:103: error: `TCA_SFQ_HASH_DSTDIR' undeclared (first use in this
> function)
> q_esfq.c:106: error: `TCA_SFQ_HASH_SRCDIR' undeclared (first use in this
> function)
> q_esfq.c:109: error: `TCA_SFQ_HASH_FWMARKDIR' undeclared (first use in
> this function)
> q_esfq.c:41: warning: unused variable `opt'
> q_esfq.c: In function `esfq_print_opt':
> q_esfq.c:140: error: dereferencing pointer to incomplete type
> q_esfq.c:143: error: dereferencing pointer to incomplete type
> q_esfq.c:146: error: dereferencing pointer to incomplete type
> q_esfq.c:146: error: dereferencing pointer to incomplete type
> q_esfq.c:146: error: dereferencing pointer to incomplete type
> q_esfq.c:148: error: dereferencing pointer to incomplete type
> q_esfq.c:149: error: dereferencing pointer to incomplete type
> q_esfq.c:152: error: dereferencing pointer to incomplete type
> q_esfq.c:154: error: `TCA_SFQ_HASH_CLASSIC' undeclared (first use in
> this function)
> q_esfq.c:157: error: `TCA_SFQ_HASH_DST' undeclared (first use in this
> function)
> q_esfq.c:160: error: `TCA_SFQ_HASH_SRC' undeclared (first use in this
> function)
> q_esfq.c:163: error: `TCA_SFQ_HASH_FWMARK' undeclared (first use in this
> function)
> q_esfq.c:166: error: `TCA_SFQ_HASH_DSTDIR' undeclared (first use in this
> function)
> q_esfq.c:169: error: `TCA_SFQ_HASH_SRCDIR' undeclared (first use in this
> function)
> q_esfq.c:172: error: `TCA_SFQ_HASH_FWMARKDIR' undeclared (first use in
> this function)
> make[1]: *** [q_esfq.o] Error 1
> make[1]: Leaving directory `/usr/src/iproute-20061002/tc'
> make[1]: Entering directory `/usr/src/iproute-20061002/misc'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/usr/src/iproute-20061002/misc'
> make[1]: Entering directory `/usr/src/iproute-20061002/netem'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/usr/src/iproute-20061002/netem'
> make[1]: Entering directory `/usr/src/iproute-20061002/genl'
> make[1]: Nothing to be done for `all'.
> make[1]: Leaving directory `/usr/src/iproute-20061002/genl'
> ...
>
>
>
>
>
> _______________________________________________
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>
--
ZEN SOLUCIONES - Be in XForms take your "Concentré"
Sébastien CRAMATTE
C/ Alfonso X el Sabio, 29
30565 Las Torres de Cotillas (Murcia)
ESPAÑA
Mobile : +34 627 66 52 83
E-mail : scramatte@zensoluciones.com
Site : www.zensoluciones.com
Skype : scramatte
Msn : scramatte@hotmail.com
Jabber: scramatte@jabber.org
VoIP: +33 1 7090 3413
--
CONCENTRÉ
xml entreprise grade framework
http://concentre.zensoluciones.com
--
This e-mail is privileged and may contain confidential information intended only for the person(s) named above. If you receive this e-mail in error, please notify the sender immediately and delete it. E-mail and internet transmissions can't be warrant privacy, integrity or correct reception. The sender will not be liable for any damages resulting.
Este mensaje va dirigido, de manera exclusiva, a su destinatario y puede contener informaciones confidential. En caso de haber recibido este mensaje por error, informe al emisor imediadamente y proceda a su eliminación. El correo electrónico y las comunicaciones por medio de Internet no permiten garantizar la confidencialidad de los mensajes transmitidos, así como tampoco su integridad o su correcta recepción. El emisor no asume responsabilidad alguna por tales circunstancias.
Ce message est destiné exclusivement à son destinataire et peut contenir des informations confidentielles. En cas de réception d'un tel message par erreur, informez l'expéditeur immédiatement et procédez à son effacement. Il n'est pas possible de garantir la confidentialité, l'intégrité ou la réception correcte du courrier électronique ainsi que des communications par internet. L'expéditeur ne peut être tenu pour responsable d'éventuels dommages commis.
[-- Attachment #2: s.cramatte.vcf --]
[-- Type: text/x-vcard, Size: 443 bytes --]
begin:vcard
fn;quoted-printable:S=C3=A9bastien CRAMATTE
n;quoted-printable:CRAMATTE;S=C3=A9bastien
org:ZEN Soluciones;IT technologies, Linux and Web
adr;quoted-printable:Piso 4b;;Calle Alfonso X el Sabio, 29;Las torres de cotillas;Murcia;30565;Espa=C3=B1a
email;internet:scramatte@zensoluciones.com
title:Consultant
tel;work:+34 968 292 965
tel;cell:+34 627 665 283
x-mozilla-html:FALSE
url:http://www.zensoluciones.com
version:2.1
end:vcard
[-- Attachment #3: Type: text/plain, Size: 143 bytes --]
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [LARTC] Does anyone have got an iproute2+esfq package for debian ?
2006-12-11 1:59 [LARTC] Does anyone have got an iproute2+esfq package for debian ? Sébastien CRAMATTE
2006-12-11 2:05 ` Sébastien CRAMATTE
@ 2006-12-11 4:24 ` Corey Hickey
1 sibling, 0 replies; 3+ messages in thread
From: Corey Hickey @ 2006-12-11 4:24 UTC (permalink / raw)
To: lartc
First of all, you have to understand that if you use the "reply"
function of your email program, your message will be marked as a reply
to the message you replied to. Changing the subject line doesn't make a
difference. Unless you are actually replying to a message, you _must_
use your email program's "new message" function.
Probably you don't see this effect because you're not using a threaded
view to list your email messages, but it tends to annoy those of us who do.
By now it's too late, but please remember next time you want to ask a
question.
Meanwhile...
Sébastien CRAMATTE wrote:
> Does anyone have got an iproute2+esfq package for debian sarge ?
> I've got many error trying building it from source ...
>
> I use debian sarge 3.1 and gcc 3.3.5-3
>
> I've started getting a recent iproute2 package from backports.org
> and esfq-iprout2.patch from fatooh.org
My ESFQ patches are created to work with the original source;
distributions tend to modify the source of packages with their own
customizations. In this case, it appears one of those customizations if
incompatible.
The latest iproute2 release with the latest ESFQ patch builds fine for me.
http://linux-net.osdl.org/index.php/Iproute2
This section from the ESFQ README may be of use to you:
You don't necessarily have to install the entire patched version of
iproute2 if you don't want to (perhaps you would rather keep your
distribution's package). All you need is the tc binary.
# cp -p tc/tc /sbin/tc-esfq
# chown root:root /sbin/tc-esfq
Just modify your scripts to use /sbin/tc-esfq instead of /sbin/tc.
> #apt-get source iproute
> #cd /usr/src/iproute-20061002
>
> this command doesn't create tc/q_esfq.c file
> #patch -p1 --dry-run < ../esfq-iproute2.patch
Of course. That's the point of --dry-run: to see what errors might
happen without screwing up a source tree by half-applying a broken or
outdated patch. :)
-Corey
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-12-11 4:24 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-11 1:59 [LARTC] Does anyone have got an iproute2+esfq package for debian ? Sébastien CRAMATTE
2006-12-11 2:05 ` Sébastien CRAMATTE
2006-12-11 4:24 ` Corey Hickey
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.