public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Can NOT build tests
@ 2000-10-30  2:03 David Geng
  2000-10-30 16:28 ` Jonathan Larmour
  0 siblings, 1 reply; 3+ messages in thread
From: David Geng @ 2000-10-30  2:03 UTC (permalink / raw)
  To: ecos-discuss

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-10-31 15:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-10-30  2:03 [ECOS] Can NOT build tests David Geng
2000-10-30 16:28 ` Jonathan Larmour
2000-10-31 15:38   ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).