This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: new to Ecos ... pb building Redboot under Linux
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Philippe Moutarlier <Philippe dot Moutarlier at attbi dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Wed, 12 Feb 2003 23:47:44 +0000
- Subject: Re: [ECOS] new to Ecos ... pb building Redboot under Linux
- References: <200302121517.26739.Philippe.Moutarlier@attbi.com>
Philippe Moutarlier wrote:
/home/philippe/ecos/ecos/packages/hal/i386/arch/current/src/hal_misc.c
In file included from
/home/philippe/ecos/ecos/packages/hal/i386/arch/current/src/hal_misc.c:56:
/home/philippe/ecos_build/redboot/redboot_install/include/cyg/infra/cyg_type.h:257:
Invalid token in expression
make[1]: *** [src/hal_misc.o.d] Error 1
make[1]: Leaving directory
`/home/philippe/ecos_build/redboot/redboot_build/hal/i386/arch/current'
make: *** [build] Error 2
Seems it doesn't like the cyg_type.h :-(
Hmm. It's noticeable this is at a line continuation (with a '\'). I would
say this must be a windows problem, but you're using Linux :-), but it
makes me wonder if you are in fact using sources you downloaded on Windows
and copied to your linux box. If so, you will need to strip the carriage
returns from the file to make it a proper Unix text file. You can use tr
-d '\r' for this, e.g.
for i in `find . -type f` ; do tr -d '\r' < $i > $i.nocr ; mv $i.nocr $i ;
done
(note: untested, excuse typos)
Can we compile Redboot under Linux or should it be done under Cygwin only ?
*Preferably* Linux really!
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss