[ECOS] configtool fails building tests

Andrew Lunn andrew@lunn.ch
Fri Nov 26 08:36:00 GMT 2004


On Thu, Nov 25, 2004 at 04:45:20PM -0300, Daniel Gomes wrote:
> Hello, people.
> 
> I'm trying to build the Tests in eCos Configuration
> Tool, but it's failing to compile. I'm using the
> ecos.ecc generated from Cirrus Logic for their EDB9301
> eval board.
> 
> I know the the error is because cyg_start is declared
> both in redboot (main.c) and test (context.c), but I
> don't know what to do !! Please, someone give me some
> light ! Thanks a lot !

The configuration you used for redboot is not valid for applications,
since redboot itself is an application. You need to use a different
template, eg posix, or net. Anything but redboot. The tests will then
compile.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list