LARTC
[Top] [All Lists]

[LARTC] Does anyone have got an iproute2+esfq package for debian ?

To: lartc@mailman.ds9a.nl
Subject: [LARTC] Does anyone have got an iproute2+esfq package for debian ?
From: Sébastien CRAMATTE <s.cramatte@wanadoo.fr>
Date: Mon, 11 Dec 2006 02:59:40 +0100
Delivered-to: sp-com-lists@consult.net
Delivered-to: lartc-list@securepoint.com
Delivered-to: lartc@outpost.ds9a.nl
In-reply-to: <45793B3E.2070202@fatooh.org>
List-archive: <http://mailman.ds9a.nl/pipermail/lartc>
List-help: <mailto:lartc-request@mailman.ds9a.nl?subject=help>
List-id: "Mailinglist of the Linux Advanced Routing &amp; Traffic Control project" <lartc.mailman.ds9a.nl>
List-post: <mailto:lartc@mailman.ds9a.nl>
List-subscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=subscribe>
List-unsubscribe: <http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc>, <mailto:lartc-request@mailman.ds9a.nl?subject=unsubscribe>
Organization: Zen Soluciones
References: <20061206232015.0eb3201b@tresor> <457765E5.5070801@wanadoo.fr> <BAY103-DAV12047FD5AF1120654C0D86B2DC0@phx.gbl> <457804DE.1030706@wanadoo.fr> <45793B3E.2070202@fatooh.org>
Sender: lartc-bounces@mailman.ds9a.nl
User-agent: Thunderbird 1.5.0.8 (Windows/20061025)
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: s.cramatte.vcf
Description: Vcard

_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
<Prev in Thread] Current Thread [Next in Thread>