All of lore.kernel.org
 help / color / mirror / Atom feed
From: Corey Hickey <bugfood-ml@fatooh.org>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] compile error while patching iproute2 with esfq
Date: Fri, 27 May 2005 00:33:44 +0000	[thread overview]
Message-ID: <42966AE8.20306@fatooh.org> (raw)
In-Reply-To: <1b47fd660505261249325455ce@mail.gmail.com>

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

  reply	other threads:[~2005-05-27  0:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-26 19:49 [LARTC] compile error while patching iproute2 with esfq Janis Bistevins
2005-05-27  0:33 ` Corey Hickey [this message]
2005-05-27  3:11 ` gypsy
2005-05-27 16:03 ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=42966AE8.20306@fatooh.org \
    --to=bugfood-ml@fatooh.org \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.