This is the mail archive of the ecos-discuss@sources.redhat.com 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: Small #include question


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]