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: Sementation Fault


Thanks for replying.
Yes,
  i selected platform "linux".
For creating .ecc file, 2 methds are there 
1. using ecosconfig (ecosconfig new linux)
2. using configtool (GUI based)

1st  i used ecosconfig to create .ecc file and i compiled ecos.
And i can able to execute  programs (in examples dir).

Well i tried with configtool to create .ecc file. I successfully 
compiled ecos for linux target. But i failed to execute the programs
given in the example dir.

  


On Sat, 3 Apr 2004, Gary Thomas wrote:

> 
> 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


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