kjhales wrote: > 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.
[ snip ] > -------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 > ---------end output The problem lies with the use of "tail +2" within hal/common/v2_0/cdl/hal.cdl. This syntax is no longer supported within recent versions of the "tail" tool. You must use "tail -n +2" instead. eCos 2.0 is now very old. I recommend that you use the eCos anonymous CVS repository (where this problem is already resolved) instead: http://ecos.sourceware.org/anoncvs.html John Dallaway eCos Maintainer -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
