This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: CYGBLD_ATTRIB_NORET error
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "Schumacher, Gordon" <gordon_schumacher at maxtor dot com>
- Cc: "eCos List (E-mail)" <ecos-discuss at sources dot redhat dot com>
- Date: 12 Dec 2002 11:12:04 +0000
- Subject: Re: [ECOS] CYGBLD_ATTRIB_NORET error
- References: <E836CBDA0DC0D5118606009027DE2A0C983C70@mcoexc02.mlm.maxtor.com>
"Schumacher, Gordon" <gordon_schumacher@maxtor.com> writes:
> I've run into a compile-time error while trying to build my current
> configuration. I've started with the RedBoot template, removed DNS support,
> and added ISO C strings, internationalization, startup/termination, I/O, and
> general utility functions; and added the I/O subsystem, serial drivers,
> common error code support, and the kernel (as required by the I/O
> subsystem).
What exactly are you trying to do here? Given the changes you have
made, it would be better to start from a different template than the
RedBoot one. The net, posix or default templates would be a better
starting point. The redboot template is really just for building
RedBoot from.
>
> When I try and build this, I get the following:
>
> /ecos-j/FIT4fw/GPMM-RB_install/include/stdlib.h: In function `void abort()':
> /ecos-j/FIT4fw/GPMM-RB_install/include/stdlib.h:261: parse error before `;'
> /ecos-j/FIT4fw/GPMM-RB_install/include/stdlib.h:261: ANSI C++ forbids
> declaration `CYGBLD_ATTRIB_NORET' with no type
> /ecos-j/FIT4fw/GPMM-RB_install/include/stdlib.h:261: confused by earlier
> errors, bailing out
>
> Have I failed to add something required? I'd try this with a standard
> template, but there doesn't appear to be one that includes both the ISO
> stuff and RedBoot.
>
Why do you want the ISO stuff and RedBoot? The ISO stuff is intended
to interact with the POSIX, FILEIO, NET, CLIB and KERNEL packages,
none of which are compatible with RedBoot.
--
Nick Garnett - eCos Kernel Architect
http://www.eCosCentric.com/
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss