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]

Can NOT build tests


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



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