This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: create an application ecos with Eclipse CDT


It seem yous gcc is not configured for eCos. As a workaround try to
define dummy __dso_handle and __cxa_atexit.

For example and explanation pse look in your rCos repository in file:
packages/hal/cortexm/arch/current/src/hal_misc.c

Ilija


On 05.04.2011 16:32, moktar_bouain wrote:
> /home/moktar/Bureau/ecos/ecos-rep-1.0.9/packages/kernel/current/src/common/thread.cxx:1302:
> undefined reference to `__dso_handle'
> /home/moktar/Bureau/ecos/build2/install/lib/libtarget.a(kernel_intr.o): In
> function `__static_initialization_and_destruction_0':
> /home/moktar/Bureau/ecos/ecos-rep-1.0.9/packages/kernel/current/src/intr/intr.cxx:72:
> undefined reference to `__dso_handle'
> /home/moktar/Bureau/ecos/ecos-rep-1.0.9/packages/kernel/current/src/intr/intr.cxx:72:
> undefined reference to `__dso_handle'
> /home/moktar/Bureau/ecos/ecos-rep-1.0.9/packages/kernel/current/src/intr/intr.cxx:72:
> undefined reference to `__cxa_atexit'
> /home/moktar/Bureau/ecos/build2/install/lib/libtarget.a(kernel_sched.o): In


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]