This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
undefined reference to '_impure_ptr' again
- From: David Luca <davidluca3000 at yahoo dot com>
- To: ecos-discuss at sourceware dot org
- Date: Tue, 21 Nov 2006 08:35:12 -0800 (PST)
- Subject: [ECOS] undefined reference to '_impure_ptr' again
Hello again, although I searched the mailing lists for
this error, I couldn't find any solving to this linker
error.
arm-elf-gcc -fno-builtin -mcpu=arm9tdmi -mhard-float
-c -Wall -O -ggdb -I. -Wall
-nostdlib -Imc9328_install/include -O2
-ffunction-sections -fdata-sections -fno
-rtti -fno-exceptions -fvtable-gc -fno-schedule-insns
-fno-schedule-insns2 -D MO
NCOMPTR=0x10000038 -o hello.o hello.cpp
cc1plus: warning: switch '-fvtable-gc' is no longer
supported
echo tools: arm-elf
tools: arm-elf
arm-elf-ld -o hello -Lmc9328_install/lib
-L/opt/ecos/gnutools/arm-elf/lib/gcc/ar
m-elf/4.1.1/fpu
-L/opt/ecos/gnutools/arm-elf/arm-elf/lib/fpu hello.o
-Ttarget.ld
-nostdlib
/opt/ecos/gnutools/arm-elf/arm-elf/lib/fpu/libsupc++.a(vterminate.o):
In function
`__gnu_cxx::__verbose_terminate_handler()':
../../../../../gcc-4.1.1/libstdc++-v3/libsupc++/vterminate.cc:89:
undefined reference to `_impure_ptr'
make: *** [hello] Error 1
Any ideas?
Thank you,
David Luca
____________________________________________________________________________________
Sponsored Link
Online degrees - find the right program to advance your career.
www.nextag.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss