[ECOS] __dso_handle, __cxa_atexit undefined
Andrew Lunn
andrew@lunn.ch
Mon Feb 7 14:50:00 GMT 2005
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
More information about the Ecos-discuss
mailing list