[ECOS] Re: hello world app SEG faults with Linux synth target

Mandeep Sandhu mandeepsandhu.chd@gmail.com
Tue Jul 21 08:10:00 GMT 2009

>> Any clues how to fix this?
>> How does the hello world app make use of the ecosynth app?
> You should not need the I/O auxiliary process for a "hello world"
> application.

Ok. So the printf's would use the std in/out/err file descriptors offered
to the ecos process by Linux?

> Which Linux distribution and version are you using?

uname -a:
Linux mindstorm 2.6.28-13-generic #45-Ubuntu SMP Tue Jun 30 19:49:51
UTC 2009 i686 GNU/Linux
> If you are running on Debian or Ubuntu, try adding
> "-fno-stack-protector" to CYGBLD_GLOBAL_CFLAGS. Ref:
>  http://bugs.ecos.sourceware.org/show_bug.cgi?id=1000801
> You will need to "make clean" and rebuild eCos.

Just did that and it seems to work...though I don't see the printf's
on the console
and the app does not exit! Where does the printf output go?

Thanks as always,

> John Dallaway

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