This is the mail archive of the ecos-discuss@sourceware.org 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: SIGSEV, Segmentation Fault: When attempting to run "Hello World' on Synthetic Linux


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


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