Hi, sorry for so much late. On Fri, Oct 16, 2015 at 06:59:08PM +0200, Pablo Neira Ayuso wrote: > I think you can update configure.ac to update CFLAGS, like this: > > CFLAGS="$CFLAGS -DBUILD_NFCT" > > so we can skip this include. We can avoid to (re)run autogen.sh without lnf-conntrack at first then install it after, but > gcc -lnetfilter_log -lnetfilter_conntrack -lmnl -DBUILD_NFCT nf-log.c -o nf-log this make a sense, I follow your advice. I have met another issue related to lnf-conntrack, could you give me some advice? The following patch is compile error: In file included from nf-log.c:14:0: /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:729:6: error: nested redefinition of ‘enum ip_conntrack_status’ enum ip_conntrack_status { ^ /usr/include/libnetfilter_conntrack/libnetfilter_conntrack.h:729:6: error: redeclaration of ‘enum ip_conntrack_status’ In file included from nf-log.c:12:0: /usr/include/linux/netfilter/nf_conntrack_common.h:37:6: note: originally defined here enum ip_conntrack_status { since both libnetfilter_conntrack.h and nf_conntrack_common.h defines ip_conntrack_status. Could you tell me how do I avoid such a error when using ip_conntrack_status and ip_conntrack_info? # It seems that the prev 2 patches I posted with this # has not applied yet? Thanks, -- To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html