This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Build Issues
- From: Jonathan Larmour <jlarmour at redhat dot com>
- To: Anand Kulkarni <anand at chatura dot com>
- Cc: ecos-discuss at sources dot redhat dot com,Julian Smart <julians at redhat dot com>
- Date: Thu, 07 Feb 2002 18:55:12 +0000
- Subject: Re: [ECOS] Build Issues
- Organization: Red Hat UK Ltd.
- References: <006401c1af2e$055641e0$de6f29ca@beatle>
Anand Kulkarni wrote:
>
> ------------------------------------------------------
> make -r -C hal/i386/arch/current build
> make[1]: Entering directory
> `/ecos-c/users/anand/esys/redboot_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-c/users/anand/esys/redboot_build/hal/i386/arch/current'
> ----------------------------------------------------------------------------
> ------------------------------------------------------
>
> As per some of the earlier posts I tried to look for the pattern
> 'replace sed "s/\\\\\/\\//g" with sed "s@\\\\@/@g"'
>
> All occurances in packages/pkgconf/rules.mak were "s@\\\\@/@g", so did not
> have to replace anything.
> Those in hal/i386/arch/current/makefile, i replaced sed "s/\\\\\/\\//g" with
> sed "s@\\\\@/@g"'
>
> This did not help..... I get the same error as earlier.
I can only assume you haven't found all the places.
I'm curious as to why we haven't seen this internally. It does seem like a
genuine problem. It's the host tools that have generated this. I'll get
this fixed.
Julian, it's specifically line 454 of build.cxx. I've fixed it now. But why
haven't we seen this before? It's been like this since July last year! Can
you maybe verify my fix does work on Windows (which would sorta imply
verifying it didn't work before my fix too :-\).
> Also, is redboot required so that i would be able to execute the tests that
> were built (for the default version of ecos 1.3.1, not the latest from cvs)?
Well, it's generally easiest to install redboot on a board (or on the
floppy of a PC) so that you can just download and debug programs over a
serial line or ethernet.
Instead you _could_ build the tests themselves for ROM (or FLOPPY for a PC)
startup type and program that straight on as you would redboot.
Jifl
--
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine