Re: can't compile latest git commit 38a49c

Jakub Słociński <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <[email protected]>
Hey,


1. latest commit: 38a49c

2.

grep HAVE_XT_SET_INFO_MATCH_V1 lib/config.h

/* #undef HAVE_XT_SET_INFO_MATCH_V1 */


3.

grep xt_set_info_match_v -A3 /usr/include/linux/netfilter/xt_set.h
struct xt_set_info_match_v0 {
    struct xt_set_info_v0 match_set;
};

--
struct xt_set_info_match_v1 {
    struct xt_set_info match_set;
};



4. debian, 6.12.1-1



Regards,

Jakub Słociński



________________________________
From: Quentin Armitage <[email protected]>
Sent: Tuesday, August 16, 2016 16:09
To: Jakub Słociński
Cc: [email protected]
Subject: Re: [Keepalived-devel] can't compile latest git commit 38a49c

On Tue, 2016-08-16 at 12:31 +0000, Jakub Słociński wrote:

Hey,
while I was trying to compile the latest GIT version I'm blocked with this error:

./configure
make
[...]
Making all in vrrp
make[2]: Entering directory `/usr/src/keepalived/git/keepalived/keepalived/vrrp'



  CC     vrrp_iptables_calls.o
vrrp_iptables_calls.c: In function 'ip4tables_add_rules':
vrrp_iptables_calls.c:517:4: error: dereferencing pointer to incomplete type
vrrp_iptables_calls.c:517:4: error: dereferencing pointer to incomplete type


I saw this problem recently, and though I had fixed it, but I can't find the commit right now.

Can you confirm the following:

1. what is the latest git commit in your source tree?
2. what is HAVE_XT_SET_INFO_MATCH_V1 defined as in lib/config.h?
3. what  is the latest version of xt_set_info_match_v? in <linux/netfilter/xt_set.h>?
4. What version of the ipset development libraries do you have installed?

As a temporary workaround to your problem you could try the --disable-libipset  option to configure.

------------------------------------------------------------------------------

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.