Linux Netfilter discussions
 help / color / mirror / Atom feed
From: Pablo Neira Ayuso <pablo@netfilter.org>
To: Dave <finalglide@gmail.com>
Cc: netfilter@vger.kernel.org
Subject: Re: libnetfilter_conntrack-0.0.95 compile error
Date: Fri, 04 Jul 2008 09:46:19 +0200	[thread overview]
Message-ID: <486DD54B.9040902@netfilter.org> (raw)
In-Reply-To: <935fab200806300948y65018956ud5513d16cd93c9cd@mail.gmail.com>

Dave wrote:
> Just tried to update conntrack librarys to new version but error out.
> 0.94 compiles just fine though.
> 
> gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
> -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\"
> -DPACKAGE=\"libnetfilter_conntrack\" -DVERSION=\"0.0.95\"
> -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 -DHAVE_ARPA_INET_H=1
> -DHAVE_INET_NTOP=1 -DHAVE_INET_NTOP_IPV6=1 -I.  -I../include    -g -O2
> -DLIBNETFILTER_CONNTRACK_DIR=\"/usr/local/lib/libnetfilter_conntrack/\"
> -I/usr/local/include   -MT conntrack_events.o -MD -MP -MF
> .deps/conntrack_events.Tpo -c -o conntrack_events.o conntrack_events.c
> conntrack_events.c: In function 'sk_set_filter':
> conntrack_events.c:44: error: invalid application of 'sizeof' to
> incomplete type 'struct nlattr'
> conntrack_events.c:66: error: invalid application of 'sizeof' to
> incomplete type 'struct nlattr'
> conntrack_events.c:92: error: invalid application of 'sizeof' to
> incomplete type 'struct nlattr'
> conntrack_events.c: At top level:
> conntrack_events.c:149: error: invalid application of 'sizeof' to
> incomplete type 'struct nlattr'
> conntrack_events.c:170: error: invalid application of 'sizeof' to
> incomplete type 'struct nlattr'
> conntrack_events.c:195: error: invalid application of 'sizeof' to
> incomplete type 'struct nlattr'
> make[1]: *** [conntrack_events.o] Error 1
> 
> 
> Any ideas?

You seem to have compiled a SVN snapshot. Please, try lastest svn
snapshot - the previous were broken as you have noticed - or the
official release 0.0.95.

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

  reply	other threads:[~2008-07-04  7:46 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-30 16:48 libnetfilter_conntrack-0.0.95 compile error Dave
2008-07-04  7:46 ` Pablo Neira Ayuso [this message]
2008-07-07 22:22   ` Dave
2008-07-08 10:23     ` Pablo Neira Ayuso
2008-07-08 10:30     ` Pablo Neira Ayuso
2008-07-09 18:32       ` Dave
  -- strict thread matches above, loose matches on Subject: below --
2008-06-30 16:44 Dave

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=486DD54B.9040902@netfilter.org \
    --to=pablo@netfilter.org \
    --cc=finalglide@gmail.com \
    --cc=netfilter@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox