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


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 ?



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
>
>


-- 
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]