Re: compile error while patching iproute2 with esfq

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux