This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Small #include question
- From: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>
- To: "Cusson, Pascal" <pascal dot cusson at analog dot com>,<ecos-discuss at sources dot redhat dot com>
- Date: Tue, 22 Oct 2002 16:25:31 +0100
- Subject: Re: [ECOS] Small #include question
- Organization: Sweeney Design
- References: <8FDC0F9BE1F91D44BE964AA54AAA67B69C03AD@wilmexm3.ad.analog.com>
- Reply-to: "Chris Garry" <cgarry at sweeneydesign dot co dot uk>
You need to add -D_KERNEL -D__ECOS to your compile line when compiling the
network stuff.
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