problem compiling ctdb
pea1999 at gmail.com
Tue Jun 2 14:46:40 GMT 2009
I am trying to compile ctdb. I pull latest version 2-Jun-2009.
During make it fails with error:
In file included from /usr/include/linux/netfilter_ipv4/ip_queue.h:10,
/usr/include/linux/if.h:59: error: redefinition of `struct ifmap'
/usr/include/linux/if.h:77: error: redefinition of `struct ifreq'
/usr/include/linux/if.h:126: error: redefinition of `struct ifconf'
make: *** [utils/ipmux/ipmux.o] Error 1
After some investigation, I found out that there two conflicting includes:
1. utils/ipmux/ipmux.c -> ./include/includes.h ->
2. utils/ipmux/ipmux.c-> /usr/include/libipq.h ->
How can I resolve this conflict?
Thanks in advance,
More information about the samba-technical