public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Andrew Lunn <andrew@lunn.ch>
To: David.Babin@dmic.fr
Cc: ecos-discuss@sourceware.org
Subject: Re: [ECOS] Status of at91sam7xek
Date: Tue, 08 Apr 2008 11:10:00 -0000	[thread overview]
Message-ID: <20080408104511.GC11287@lunn.ch> (raw)
In-Reply-To: <OFAD596BC9.C4B9E3ED-ONC1257425.0039A618-C1257425.0039BBC9@LocalDomain>

On Tue, Apr 08, 2008 at 12:30:38PM +0200, David.Babin@dmic.fr wrote:
> Hello,
> 
> Since 3 days, i try to flash my at91sam7x256-ek board without success !
> Maybe something wrong in my configuration.
> 
> I use cygwin with make 3.80-1, last cvs version, last configtool 
> available.
> 
> i can't build os with at91sam7xek/lwip_eth using configtool. this message 
> appear :
> 
>  
> /opt/ecos/ecos-cvs/ecos/packages/services/memalloc/common/current/src/dlmalloc.cxx: 
> In
>         make: Leaving directory 
> `/ecos-d/eCos/eCos_arm_at91sam7x/at91_build'
>            member function `cyg_uint8* 
>            Cyg_Mempool_dlmalloc_Implementation::resize_alloc(cyg_uint8*, 
> int, 
>            cyg_int32*)':
>  
> /opt/ecos/ecos-cvs/ecos/packages/services/memalloc/common/current/src/dlmalloc.cxx:1525: 
> `
>            memmove' undeclared (first use this function)
>  
> /opt/ecos/ecos-cvs/ecos/packages/services/memalloc/common/current/src/dlmalloc.cxx:1525: 
> (Each
>            undeclared identifier is reported only once for each function 
> it appears 
>            in.)
>         make[1]: *** [src/dlmalloc.o.d] Error 1
>         make: *** [build] Error 2

http://ecos.sourceware.org/ml/ecos-discuss/2008-03/msg00106.html

At some point i want to improve this.

> When i choose at91sam7xek/minimal, build work fine, but when i try to 
> compile my simple hello world (after remplaced printf with diag_printf) 
> this message appear :
> 
>         $ arm-elf-gcc -g -Iat91_install/include hello.c -Lat91_install/lib 
> -Ttarget.ld -nostdlib
>         at91_install/lib/libtarget.a(kernel_except.o): In function 
> `_GLOBAL__I.12000__Z26cyg_null_exception_handlerjij':
>  
> /opt/ecos/ecos-cvs/ecos/packages/kernel/current/src/common/except.cxx:259: 
> multiple definition of `cyg_hal_deliver_exception'
>  
> at91_install/lib/libtarget.a(hal_common_drv_api.o):/opt/ecos/ecos-cvs/ecos/packages/hal/common/current/src/drv_api.c:938: 
> first defined here

You forgot to rm -fr your tree when you changed configuration. Your
library has a mixture of both the old and new configuration.....

        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

  reply	other threads:[~2008-04-08 10:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-08 10:45 David.Babin
2008-04-08 11:10 ` Andrew Lunn [this message]
2008-04-08 15:17   ` Andrew Lunn
2008-04-08 18:47     ` David.Babin
2008-04-08 19:55       ` Andrew Lunn
2008-04-10  8:47 David Babin
2008-04-10  8:50 ` Andrew Lunn
2008-04-10 13:58 ` Markus Schaber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080408104511.GC11287@lunn.ch \
    --to=andrew@lunn.ch \
    --cc=David.Babin@dmic.fr \
    --cc=ecos-discuss@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).