Re: [LARTC] compile error while patching iproute2 with esfq
> > 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
Re: [LARTC] compile error while patching iproute2 with esfq
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
Re: [LARTC] compile error while patching iproute2 with esfq
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
[LARTC] compile error while patching iproute2 with esfq
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 -- ___ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc