Hello , I am trying to compile ctdb. I pull latest version 2-Jun-2009. During make it fails with error: Compiling utils/ipmux/ipmux.c In file included from /usr/include/linux/netfilter_ipv4/ip_queue.h:10, from /usr/include/libipq.h:37, from utils/ipmux/ipmux.c:31: /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 -> ./lib/replace/system/network.h->/usr/include/net/if.h 2. utils/ipmux/ipmux.c-> /usr/include/libipq.h -> /usr/include/linux/netfilter_ipv4/ip_queue.h -> /usr/include/linux/if.h How can I resolve this conflict? Thanks in advance, Evgeny Privarotskiy
Please update to latest GIT and try again. IPMUX has been removed since it is obsolete and replaced by the much better LVS solution. On Wed, Jun 3, 2009 at 12:46 AM, Evgeny Privarotskiy <pea1999@gmail.com>wrote:> Hello , > > I am trying to compile ctdb. I pull latest version 2-Jun-2009. > During make it fails with error: > > Compiling utils/ipmux/ipmux.c > In file included from /usr/include/linux/netfilter_ipv4/ip_queue.h:10, > from /usr/include/libipq.h:37, > from utils/ipmux/ipmux.c:31: > /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 -> > ./lib/replace/system/network.h->/usr/include/net/if.h > 2. utils/ipmux/ipmux.c-> /usr/include/libipq.h -> > /usr/include/linux/netfilter_ipv4/ip_queue.h -> > /usr/include/linux/if.h > > How can I resolve this conflict? > > Thanks in advance, > Evgeny Privarotskiy >
Seemingly Similar Threads
- ip_queue module issue
- Why libnetfilter_queue is missing from CentOS, but available in, Fedora?
- [Bug 752] New: ipq_read() will return an error (rc = -1) and the error message says "Received truncated message"
- support libipq?
- [Bug 39] New: can't execute 'make modules'