* [LARTC] compile error while patching iproute2 with esfq
@ 2005-05-26 19:49 Janis Bistevins
2005-05-27 0:33 ` Corey Hickey
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Janis Bistevins @ 2005-05-26 19:49 UTC (permalink / raw)
To: lartc
[-- Attachment #1.1: Type: text/plain, Size: 1426 bytes --]
Hi!
I'm getting this error while I try to compile iproute2-2.6.11-050330:
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:45: error: structure has no member named `hash_kind'
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:91: error: structure has no member named `hash_kind'
q_esfq.c:94: error: structure has no member named `hash_kind'
q_esfq.c:94: error: `TCA_SFQ_HASH_DST' undeclared (first use in this
function)
q_esfq.c:97: error: structure has no member named `hash_kind'
q_esfq.c:97: error: `TCA_SFQ_HASH_SRC' undeclared (first use in this
function)
q_esfq.c: In function `esfq_print_opt':
q_esfq.c:140: error: structure has no member named `hash_kind'
q_esfq.c:142: error: `TCA_SFQ_HASH_CLASSIC' undeclared (first use in this
function)
q_esfq.c:145: error: `TCA_SFQ_HASH_DST' undeclared (first use in this
function)
q_esfq.c:148: error: `TCA_SFQ_HASH_SRC' undeclared (first use in this
function)
make[1]: *** [q_esfq.o] Error 1
Does anybody know what this mean?
Regards
--
---------------------
(o- Janis
// \ Daniel
V_/_ Bistevins
----------------------
[-- Attachment #1.2: Type: text/html, Size: 1715 bytes --]
[-- Attachment #2: 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] 4+ messages in thread* Re: [LARTC] compile error while patching iproute2 with esfq
2005-05-26 19:49 [LARTC] compile error while patching iproute2 with esfq Janis Bistevins
@ 2005-05-27 0:33 ` Corey Hickey
2005-05-27 3:11 ` gypsy
2005-05-27 16:03 ` Stephen Hemminger
2 siblings, 0 replies; 4+ messages in thread
From: Corey Hickey @ 2005-05-27 0:33 UTC (permalink / raw)
To: lartc
Janis Bistevins wrote:
> Hi!
> I'm getting this error while I try to compile iproute2-2.6.11-050330:
>
> 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:45: error: structure has no member named `hash_kind'
> 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:91: error: structure has no member named `hash_kind'
> q_esfq.c:94: error: structure has no member named `hash_kind'
> q_esfq.c:94: error: `TCA_SFQ_HASH_DST' undeclared (first use in this
> function)
> q_esfq.c:97: error: structure has no member named `hash_kind'
> q_esfq.c:97: error: `TCA_SFQ_HASH_SRC' undeclared (first use in this
> function)
> q_esfq.c: In function `esfq_print_opt':
> q_esfq.c:140: error: structure has no member named `hash_kind'
> q_esfq.c:142: error: `TCA_SFQ_HASH_CLASSIC' undeclared (first use in
> this function)
> q_esfq.c:145: error: `TCA_SFQ_HASH_DST' undeclared (first use in this
> function)
> q_esfq.c:148: error: `TCA_SFQ_HASH_SRC' undeclared (first use in this
> function)
> make[1]: *** [q_esfq.o] Error 1
>
> Does anybody know what this mean?
>
It looks to me like the ESFQ patch wasn't completely applied and/or an
earlier-version ESFQ patch wasn't completely reverted and/or another
patch is interfering. Try this:
1. Start out with a clean, freshly-unpacked iproute2 directory.
2. Grab the latest ESFQ patch from http://fatooh.org/esfq-2.6/. Right
now it is:
http://fatooh.org/esfq-2.6/esfq-2.6.12-rc1.tar.gz
3. Patch iproute2 (and make sure patch doesn't complain; it shouldn't).
4. Do you still have the problem?
-Corey
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] compile error while patching iproute2 with esfq
2005-05-26 19:49 [LARTC] compile error while patching iproute2 with esfq Janis Bistevins
2005-05-27 0:33 ` Corey Hickey
@ 2005-05-27 3:11 ` gypsy
2005-05-27 16:03 ` Stephen Hemminger
2 siblings, 0 replies; 4+ messages in thread
From: gypsy @ 2005-05-27 3:11 UTC (permalink / raw)
To: lartc
Janis Bistevins wrote:
>
> Hi!
> I'm getting this error while I try to compile iproute2-2.6.11-050330:
>
> 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:45: error: structure has no member named `hash_kind'
> 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:91: error: structure has no member named `hash_kind'
> q_esfq.c:94: error: structure has no member named `hash_kind'
> q_esfq.c:94: error: `TCA_SFQ_HASH_DST' undeclared (first use in this
> function)
> q_esfq.c:97: error: structure has no member named `hash_kind'
> q_esfq.c:97: error: `TCA_SFQ_HASH_SRC' undeclared (first use in this
> function)
> q_esfq.c: In function `esfq_print_opt':
> q_esfq.c:140: error: structure has no member named `hash_kind'
> q_esfq.c:142: error: `TCA_SFQ_HASH_CLASSIC' undeclared (first use in
> this function)
> q_esfq.c:145: error: `TCA_SFQ_HASH_DST' undeclared (first use in this
> function)
> q_esfq.c:148: error: `TCA_SFQ_HASH_SRC' undeclared (first use in this
> function)
> make[1]: *** [q_esfq.o] Error 1
>
> Does anybody know what this mean?
>
> Regards
Yeah, I know what it means.
Where did you get your esfq patch from?
What kernel version? If your kernel is 2.6 then get this patch:
http://kem.p.lodz.pl/~peter/qnet/
For a 2.4 kernel, go here:
ftp://andthatsjazz.org/pub/lartc/esfq-0.3.tar.gz
--
gypsy
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [LARTC] compile error while patching iproute2 with esfq
2005-05-26 19:49 [LARTC] compile error while patching iproute2 with esfq Janis Bistevins
2005-05-27 0:33 ` Corey Hickey
2005-05-27 3:11 ` gypsy
@ 2005-05-27 16:03 ` Stephen Hemminger
2 siblings, 0 replies; 4+ messages in thread
From: Stephen Hemminger @ 2005-05-27 16:03 UTC (permalink / raw)
To: lartc
> > Does anybody know what this mean?
> Yeah, I know what it means.
You need to make the rtnetlink.h file that is included from the build (usually include/linux/rnetlink.h)
include the esfq stuff.
_______________________________________________
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-05-27 16:03 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-26 19:49 [LARTC] compile error while patching iproute2 with esfq Janis Bistevins
2005-05-27 0:33 ` Corey Hickey
2005-05-27 3:11 ` gypsy
2005-05-27 16:03 ` Stephen Hemminger
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.