LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 09-16-2005, 01:32 PM   #1
daremo
LQ Newbie
 
Registered: Sep 2005
Location: Ethernopia
Posts: 3

Rep: Reputation: 0
Multicast with mrouted


Hi all.

I have an issue. Hopefully a small one. I'm posting it here, even though it's a compile issue because of the topic being multicast and multicast being part of networking.


First and formost, I have fedora core 3 installed.


I'm trying to build mroutd w/out any success.

Here is the output I get.

cc -D__BSD_SOURCE -Ibsd -O -Iinclude-linux -DRSRR -c -o igmp.o igmp.c
In file included from defs.h:34,
from igmp.c:14:
include-linux/netinet/igmp.h:17:1: warning: "IGMP_AGE_THRESHOLD" redefined
In file included from include-linux/netinet/igmp.h:1,
from defs.h:34,
from igmp.c:14:
/usr/include/linux/igmp.h:65:1: warning: this is the location of the previous definition
In file included from /usr/include/linux/mroute.h:5,
from include-linux/netinet/ip_mroute.h:1,
from defs.h:35,
from igmp.c:14:
/usr/include/linux/in.h:25: error: conflicting types for 'IPPROTO_IP'
/usr/include/netinet/in.h:33: error: previous definition of 'IPPROTO_IP' was here
/usr/include/linux/in.h:26: error: conflicting types for 'IPPROTO_ICMP'
/usr/include/netinet/in.h:37: error: previous definition of 'IPPROTO_ICMP' was here
/usr/include/linux/in.h:27: error: conflicting types for 'IPPROTO_IGMP'
/usr/include/netinet/in.h:39: error: previous definition of 'IPPROTO_IGMP' was here
/usr/include/linux/in.h:28: error: conflicting types for 'IPPROTO_IPIP'
/usr/include/netinet/in.h:41: error: previous definition of 'IPPROTO_IPIP' was here
/usr/include/linux/in.h:29: error: conflicting types for 'IPPROTO_TCP'
/usr/include/netinet/in.h:43: error: previous definition of 'IPPROTO_TCP' was here
/usr/include/linux/in.h:30: error: conflicting types for 'IPPROTO_EGP'
/usr/include/netinet/in.h:45: error: previous definition of 'IPPROTO_EGP' was here
/usr/include/linux/in.h:31: error: conflicting types for 'IPPROTO_PUP'
/usr/include/netinet/in.h:47: error: previous definition of 'IPPROTO_PUP' was here
/usr/include/linux/in.h:32: error: conflicting types for 'IPPROTO_UDP'
/usr/include/netinet/in.h:49: error: previous definition of 'IPPROTO_UDP' was here
/usr/include/linux/in.h:33: error: conflicting types for 'IPPROTO_IDP'
/usr/include/netinet/in.h:51: error: previous definition of 'IPPROTO_IDP' was here
/usr/include/linux/in.h:34: error: conflicting types for 'IPPROTO_RSVP'
/usr/include/netinet/in.h:61: error: previous definition of 'IPPROTO_RSVP' was here
/usr/include/linux/in.h:35: error: conflicting types for 'IPPROTO_GRE'
/usr/include/netinet/in.h:63: error: previous definition of 'IPPROTO_GRE' was here
/usr/include/linux/in.h:37: error: conflicting types for 'IPPROTO_IPV6'
/usr/include/netinet/in.h:55: error: previous definition of 'IPPROTO_IPV6' was here
/usr/include/linux/in.h:39: error: conflicting types for 'IPPROTO_PIM'
/usr/include/netinet/in.h:79: error: previous definition of 'IPPROTO_PIM' was here
/usr/include/linux/in.h:41: error: conflicting types for 'IPPROTO_ESP'
/usr/include/netinet/in.h:65: error: previous definition of 'IPPROTO_ESP' was here
/usr/include/linux/in.h:42: error: conflicting types for 'IPPROTO_AH'
/usr/include/netinet/in.h:67: error: previous definition of 'IPPROTO_AH' was here
/usr/include/linux/in.h:43: error: conflicting types for 'IPPROTO_COMP'
/usr/include/netinet/in.h:81: error: previous definition of 'IPPROTO_COMP' was here
/usr/include/linux/in.h:45: error: conflicting types for 'IPPROTO_RAW'
/usr/include/netinet/in.h:85: error: previous definition of 'IPPROTO_RAW' was here
/usr/include/linux/in.h:47: error: conflicting types for 'IPPROTO_MAX'
/usr/include/netinet/in.h:88: error: previous definition of 'IPPROTO_MAX' was here
/usr/include/linux/in.h:51: error: redefinition of `struct in_addr'
/usr/include/linux/in.h:92: error: redefinition of `struct ip_mreq'
/usr/include/linux/in.h:98: error: redefinition of `struct ip_mreqn'
/usr/include/linux/in.h:105: error: redefinition of `struct in_pktinfo'
/usr/include/linux/in.h:113: error: redefinition of `struct sockaddr_in'
In file included from igmp.c:14:
defs.h:159: error: conflicting types for 'sys_errlist'
/usr/include/bits/sys_errlist.h:28: error: previous declaration of 'sys_errlist' was here
defs.h:159: error: conflicting types for 'sys_errlist'
/usr/include/bits/sys_errlist.h:28: error: previous declaration of 'sys_errlist' was here
defs.h:174: warning: conflicting types for built-in function 'log'
make: *** [igmp.o] Error 1


I'm compiling as root from a putty terminal connection with SSH.


If anyone has any idea why this wont work, I would reallllly appreciate it.

Thanks

Frank
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mrouted and multicast Fredde87 Linux - Networking 2 09-16-2005 01:35 PM
implementing multicast protocol using mrouted or pimd abirami Linux - Networking 0 10-27-2004 10:58 PM
multicast WiWa Linux - Software 0 02-17-2004 04:27 PM
mrouted installation problem boernd Linux - Software 1 01-21-2003 02:59 PM
mrouted problem boernd Linux - Networking 0 01-05-2003 05:30 AM


All times are GMT -5. The time now is 04:56 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration