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: CYGBLD_ATTRIB_NORET error


"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


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