From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2266 invoked by alias); 5 Mar 2006 12:56:50 -0000 Received: (qmail 2256 invoked by uid 22791); 5 Mar 2006 12:56:48 -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; Sun, 05 Mar 2006 12:56:44 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1FFsms-0005Wo-00; Sun, 05 Mar 2006 13:56:38 +0100 Date: Sun, 05 Mar 2006 12:56:00 -0000 To: "oliver munz @ s p e a g" Cc: ecos-discuss@sourceware.org Message-ID: <20060305125638.GA19406@lunn.ch> Mail-Followup-To: "oliver munz @ s p e a g" , ecos-discuss@sourceware.org References: <005001c63edd$b20d52f0$5a188481@haus.hellmutstrasse.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <005001c63edd$b20d52f0$5a188481@haus.hellmutstrasse.ch> User-Agent: Mutt/1.5.11+cvs20060126 From: Andrew Lunn X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: Re: [ECOS] Building eCos tests fails... "vterminate.cc:94: undefined reference to `_impure_ptr'" ? X-SW-Source: 2006-03/txt/msg00047.txt.bz2 On Fri, Mar 03, 2006 at 05:15:31PM +0100, oliver munz @ s p e a g wrote: > ... > make -r -C infra/current tests > make[1]: Entering directory > `/ecos-e/ecos_builds/andrew1_build/infra/current' > arm-elf-gcc -c -I/ecos-e/ecos_builds/andrew1_install/include > -I/ecos-e/ecos_andrew/ecos/packages/infra/current > -I/ecos-e/ecos_andrew/ecos/packages/infra/current/src > -I/ecos-e/ecos_andrew/ecos/packages/infra/current/tests -I. > -I/ecos-e/ecos_andrew/ecos/packages/infra/current/tests/ > -finline-limit=7000 -mcpu=arm7tdmi -Wall -Wpointer-arith -Winline -Wundef > -Woverloaded-virtual -g -O0 -ffunction-sections -fdata-sections -fno-rtti > -fno-exceptions -Wp,-MD,tests/cxxsupp.tmp -o tests/cxxsupp.o > /ecos-e/ecos_andrew/ecos/packages/infra/current/tests/cxxsupp.cxx > arm-elf-gcc -L/ecos-e/ecos_builds/andrew1_install/lib -Ttarget.ld -o > /ecos-e/ecos_builds/andrew1_install/tests/infra/current/tests/cxxsupp > tests/cxxsupp.o -mcpu=arm7tdmi -Wl,-static -g -nostdlib -Wl,--fatal-warnings > make[1]: Leaving directory `/ecos-e/ecos_builds/andrew1_build/infra/current' > /ecos-d/xgcc/tools/bin/../lib/gcc/arm-elf/3.4.4/../../../../arm-elf/lib/libsupc++.a(vterminate.o): > In function `__gnu_cxx::__verbose_terminate_handler()': > make: Leaving directory `/ecos-e/ecos_builds/andrew1_build' > /cygdrive/d/xgcc/src/gcc-3.4.4/libstdc++-v3/libsupc++/vterminate.cc:94: > undefined reference to `_impure_ptr' > collect2: ld returned 1 exit status > make[1]: *** > [/ecos-e/ecos_builds/andrew1_install/tests/infra/current/tests/cxxsupp] > Error 1 > make: *** [tests] Error 2 > > I can't build the eCos-tests. What's wrong? The compiler??? It will be just this one test that fails. All the others should be O.K. This is to do with the compiler. It expects things from libc which eCos does not have. This has been discussed a few times on the mailling lists. 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