This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: newbie help
- From: "John Dallaway" <jld at ecoscentric dot com>
- To: kjhales at catalpatechnology dot com
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Sun, 13 Jul 2008 08:29:17 +0100 (BST)
- Subject: [ECOS] Re: newbie help
- References:
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