From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30302 invoked by alias); 14 Sep 2007 20:54:14 -0000 Received: (qmail 30292 invoked by uid 22791); 14 Sep 2007 20:54:13 -0000 X-Spam-Check-By: sourceware.org Received: from mail.donet.com (HELO sdra00198.intranet.dra-inc.net) (66.195.237.160) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 14 Sep 2007 20:54:08 +0000 Received: from 192.168.1.118 ([192.168.1.118]) by sdra00198.intranet.dra-inc.net ([192.168.1.250]) with Microsoft Exchange Server HTTP-DAV ; Fri, 14 Sep 2007 20:57:15 +0000 Received: from bclausing by owa.dra-inc.net; 14 Sep 2007 16:56:18 -0400 From: Brian Clausing To: "Santiago Lafon - Controles S.A." Cc: ecos-discuss@ecos.sourceware.org In-Reply-To: <46EAA5B4.9060501@controles.com> References: <46EAA5B4.9060501@controles.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Date: Fri, 14 Sep 2007 20:54:00 -0000 Message-Id: <1189803378.19688.6.camel@bclausing> Mime-Version: 1.0 X-Mailer: Evolution 2.6.1 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] error with __cxa_atexit and __dso_handle X-SW-Source: 2007-09/txt/msg00092.txt.bz2 On Fri, 2007-09-14 at 12:16 -0300, Santiago Lafon - Controles S.A. wrote: > I want to upgrade my arm-alf toolchan to the latest GNU tools > > Some time ago, i made a toolchain with: > binutils 2.14 > gcc-core 3.3.1 > gcc-g++ 3.3.1 > newlib 1.11.0 > insight 5.3 > > Now i made a new one with > binutils 2.18 > gcc 4.2.1 > newlib 1.15.0 > insight 6.6 > > I can build ecos without apparent problems (i'm working with a simple > eb40a target). > > Then, when i try to make a simple application (or if i try to make ecos > tests), it's when my problems appears. > > I get lots of errors like this: > > work/eCos/lib/eb40a/rom/eb40a_rom_sin_net_v00.20_install/lib/extras.o: > In function `__static_initialization_and_destruction_0': > /opt/ecos-snap-2007-09-09/packages/io/fileio/current/src/misc.cxx:105: > undefined reference to `__cxa_atexit' > > /opt/ecos-snap-2007-09-09/packages/io/fileio/current/src/misc.cxx:125: > undefined reference to `__cxa_atexit' > /opt/ecos-snap-2007-09-09/packages/io/fileio/current/src/misc.cxx:532: > undefined reference to `__dso_handle' > > Could someone help me? > > Thanks > Santiago Lafon The libraries you are using may not be compatible. Not long ago the latest version of gcc on x86 would not work (for me) with the latest version of binutils. Check the installation notes for gcc. -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss