Thanks !
Do we have to replace some user space headers so that mcast tools will
compile successfully ?
I am having this issue:
running (on fc7)
for mcast-tools:
aclocal; automake; autoconf
and than
./configure
make
gives:
In file included from /usr/include/linux/mroute.h:5,
from mfc.h:41,
from mfc.c:32:
/usr/include/linux/in.h:26: error: redeclaration of enumerator 'IPPROTO_IP'
/usr/include/netinet/in.h:33: error: previous definition of
'IPPROTO_IP' was here
/usr/include/linux/in.h:27: error: redeclaration of enumerator 'IPPROTO_ICMP'
/usr/include/netinet/in.h:37: error: previous definition of
'IPPROTO_ICMP' was here
/usr/include/linux/in.h:28: error: redeclaration of enumerator 'IPPROTO_IGMP'
/usr/include/netinet/in.h:39: error: previous definition of
'IPPROTO_IGMP' was here
/usr/include/linux/in.h:29: error: redeclaration of enumerator 'IPPROTO_IPIP'
/usr/include/netinet/in.h:41: error: previous definition of
'IPPROTO_IPIP' was here
/usr/include/linux/in.h:30: error: redeclaration of enumerator 'IPPROTO_TCP'
/usr/include/netinet/in.h:43: error: previous definition of
'IPPROTO_TCP' was here
/usr/include/linux/in.h:31: error: redeclaration of enumerator 'IPPROTO_EGP'
/usr/include/netinet/in.h:45: error: previous definition of
'IPPROTO_EGP' was here
/usr/include/linux/in.h:32: error: redeclaration of enumerator 'IPPROTO_PUP'
/usr/include/netinet/in.h:47: error: previous definition of
'IPPROTO_PUP' was here
/usr/include/linux/in.h:33: error: redeclaration of enumerator 'IPPROTO_UDP'
/usr/include/netinet/in.h:49: error: previous definition of
'IPPROTO_UDP' was here
/usr/include/linux/in.h:34: error: redeclaration of enumerator 'IPPROTO_IDP'
/usr/include/netinet/in.h:51: error: previous definition of
'IPPROTO_IDP' was here
/usr/include/linux/in.h:36: error: redeclaration of enumerator 'IPPROTO_RSVP'
/usr/include/netinet/in.h:61: error: previous definition of
'IPPROTO_RSVP' was here
/usr/include/linux/in.h:37: error: redeclaration of enumerator 'IPPROTO_GRE'
/usr/include/netinet/in.h:63: error: previous definition of
'IPPROTO_GRE' was here
/usr/include/linux/in.h:39: error: redeclaration of enumerator 'IPPROTO_IPV6'
/usr/include/netinet/in.h:55: error: previous definition of
'IPPROTO_IPV6' was here
/usr/include/linux/in.h:41: error: redeclaration of enumerator 'IPPROTO_ESP'
/usr/include/netinet/in.h:65: error: previous definition of
'IPPROTO_ESP' was here
/usr/include/linux/in.h:42: error: redeclaration of enumerator 'IPPROTO_AH'
/usr/include/netinet/in.h:67: error: previous definition of
'IPPROTO_AH' was here
/usr/include/linux/in.h:44: error: redeclaration of enumerator 'IPPROTO_PIM'
/usr/include/netinet/in.h:79: error: previous definition of
'IPPROTO_PIM' was here
/usr/include/linux/in.h:46: error: redeclaration of enumerator 'IPPROTO_COMP'
/usr/include/netinet/in.h:81: error: previous definition of
'IPPROTO_COMP' was here
/usr/include/linux/in.h:47: error: redeclaration of enumerator 'IPPROTO_SCTP'
/usr/include/netinet/in.h:83: error: previous definition of
'IPPROTO_SCTP' was here
/usr/include/linux/in.h:50: error: redeclaration of enumerator 'IPPROTO_RAW'
/usr/include/netinet/in.h:85: error: previous definition of
'IPPROTO_RAW' was here
/usr/include/linux/in.h:52: error: redeclaration of enumerator 'IPPROTO_MAX'
/usr/include/netinet/in.h:88: error: previous definition of
'IPPROTO_MAX' was here
/usr/include/linux/in.h:56: error: redefinition of 'struct in_addr'
/usr/include/linux/in.h:115: error: redefinition of 'struct ip_mreq'
/usr/include/linux/in.h:121: error: redefinition of 'struct ip_mreqn'
/usr/include/linux/in.h:127: error: redefinition of 'struct ip_mreq_source'
/usr/include/linux/in.h:133: error: redefinition of 'struct ip_msfilter'
/usr/include/linux/in.h:146: error: redefinition of 'struct group_req'
/usr/include/linux/in.h:152: error: redefinition of 'struct group_source_req'
/usr/include/linux/in.h:159: error: redefinition of 'struct group_filter'
/usr/include/linux/in.h:172: error: redefinition of 'struct in_pktinfo'
/usr/include/linux/in.h:180: error: redefinition of 'struct sockaddr_in'
make[2]: *** [mfc.o] Error 1
AJ
On Thu, Apr 3, 2008 at 9:23 AM, YOSHIFUJI Hideaki / 吉藤英明
<yoshfuji@linux-ipv6.org> wrote: