This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Can NOT build tests
- To: <ecos-discuss at sourceware dot cygnus dot com>
- Subject: [ECOS] Can NOT build tests
- From: "David Geng" <deli dot geng at ncl dot ac dot uk>
- Date: Mon, 30 Oct 2000 10:01:28 -0000
Hello,
By now I have setup eCos environment and built GDB stub successfully.
Further step, I want to build some tests to verify the eCos configuration.
But, unfortunately, it's failed. I tried to rebuild it many times, results
were the same. I also tried to build single test program. It's also failed.
The following is an example output:
$ make -C kernel/current tests TESTS=tests/tm_basic
make: Entering directory `/d/eCos386/test_build/kernel/current'
i386-elf-gcc -g -nostdlib -Wl,--gc-sections -Wl,-static -L//D/eCos386/test_i
nstall/lib -Ttarget.ld -o
//D/eCos386/test_install/tests/kernel/current/tests/tm_basic
tests/tm_basic.o
//D/eCos386/test_install/lib/libtarget.a(services_memalloc_common_heaps.o):
In function `global destructors keyed to 49900.cygmem_memalloc_heaps':
/d/eCos386/test_build/services/memalloc/common/current/heaps.cxx:19:
undefined reference to `_heap1'
/d/eCos386/test_build/services/memalloc/common/current/heaps.cxx:19:
undefined reference to `_heap1'
collect2: ld returned 1 exit status
make: *** [//D/eCos386/test_install/tests/kernel/current/tests/tm_basic]
Error 1
make: Leaving directory `/d/eCos386/test_build/kernel/current'
So I was wondering what's wrong with the heaps.cxx, and what is the _heap1?
I feel heap1 is a memory region which's found in the eCos memory layout,
right? BTW, I'm using the repository from CVS with eCos 1.3.1.1.
Any one would like to help me? Thank you so much in advance.
Regards
David