From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5061 invoked by alias); 13 Jul 2008 07:30:04 -0000 Received: (qmail 4994 invoked by uid 22791); 13 Jul 2008 07:30:03 -0000 X-Spam-Check-By: sourceware.org Received: from snape.ecoscentric.com (HELO snape.ecoscentric.com) (212.13.207.199) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 13 Jul 2008 07:29:23 +0000 Received: from localhost (snape.ecoscentric.com [127.0.0.1]) by snape.ecoscentric.com (Postfix) with ESMTP id 1BF17DC82A3; Sun, 13 Jul 2008 08:29:20 +0100 (BST) Received: from snape.ecoscentric.com ([127.0.0.1]) by localhost (snape.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2qS-HU0a4T64; Sun, 13 Jul 2008 08:29:17 +0100 (BST) Received: from www.ecoscentric.com (snape.ecoscentric.com [127.0.0.1]) by snape.ecoscentric.com (Postfix) with ESMTP id 52B53DC829F; Sun, 13 Jul 2008 08:29:17 +0100 (BST) Received: from 81.102.136.19 (SquirrelMail authenticated user jld) by www.ecoscentric.com with HTTP; Sun, 13 Jul 2008 08:29:17 +0100 (BST) Message-ID: <63341.81.102.136.19.1215934157.squirrel@www.ecoscentric.com> Date: Sun, 13 Jul 2008 07:30:00 -0000 From: "John Dallaway" To: kjhales@catalpatechnology.com Cc: ecos-discuss@ecos.sourceware.org User-Agent: SquirrelMail/1.4.8-4.0.1.el4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit References: In-Reply-To: Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: newbie help X-SW-Source: 2008-07/txt/msg00038.txt.bz2 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