This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Little problem building the library
- From: "Douglas Bush" <dbush at extremeeng dot com>
- To: "'Julian Smart'" <julians at redhat dot com>,'Sébastien Bouthillier' <sebouthillier at hotmail dot com>,<ecos-discuss at sources dot redhat dot com>
- Date: Mon, 11 Feb 2002 09:49:17 -0700
- Subject: RE: [ECOS] Little problem building the library
That fixed it for me on an EDB7211.
-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com
[mailto:ecos-discuss-owner@sources.redhat.com] On Behalf Of Julian Smart
Sent: Friday, February 08, 2002 8:34 AM
To: Sébastien Bouthillier; ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] Little problem building the library
At 10:13 AM 2/8/02 -0500, Sébastien Bouthillier wrote:
>I cvs'd the latest release of eCos.
>Then I started configtool 1.3.net, set build|template to i386 pc
target and
>switched the packages to minimal. I saved the ecc as
>d:/projets/ecos-work/i386min.ecc
>
>When I wanted to build the library, I got this error message
>
>make -r -C hal/i386/arch/current build
>make[1]: Entering directory
>`/ecos-d/Projets/ecos-work/i386min_build/hal/i386/arch/current'
>sed: -e expression #1, char 7: Unterminated `s' command
>mkdir: too few arguments
>Try `mkdir --help' for more information.
>make[1]: *** [src/hal_misc.o.d] Error 1
>make[1]: Leaving directory
>`/ecos-d/Projets/ecos-work/i386min_build/hal/i386/arch/current'
>make: *** [build] Error 2
>make: Leaving directory `/ecos-d/Projets/ecos-work/i386min_build'
>
>I will need help on that.
>I don't know where to look to solve this problem.
We've just been getting to the bottom of this one -- please try
editing packages (or ecc)/pkgcong/rules.mak and adding two
backslashes to the sed commands so they read as follows:
@mkdir -p `cygpath -w "$(dir $@)" | sed "s@\\\\\\@/@g"`
I hope this does it...
Thanks,
Julian
--
Red Hat UK Ltd, Unit 200 Rustat House, 62 Clifton Road, Cambridge, UK.
CB1 7EG Tel: +44 (1223) 271063
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss