public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Ilija Kocho <ilijak@siva.com.mk>
To: ecos-discuss@ecos.sourceware.org
Subject: Re: [ECOS] create an application ecos with Eclipse CDT
Date: Tue, 05 Apr 2011 15:35:00 -0000	[thread overview]
Message-ID: <4D9B36A2.6080801@siva.com.mk> (raw)
In-Reply-To: <31324765.post@talk.nabble.com>

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

      reply	other threads:[~2011-04-05 15:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-05  0:36 moktar_bouain
2011-04-05 10:03 ` Ilija Kocho
2011-04-05 13:30   ` moktar_bouain
2011-04-05 14:01     ` Ilija Kocho
2011-04-05 14:10       ` moktar_bouain
2011-04-05 14:23         ` Ilija Kocho
2011-04-05 14:33           ` moktar_bouain
2011-04-05 15:35             ` Ilija Kocho [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D9B36A2.6080801@siva.com.mk \
    --to=ilijak@siva.com.mk \
    --cc=ecos-discuss@ecos.sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).