This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Redboot compilation problem.
- From: "Erik Reikes" <ereikes at hotmail dot com>
- To: jlarmour at redhat dot com
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Wed, 30 Jan 2002 06:16:31
- Subject: Re: [ECOS] Redboot compilation problem.
- Bcc:
Thanks, I'll try that and report back the results.
FYI I was using binutils 2.11.2
>Erik Reikes wrote:
> >
> > Make goes fine until it gets to the redboot/current section of the
>makefile,
> > then spews the following errors :
> >
> > i386-elf-gcc -g -nostdlib -Wl,--gc-sections -Wl,-static
> > -L/ecos-c/cygwin/tmp/redboot/lib -Ttarget.ld
> > -o /ecos-c/cygwin/tmp/redboot/bin/redboot.elf
> > /ecos-c/cygwin/tmp/redboot/lib/version.o
> > /ecos-c/cygwin/tmp/redboot/lib/vectors.o: In function `_loadsector':
> > /ecos-c/cygwin/tmp/redboot/lib/vectors.o(.text+0x92): relocation
>truncated
> > to fit: R_386_16 text
> > /ecos-c/cygwin/tmp/redboot/lib/vectors.o: In function `_endload':
> > /ecos-c/cygwin/tmp/redboot/lib/vectors.o(.text+0x217): relocation
>truncated
> > to fit: R_386_16 text
> > /ecos-c/cygwin/tmp/redboot/lib/vectors.o(.text+0x21d): relocation
>truncated
> > to fit: R_386_16 text
> > /ecos-c/cygwin/tmp/redboot/lib/vectors.o(.text+0x228): relocation
>truncated
> > to fit: R_386_16 text
> > collect2: ld returned 1 exit status
> > make[1]: *** [/ecos-c/cygwin/tmp/redboot/bin/redboot.elf] Error 1
> > make[1]: Leaving directory `/my_ecos/packages/redboot/current'
> > make: *** [build] Error 2
>
>Looks like a GAS issue. Try downgrading your binutils just in case.
>
>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
_________________________________________________________________
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com