This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: __dso_handle, __cxa_atexit undefined
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Armin Steinhoff <A-Steinhoff at web dot de>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 7 Feb 2005 13:08:29 +0100
- Subject: Re: [ECOS] __dso_handle, __cxa_atexit undefined
- References: <544956019@web.de>
On Mon, Feb 07, 2005 at 12:53:14PM +0100, Armin Steinhoff wrote:
> Hi All,
>
> I'm using ecos-2.0 ... the build run was successfull. Building a test applcation terminates with
>
> /opt/ECOS/untitled_install/lib/libtarget.a(kernel_thread.o)(.text._Z41__static_initialization_and_destruction_0ii+0x3d): In function `__static_initialization_and_destruction_0':
> /opt/ECOS/untitled_install/include/cyg/kernel/smp.hxx:451: undefined reference to `__cxa_atexit'
> /opt/ECOS/untitled_install/lib/libtarget.a(kernel_intr.o)(.text._Z41__static_initialization_and_destruction_0ii+0x2c): In function `__static_initialization_and_destruction_0':
> /opt/ECOS/untitled_install/include/cyg/kernel/smp.hxx:451: undefined reference to `__dso_handle'
>
> What's the reason?
What version of gcc are you using? The one recommended at:
http://ecos.sourceware.org/getstart.html
If you are using something newer than what is recommended i suggest
you update to eCos anoncvs rather than use 2.0.
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