This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Link error when building default redboot ecm for ipaq
- To: <wyeepeng at dso dot org dot sg>
- Subject: Re: [ECOS] Link error when building default redboot ecm for ipaq
- From: Richard Panton <rpanton at 3glab dot com>
- Date: Mon, 10 Sep 2001 16:44:07 +0100 (BST)
- cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
On 10 Sep 2001, Gary Thomas wrote:
> On Mon, 2001-09-10 at 14:26, wyeepeng@dso.org.sg wrote:
> > ......
> > /fat/tinyos/ecos/configtool/configtool-2.03/./ipaq_def_install/lib/libtarget.a(redboot_io.o):
> > In function `verify_action':
> > make: Leaving directory
> > `/fat/tinyos/ecos/configtool/configtool-2.03/ipaq_def_build'
> > /fat/tinyos/ecos/repository/ecos/packages/redboot/current/src/io.c:444: multiple
> > definition of `gets'
> > /fat/tinyos/ecos/configtool/configtool-2.03/./ipaq_def_install/lib/libtarget.a(language_c_libc_stdio_gets.o):/fat/tinyos/ecos/repository/ecos/packages/language/c/libc/stdio/current/src/input/gets.cxx:67:
> > first defined here
> > /skiff/local/arm-linux/bin/ld: Warning: size of symbol `gets' changed from 272
> > to 692 in redboot_io.o
> > /skiff/local/arm-linux/bin/ld: warning: no memory region specified for section
> > `.got.plt'
> > /skiff/local/arm-linux/bin/ld: warning: no memory region specified for section
> > `.got'
> > collect2: ld returned 1 exit status
> > make[1]: ***
> > [/fat/tinyos/ecos/configtool/configtool-2.03/./ipaq_def_install/bin/redboot.elf]
> > Error 1
> > make: *** [build] Error 2
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
You are building the eCos library with 'arm-linux' tools. This will not
work successfully. You need to get the GNU tools source and compile up an
'arm-elf' toolchain as described here:
http://sources.redhat.com/ecos/tools/linux-arm-elf.html
Best Regards,
Richard Panton