Re: libnetfilter_conntrack-0.0.95 compile error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux