This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem with MULTICAST


Please send your replies to the eCos mailing list so that all may
benefit.

On Wed, 2005-11-09 at 18:33 +0100, Bass8tt8 wrote:
> Ok, for testing now i'm trying to build my library with FreeBSD stack and
> not OpenBSD, but during compilation i've got this error :
> ( i've add "Multicast routing support"  )
> 
> 
> 
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/bsd_tcpip/current/src/sy
> s/netinet/ip_mroute.c: In function `ip_mrouter_init':
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/bsd_tcpip/current/src/sy
> s/netinet/ip_mroute.c:589: `expire_upcalls_ch' has an incomplete type
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/bsd_tcpip/current/src/sy
> s/netinet/ip_mroute.c: In function `X_ip_mrouter_done':
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/bsd_tcpip/current/src/sy
> s/netinet/ip_mroute.c:632: too many arguments to function `untimeout'
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/bsd_tcpip/current/src/sy
> s/netinet/ip_mroute.c: In function `expire_upcalls':
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/bsd_tcpip/current/src/sy
> s/netinet/ip_mroute.c:1376: `expire_upcalls_ch' has an incomplete type
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/bsd_tcpip/current/src/sy
> s/netinet/ip_mroute.c: In function `cyg_rsvp_input':
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/bsd_tcpip/current/src/sy
> s/netinet/ip_mroute.c:2146: warning: unused variable `proto'
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/bsd_tcpip/current/src/sy
> s/netinet/ip_mroute.c: At top level:
> make[1]: Leaving directory
> `/ecos-d/Ultimodule/ecos/work/posix-new_build/net/bsd_tcpip/current'
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/bsd_tcpip/current/src/sy
> s/netinet/ip_mroute.c:232: storage size of `expire_upcalls_ch' isn't known
> make: Leaving directory `/ecos-d/Ultimodule/ecos/work/posix-new_build'
> make[1]: *** [src/sys/netinet/ip_mroute.o.d] Error 1
> make: *** [build] Error 2
> 
> 
> There aren't errors if i don't  select  " Multicast Routing Support " .....

It does look like there are some issues to be fixed here.  I do know 
that the IPv6 support makes use of Multicast, but perhaps multicast 
routing is not so well supported.

It looks like you'll need to do some work if you need this, sorry.


> 
> Michele Da Meda
> 
> 
> 
> 
> 
> ----- Original Message ----- 
> From: "Gary Thomas" <gary@mlbassoc.com>
> To: "Bass8tt8" <bass8tt8@libero.it>
> Cc: "eCos Discussion" <ecos-discuss@ecos.sourceware.org>
> Sent: Wednesday, November 09, 2005 4:54 PM
> Subject: Re: [ECOS] Problem with MULTICAST
> 
> 
> > On Wed, 2005-11-09 at 16:42 +0100, Bass8tt8 wrote:
> > > These are the errors on compiling library :
> > >
> > > ..
> > > ......
> > >
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/tcpip/current/src/sys/ne
> > > tinet/in_proto.c
> > > make[1]: Leaving directory
> > > `/ecos-d/Ultimodule/ecos/work/posix_build/net/tcpip/current'
> > >
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/tcpip/current/src/sys/ne
> > > tinet/in_proto.c:263: `ip4_sysctl' undeclared here (not in a function)
> > > make: Leaving directory `/ecos-d/Ultimodule/ecos/work/posix_build'
> > >
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/tcpip/current/src/sys/ne
> > > tinet/in_proto.c:263: initializer element is not constant
> > >
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/tcpip/current/src/sys/ne
> > > tinet/in_proto.c:263: (near initialization for `inetsw[5].pr_sysctl')
> > >
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/tcpip/current/src/sys/ne
> > > tinet/in_proto.c:263: initializer element is not constant
> > >
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/tcpip/current/src/sys/ne
> > > tinet/in_proto.c:263: (near initialization for `inetsw[5]')
> > >
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/tcpip/current/src/sys/ne
> > > tinet/in_proto.c:277: initializer element is not constant
> > >
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/tcpip/current/src/sys/ne
> > > tinet/in_proto.c:277: (near initialization for `inetsw[6]')
> > >
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/tcpip/current/src/sys/ne
> > > tinet/in_proto.c:345: initializer element is not constant
> > >
> /ecos-d/Ultimodule/ecos/src/ecos-scmxx/packages/net/tcpip/current/src/sys/ne
> > > tinet/in_proto.c:345: (near initialization for `inetsw[7]')
> > >
> > > make[1]: *** [src/sys/netinet/in_proto.o.d] Error 1
> > >
> > > make: *** [build] Error 2
> > >
> > >
> > > Well, i see that there is the header file   "ip_ip4.h"  but there isn't
> > > "ip_ip4.c",  and so i downloaded  the "ip_ip4.c" from OpenBSD stack, i
> put
> > > it in the directory   ..packages\net\tcpip\current\src\sys\netinet,
> then
> > > i've added this lines to the  "in_proto.c" :
> > >
> > > #ifdef MROUTING
> > > #include <netinet/ip_ip4.h>
> > > #endif
> > >
> > >
> > > At the end  i've recompiled the library but obviously there was errors
> in
> > > the "ip_ip4.c" .....
> > >
> > >
> > > 1  )  BUT   MULTICAST  IS SUPPORTED ???
> > >
> > > 2)    DO YOU HAVE A SOLUTION AT THIS COMPILATION ERROR ?
> > >
> >
> > Multicast should work, but you'll need to use the FreeBSD stack.
> >
> > Why are you using the older (OpenBSD) stack?
> >
> > >
> > >
> > > Michele
> > >
> > > ----- Original Message ----- 
> > > From: "Andrew Lunn" <andrew@lunn.ch>
> > > To: "Bass8tt8" <bass8tt8@libero.it>
> > > Cc: "ecos-discuss" <ecos-discuss@ecos.sourceware.org>
> > > Sent: Tuesday, November 08, 2005 4:39 PM
> > > Subject: Re: [ECOS] Problem with MULTICAST
> > >
> > >
> > > > On Tue, Nov 08, 2005 at 01:41:23PM +0100, Bass8tt8 wrote:
> > > > >
> > > > > HI, i have to develop ad UPNP-application  and  i have to send and
> > > receive
> > > > > MULTICAST messages.
> > > > > Is multicast supported on ECOS ?
> > > > > I have seen a tag in ECOS CONFIG. TOOL  :  "Multicast routing
> support"
> > > but
> > > > > when i compile my library there are errors .
> > > >
> > > > What errors?
> > > >
> > > >         Andrew
> > > >
> > > > -- 
> > > > Before posting, please read the FAQ:
> http://ecos.sourceware.org/fom/ecos
> > > > and search the list archive:
> http://ecos.sourceware.org/ml/ecos-discuss
> > > >
> > > >
> > > >
> > > > __________ NOD32 1.1280 (20051108) Information __________
> > > >
> > > > This message was checked by NOD32 antivirus system.
> > > > http://www.eset.com
> > > >
> > > >
> > >
> >
> > -- 
> > ------------------------------------------------------------
> > Gary Thomas                 |  Consulting for the
> > MLB Associates              |    Embedded world
> > ------------------------------------------------------------
> >
> >
> > -- 
> > Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> > and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
> >
> >
> >
> > __________ NOD32 1.1280 (20051108) Information __________
> >
> > This message was checked by NOD32 antivirus system.
> > http://www.eset.com
> >
> >
-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]