public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Re: Anyone have lwIP working under eCos?
@ 2003-09-15  6:28 Savin Zlobec
  2003-09-15 13:35 ` Andrew M Hoerter
  0 siblings, 1 reply; 2+ messages in thread
From: Savin Zlobec @ 2003-09-15  6:28 UTC (permalink / raw)
  To: amh; +Cc: ecos-discuss

>
>
>I'm trying to get the latest lwIP code from CVS to work with the latest
>eCos from CVS, but I'm encountering what must be a pretty basic problem.
>
>I've read the lwIP/eCos README included in the contrib directory within
>the lwIP tree, and have successfully applied the single diff to
>the eCos repository provided in that directory as well.
>
>When I attempt to compile eCos (having created an appropriate config file,
>created a tree, etc.), I get the following error:
>
>/opt/ecos/ecos-cvs/packages/devs/eth/intel/i82559/current/src/if_i82559.c:
>2619:4:#error Empty i82559 ethernet DSR is compiled. Is this what you want?
>
>Looking at the file, it's obvious some glue is needed to allow lwIP to
>receive Ethernet frames from the driver.  When you compile in the FreeBSD
>stack with eCos, that glue code is included where this #error happens.
>But I can't find any mention of how to include the appropriate code for
>lwIP, or perhaps I'm just supposed to gin it up myself?
>  
>
Look at the following msg thread:

http://sources.redhat.com/ml/ecos-discuss/2003-08/msg00619.html
http://sources.redhat.com/ml/ecos-discuss/2003-08/msg00622.html
http://sources.redhat.com/ml/ecos-discuss/2003-09/msg00003.html
http://sources.redhat.com/ml/ecos-discuss/2003-09/msg00004.html

savin


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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ECOS] Re: Anyone have lwIP working under eCos?
  2003-09-15  6:28 [ECOS] Re: Anyone have lwIP working under eCos? Savin Zlobec
@ 2003-09-15 13:35 ` Andrew M Hoerter
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew M Hoerter @ 2003-09-15 13:35 UTC (permalink / raw)
  To: Savin Zlobec; +Cc: ecos-discuss


On Mon, 15 Sep 2003, Savin Zlobec wrote:

> Look at the following msg thread:
>
> http://sources.redhat.com/ml/ecos-discuss/2003-08/msg00619.html
> http://sources.redhat.com/ml/ecos-discuss/2003-08/msg00622.html
> http://sources.redhat.com/ml/ecos-discuss/2003-09/msg00003.html
> http://sources.redhat.com/ml/ecos-discuss/2003-09/msg00004.html

Ahh, thanks, msg00003.html contained the solution (at least for me).
I changed:

#ifdef CYGPKG_IO_ETH_DRIVERS_NET

to:

#ifndef CYGPKG_IO_ETH_DRIVERS_STAND_ALONE

in packages/devs/eth/intel/i82559/current/src/if_i82559.c

Now at least the tree compiles cleanly, so it's a big step in the right
direction.



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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-09-15 13:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-15  6:28 [ECOS] Re: Anyone have lwIP working under eCos? Savin Zlobec
2003-09-15 13:35 ` Andrew M Hoerter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).