This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Small #include question
On Tue, 2002-10-22 at 09:25, Chris Garry wrote:
> You need to add -D_KERNEL -D__ECOS to your compile line when compiling the
> network stuff.
>
Or use the new network stack which doesn't need these (preferred).
> Chris
>
>
> ----- Original Message -----
> From: "Cusson, Pascal" <pascal.cusson@analog.com>
> To: <ecos-discuss@sources.redhat.com>
> Sent: Tuesday, October 22, 2002 4:15 PM
> Subject: [ECOS] Small #include question
>
>
> Hi everyone,
> I am starting to write my Ethernet driver. From the ecos documentation, it says the only file I need to include is network.h.
> However When I include the file, I get I bunch of errors ( .h files not found). In my ecos build, I include NET and OPENBSD. Do I
> need to include a different file or do I need to include more packages ???
>
> Pascal
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
>
>
> --
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
--
------------------------------------------------------------
Gary Thomas |
eCosCentric, Ltd. |
+1 (970) 229-1963 | eCos & RedBoot experts
gthomas@ecoscentric.com |
http://www.ecoscentric.com/ |
------------------------------------------------------------
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss