This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Build Error for new Hardware
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Raghu Bulusu <RBulusu at reptron dot com>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 1 Jul 2005 20:46:47 +0200
- Subject: Re: [ECOS] Build Error for new Hardware
- References: <798224455D1F52429C9A29E5374CDED886A701@k-byteexchange.kbyte.net>
On Fri, Jul 01, 2005 at 02:37:47PM -0400, Raghu Bulusu wrote:
> Hi,
>
> I am getting the following error when I am building ecos for a custom
> hardware board with SH7750 on it. What could be possibly wrong
>
>
> make[1]: Leaving directory
> `/ecos-c/MDP/ecos/sh7750/mdp7750_build/hal/common/current'
> /ecos-c/MDP/ecos/sh7750/mdp7750_install/lib/libtarget.a(redboot_main.o): In
> function `valid_address':
> make: Leaving directory `/ecos-c/MDP/ecos/sh7750/mdp7750_build'
> /ecos-c/cygwin/opt/ecos/ecos-cvs/packages/redboot/current/src/main.c:160:
> multiple definition of `_cyg_start'
> src/stubrom/gdb_module.o:/ecos-c/cygwin/opt/ecos/ecos-cvs/packages/hal/commo
> n/current/src/stubrom/stubrom.c:57: first defined here
You somehow have both redboot and stubrom built.
My guess is you changed the template in an existing work tree. This
does not work. Start again from an empty directory.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss