Linux Netfilter discussions
 help / color / mirror / Atom feed
* libnetfilter_conntrack-0.0.95 compile error
@ 2008-06-30 16:48 Dave
  2008-07-04  7:46 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 7+ messages in thread
From: Dave @ 2008-06-30 16:48 UTC (permalink / raw)
  To: netfilter

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?
Thanks
-Dave

^ permalink raw reply	[flat|nested] 7+ messages in thread
* libnetfilter_conntrack-0.0.95 compile error
@ 2008-06-30 16:44 Dave
  0 siblings, 0 replies; 7+ messages in thread
From: Dave @ 2008-06-30 16:44 UTC (permalink / raw)
  To: netfilter

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?
Thanks
-Dave

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-07-09 18:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-30 16:48 libnetfilter_conntrack-0.0.95 compile error Dave
2008-07-04  7:46 ` Pablo Neira Ayuso
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox