From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30480 invoked by alias); 8 Apr 2008 10:45:50 -0000 Received: (qmail 30472 invoked by uid 22791); 8 Apr 2008 10:45:49 -0000 X-Spam-Check-By: sourceware.org Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 08 Apr 2008 10:45:19 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1JjBKB-0002tO-00; Tue, 08 Apr 2008 12:45:11 +0200 Date: Tue, 08 Apr 2008 11:10:00 -0000 From: Andrew Lunn To: David.Babin@dmic.fr Cc: ecos-discuss@sourceware.org Message-ID: <20080408104511.GC11287@lunn.ch> Mail-Followup-To: David.Babin@dmic.fr, ecos-discuss@sourceware.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Status of at91sam7xek X-SW-Source: 2008-04/txt/msg00136.txt.bz2 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