All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Petr Pisar <petr.pisar@atlas.cz>
Cc: netfilter@vger.kernel.org
Subject: Re: conntrack can't delete more conntrack records
Date: Thu, 13 Mar 2008 16:51:35 +0100	[thread overview]
Message-ID: <47D94D87.8050506@netfilter.org> (raw)
In-Reply-To: <slrnftde87.u6d.petr.pisar@album.ics.muni.cz>

Petr Pisar wrote:
> On 2008-03-11, Pablo Neira Ayuso <pablo@netfilter.org> wrote:
>> Petr Pisar wrote:
>>> cc1: warnings being treated as errors
>>> In file included from /usr/local/include/libnetfilter_conntrack/libnetfilter_conntrack.h:13,
>>>                  from ../include/conntrack.h:6,
>>>                  from conntrack.c:37:
>>> /usr/local/include/libnfnetlink/libnfnetlink.h:198: warning: declaration of `index' shadows a global declaration
>>> <built-in>:0: warning: shadowed declaration is here
>>> make[1]: *** [conntrack.o] Error 1
>>>
>>> (I've met this problem twice.)
>> Weird. It must be a global declaration of "index" somewhere in the
>> system,
> 
> yes, it's index(3).
> 
>> does the patch attached fix your problem?
> 
> Partially. Other problem is:
> 
> make[1]: Entering directory `/tmp/conntrack-tools-0.9.6/src'
> gcc -DPACKAGE_NAME=\"conntrack-tools\" -DPACKAGE_TARNAME=\"conntrack-tools\" -DPACKAGE_VERSION=\"0.9.6\" -DPACKAGE_STRING=\"conntrack-tools\ 0.9.6\" -DPACKAGE_BUGREPORT=\"pablo@netfilter.org\" -DPACKAGE=\"conntrack-tools\" -DVERSION=\"0.9.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1 -DHAVE_LINUX_CAPABILITY_H=1 -DHAVE_LIBNFNETLINK=1 -DHAVE_LIBNETFILTER_CONNTRACK=1 -DHAVE_ARPA_INET_H=1 -DHAVE_INET_PTON=1 -DHAVE_INET_PTON_IPV6=1 -I.  -I../include   -std=gnu99 -W -Wall -Werror -Wmissing-prototypes -Wwrite-strings -Wcast-qual -Wfloat-equal -Wshadow -Wpointer-arith -Wbad-function-cast -Wsign-compare -Waggregate-ret
 urn -Wmissing-declarations -Wredundant-decls -Wnested-externs -Winline -Wstrict-prototypes -Wundef -Wno-unused-parameter -g -O2   -MT sync-mode.o -MD -MP -MF .deps/sync-mode.Tpo -c -o sync-m
ode.o sync-mode.c
> cc1: warnings being treated as errors
> In file included from sync-mode.c:27:
> ../include/network.h:64: warning: declaration of `conf' shadows a global declaration
> ../include/conntrackd.h:144: warning: shadowed declaration is here

Already applied a patch for that, please get a working copy from SVN 
which includes these fixes. Let me know if it's OK for you.

-- 
"Los honestos son inadaptados sociales" -- Les Luthiers

  reply	other threads:[~2008-03-13 15:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-10 19:49 conntrack can't delete more conntrack records Petr Pisar
2008-03-11 11:56 ` Pablo Neira Ayuso
2008-03-11 14:26   ` Petr Pisar
2008-03-11 16:53   ` Petr Pisar
2008-03-13 15:51     ` Pablo Neira Ayuso [this message]
2008-03-15 15:26       ` Cédric Krier
2008-03-25 14:35         ` Pablo Neira Ayuso
2008-03-18 11:42       ` Petr Pisar

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=47D94D87.8050506@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=netfilter@vger.kernel.org \
    --cc=petr.pisar@atlas.cz \
    /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.