This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: SIGSEV, Segmentation Fault: When attempting to run "Hello World' on Synthetic Linux
- From: Klaus Nji <makaveli_0000 at yahoo dot com>
- To: Bart Veer <bartv at ecoscentric dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 18 Jan 2007 16:04:22 -0800 (PST)
- Subject: Re: [ECOS] SIGSEV, Segmentation Fault: When attempting to run "Hello World' on Synthetic Linux
Hey Bart,
Just wanted to say thank you.
I finally got Hello world to run.
There may have been some problem with my original CVS download.
Now on to the bigger tasks.
Regards,
Klaus
--- Bart Veer <bartv@ecoscentric.com> wrote:
> >>>>> "Klaus" == Klaus Nji <makaveli_0000@yahoo.com> writes:
>
> Klaus> Long story short, I am trying to build the kernel using a
> Klaus> recent CVS download.
>
> Klaus> I set ECOS_REPOSITORY to /home/knji/ecos-work, which is
> Klaus> where the new 'package' folder is located. I created a new
> Klaus> .ecc file using:
>
> Klaus> ecosconfig new i386linux
>
> Klaus> Launched configtool with new ecc file. Generated build
> Klaus> tree, then tried to build library and process quits with
> Klaus> the error below:
>
> Klaus> ++++++++++++++++++++++++++++++++++++++++++++++++++++++
> Klaus> make -r -C services/memalloc/common/current heaps.cxx
> Klaus> make[1]: Entering directory
> Klaus> `/home/knji/ecos-work/test/test_build/services/memalloc/common/current'
> Klaus> XPWD=`pwd` ; cd
> Klaus> /opt/ecos/ecos-2.0/packages/services/memalloc/common/current/src
> Klaus> ; sh heapgen.tcl
>
> Somehow that build is picking up your old source tree
> /opt/ecos/ecos-2.0, possibly because you have started the configtool
> from the desktop instead of at the shell prompt and it is using an old
> version of the ECOS_REPOSITORY environment variable.
>
> First completely clean up that build tree with rm -rf since it may
> have got hopelessly confused. Next try using just the command line
> tool:
>
> ecosconfig new linux default
> ecosconfig tree
> make
>
> If that works, figure out where the graphical configtool is getting
> its ECOS_REPOSITORY from and fix that.
>
> Bart
>
> --
> Bart Veer eCos Configuration Architect
> http://www.ecoscentric.com/ The eCos and RedBoot experts
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss