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: ecos + lwip


On Thu, Aug 27, 2009 at 05:47:37PM +0300, Sergei Gavrikov wrote:
> On Thu, Aug 27, 2009 at 04:10:52PM +0200, Simon Kallweit wrote:
> > Mandeep Sandhu wrote:
> >> On Thu, Aug 27, 2009 at 7:21 PM, Mandeep
> >> Sandhu<mandeepsandhu.chd@gmail.com> wrote:
> >>>> Well there was actually a mistake. I did compile sio.c even when serial
> >>>> support is not needed (no SLIP or PPP). The warnings in socket.h should not
> >>>> matter, but I'll look into them.
> >>>>
> >>>>> $ find packages/ -name serialio.h
> >>>>> packages/io/serial/v3_0/include/serialio.h
> >>>> Headers in the eCos repository will not be found when compiling, only the
> >>>> headers which are copied over to your build tree are recognized.
> >>>>
> >>>> Well I fixed the bug with sio.c
> >>>>
> >>>> Here is the fixed release:
> >>>> http://download.westlicht.ch/lwip-20090827-1.tar.gz
> >>
> >> This one compiled all the way through (leaving a few "warnings")!!
> >
> > Good news! I'll look into these warnings in socket.c when I get some time.
> 
> Simon, all warning will go away if you enter CDL for LWIP_ERR_T, look,
> please, at lwip/err.h. By default that is signed char (?!), so its
> capacity is quite overflowed. I just tried an ugly addition in err.h
> 
> #define LWIP_ERR_T unsigned int
                     ^^^^^^^^^^^^

Ups, It seems that shoult be 'int', the results are the same (no warns).

Sergei

> 
> and that fixed all gcc complains in socket.c. I checked it, i.e. with that tweak
> all package is compiled silently (arm-elf-gcc 4.3.2), just alone warning:
> 
> sequential.c:113: warning: âset_ip_addrâ defined but not used
> 
> Sergei
> 
> >
> > Simon

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