This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
newbie help
- From: kjhales <kjhales at catalpatechnology dot com>
- To: ecos-discuss at ecos dot sourceware dot org
- Date: Sat, 12 Jul 2008 16:42:51 -0400
- Subject: [ECOS] newbie help
- Reply-to: kjhales at catalpatechnology dot com
I am investigating eCos for use in an upcoming project and I'm having
trouble getting started. I'm using Fedora, and I'm trying to target an
i386 system. My real target is different, but this is a good starting place.
The configuration (test3.ecc), makefile, and the configtool output are
rather large so I stuck them on a googlepage
(http://feraloxide.googlepages.com) in case someone wants to give
assistance. I get errors when I do build->library from configtool. I
checked tools->paths->build_tools and tools->paths->user_tools and the
appear correct.
The tail end of the configtool output is (I indented the two lines with
errors):
-------begin output
make -r -C hal/common/v2_0
/home/kevin/ecos/project/test3_install/lib/extras.o
make[1]: Entering directory
`/home/kevin/ecos/project/test3_build/hal/common/v2_0'
i386-elf-gcc -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections
-fno-rtti -fno-exceptions -fvtable-gc -finit-priority -nostdlib -Wl,-r
-Wl,--whole-archive -o
/home/kevin/ecos/project/test3_install/lib/extras.o
/home/kevin/ecos/project/test3_install/lib/libextras.a
make[1]: Leaving directory
`/home/kevin/ecos/project/test3_build/hal/common/v2_0'
tail: cannot open `+2' for reading: No such file or directory
make -r -C hal/i386/arch/v2_0
/home/kevin/ecos/project/test3_install/lib/vectors.o
make[1]: *** [/home/kevin/ecos/project/test3_install/lib/vectors.o]
Error 1
make[1]: Entering directory
`/home/kevin/ecos/project/test3_build/hal/i386/arch/v2_0'
make: *** [build] Error 2
i386-elf-gcc -Wp,-MD,vectors.tmp
-I/home/kevin/ecos/project/test3_install/include
-I/opt/ecos/ecos-2.0/packages/hal/i386/arch/v2_0
-I/opt/ecos/ecos-2.0/packages/hal/i386/arch/v2_0/src
-I/opt/ecos/ecos-2.0/packages/hal/i386/arch/v2_0/tests -I. -Wall
-Wpointer-arith -Wstrict-prototypes -Winline -Wundef
-Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections
-fno-rtti -fno-exceptions -fvtable-gc -finit-priority -c -o
/home/kevin/ecos/project/test3_install/lib/vectors.o
/opt/ecos/ecos-2.0/packages/hal/i386/arch/v2_0/src/vectors.S
make[1]: Leaving directory
`/home/kevin/ecos/project/test3_build/hal/i386/arch/v2_0'
make: Leaving directory `/home/kevin/ecos/project/test3_build'
---------end output
The vectors.o file is present. Can someone point out what I am doing wrong?
Thanks.
kjhales
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss