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: AndrewLunn <andrew at lunn dot ch>, ecos-discuss at ecos dot sourceware dot org
- Date: Mon, 7 Feb 2005 15:50:36 +0100
- Subject: Re: [ECOS] __dso_handle, __cxa_atexit undefined
- References: <545095223@web.de>
On Mon, Feb 07, 2005 at 03:15:17PM +0100, Armin Steinhoff wrote:
> Andrew Lunn <andrew@lunn.ch> schrieb am 07.02.2005 13:08:44:
>
> > 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?
>
> I'm using Linux SUSE 9.0 / gcc 3.3.1 ... is this the root of the problem??
Yes, that will probably be the problem. Are you trying to use the
synthetic target or are you compiling for an x86 platform? Try using
anoncvs which should work for synth and gcc 3.3.1.
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