lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 3 Apr 2008 10:16:41 +0300
From:	"Andy Johnson" <johnsonzjo@...il.com>
To:	"YOSHIFUJI Hideaki / 吉藤英明" 
	<yoshfuji@...ux-ipv6.org>
Cc:	davem@...emloft.net, netdev@...r.kernel.org
Subject: Re: [GIT PULL net-2.6.26] [IPV6] MROUTE: Support multicast routing.

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@...ux-ipv6.org> wrote:
> In article <147a89290804022314w7968fd47y7de78a9e87c2d289@...l.gmail.com> (at Thu, 3 Apr 2008 09:14:00 +0300), "Andy Johnson" <johnsonzjo@...il.com> says:
>
>  > 1) I downlaoded the mcast-tools git tree. There is no configure script there
>  > and no Makefile. How is it to build ?
>
>  aclocal; automake; autoconf
>
>
>  > 2) Typo correction: it should be
>  > git://git.linux-ipv6.org/gitroot/yoshfuji/mcast-tools.git
>  >
>  > and not
>  > git:/git.linux-ipv6.org/gitroot/yoshfuji/mcast-tools.git
>
>  Right.
>
>
>  > 3) I had looked for some info about Multicast Routing; I found
>  > Chapter 2 in "IPv6 Advanced Protocols Implementation" book.
>  > But it talks about kame project.
>  > It talks about  Protocol Independent Multicast (PIM), PIM version 2,
>  > MLD , BSD implementation, and more.
>
>  Make a Linux box a multicast (PIM-SM (SSM), say PIMv2) router.
>
>  --yoshfuji
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ