This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
example compile
- From: ìë <qnlong at aijisystem dot com>
- To: <ecos-discuss at sourceware dot org>
- Date: Thu, 1 Nov 2007 09:20:10 +0900
- Subject: [ECOS] example compile
Hello, eCos maintainers.
I' m just a begginer of eCos.
and I got a problem when I compile the example which is provided by ecos-2.0
following is the error message.
===============================================================================================================================
[root@122 examples]# make INSTALL_DIR=/home/qnlong/ecos/Evaluator7/evaluator7_install
arm-elf-gcc -nostartfiles -L/home/qnlong/ecos/Evaluator7/evaluator7_install/lib -Ttarget.ld -mcpu=arm7tdmi -mno-short-load-words -Wl,--gc-sections -Wl,-static -g -nostdlib -o hello hello.o
/home/qnlong/ecos/Evaluator7/evaluator7_install/lib/libtarget.a(redboot_main.o): In function `do_go':
/opt/ecos/ecos-2.0/packages/redboot/v2_0/src/main.c:491: undefined reference to `RedBoot_version'
collect2: ld returned 1 exit status
make: *** [hello] Error 1
[root@122 examples]#
==================================================================================================================================
and when I open "/opt/ecos/ecos-2.0/packages/redboot/v2_0/src/main.c", I can't find anything about RedBoot_Version at line 491:
would you give me some advice?
and I had the same problem with
Fedora 4. Gcc version: 4.0.0
Red Hat 9. Gcc version: 3.2.2
Best Regards.