This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: problem with cyg/kernel/kapi.h
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Alexander Popov <s_popov at prosyst dot bg>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 17 Oct 2003 17:33:38 +0200
- Subject: Re: [ECOS] problem with cyg/kernel/kapi.h
- References: <3F8FFD49.5090606@prosyst.bg> <3F900030.8060904@prosyst.bg>
On Fri, Oct 17, 2003 at 05:44:00PM +0300, Alexander Popov wrote:
> I can't find cyg_handlg_t in the header files for the target.
> What am I doing wrog - can I use cyg/kernel/kapi.h that way?
Yes you can, with a correctly configured and built system. Not you
don't need to give the full path either, which is a bad idea.
A guess would be you have a confused build directory. Have you build
redboot in the same directory? Thats a common mistake.
Start from an empty directory and do a clean configuration and build.
ecosconfig new pc
ecosconfig tree
make
Then try your "hello world" with this.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss