This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Sementation Fault
Giridhara R P said:
> hii
> i installed ecos 2.0 on linux.
> I used configtool for configuration.
> Compilation of ecos is also successful.
> but if i try to execute the programs provided in the examples
> directory, i encountered 'sementation fault'.
> I used gdb tool and this was the out put.
>
> /*--------------------Output-------------------*/
>
> (gdb) run
> Starting program: /export/home1/Giri-Ecos/ecos-2.0/examples/hello
>
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x00108000 in _stext ()
> at
> /export/home1/Giri-Ecos/ecos-2.0/packages/kernel/v2_0/src/common/kapi.cxx:359
> 359 }
> Current language: auto; currently c++
>
> /*-------------------end out put---------------*/
>
> Can u please tell me what is the problem.
What target did you build for? It rather looks like the "PC". eCos
is designed to run on embedded/target systems, not your desktop.
If you want to run the tests on Linux, select the synthetic target "linux".
For more information, try the "Getting Started" section of the documentation.
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss