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: Julian Smart <julians at redhat dot com>
- To: "Sébastien Bouthillier" <sebouthillier at hotmail dot com>,ecos-discuss at sources dot redhat dot com
- Date: Fri, 08 Feb 2002 15:34:15 +0000
- 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