This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: _impure_ptr ??
- From: "Gary D. Thomas" <gary dot thomas at mind dot be>
- To: Bob Koninckx <bob dot koninckx at mech dot kuleuven dot ac dot be>
- Cc: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: 22 Mar 2003 05:48:20 -0700
- Subject: Re: [ECOS] _impure_ptr ??
- References: <1048336431.2225.5.camel@pc-002>
On Sat, 2003-03-22 at 05:33, Bob Koninckx wrote:
> Upgraded to the 2.0 Beta. Got everything to compile, the eCos library
> builds just fine. When linking my application however (powerpc-eabi
> target, linux host), I get the following errors
>
> powerpc-eabi-gcc
> -L/home/bob/software/build/eCos/ec555/vbcom/library/ecos/install/lib
> -Wl,-static -Wl,--gc-sections -nostartfiles -nostdlib -Xlinker -Map
> -Xlinker vbcom.map -o bin/vbcom.elf .obj/vbcom.o library/vbcom.a
> library/vbcom_extras.o
> /home/bob/software/build/eCos/ec555/vbcom/library/sigc++/install/lib/libsigc++.a -lsupc++ -Ttarget.ld
> /usr/local/crossgcc/powerpc-eabi/lib/gcc-lib/powerpc-eabi/3.2.1/../../../../powerpc-eabi/lib/libsupc++.a(pure.o): In function `__cxa_pure_virtual':
> /home/bob/tmp/src/build_gcc/powerpc-eabi/libstdc++-v3/libsupc++/../../../../gcc-3.2.1/libstdc++-v3/libsupc++/pure.cc:49: undefined reference to `_impure_ptr'
> /home/bob/tmp/src/build_gcc/powerpc-eabi/libstdc++-v3/libsupc++/../../../../gcc-3.2.1/libstdc++-v3/libsupc++/pure.cc:49: undefined reference to `_impure_ptr'
> collect2: ld returned 1 exit status
> make: *** [bin/vbcom.elf] Error 1
>
> Anybody any idea ?
> Could it be that something went wrong building the tools ?
Does this happen for all programs, or just some?
Can you build the standard eCos tests?
Were you able to build this program before?
My guess is that you have a program that is using something
from libsupc++ that hasn't been tested/implemented.
--
.--------------------------------------------------------.
| Mind: Embedded Linux and eCos Development |
|--------------------------------------------------------|
| Gary Thomas email: gary dot thomas at mind dot be |
| Mind ( http://mind.be ) tel: +1 (970) 229-1963 |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc |
'--------------------------------------------------------'
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss