[ECOS] problem with cyg/kernel/kapi.h

Andrew Lunn andrew@lunn.ch
Fri Oct 17 15:33:00 GMT 2003


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



More information about the Ecos-discuss mailing list