public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jason JIANG <jasonj@live.cn>
To: "ecos-discuss@sourceware.org" <ecos-discuss@sourceware.org>
Subject: [ECOS] Help on building example stm3240g-eval application‏
Date: Fri, 10 May 2013 09:12:00 -0000	[thread overview]
Message-ID: <SNT140-W27A0139AB0266BA540BB46DCA50@phx.gbl> (raw)

Hi, I had trouble to build example application for stm3240g-eval. I am using eCos from CVS

If the RAM startup type is choosen, the hello.c (from the example folder of eCos source tree) can be compiled OK. 
If any other startup type is chosen, compiler told me that:


arm-eabi-gcc -mcpu=cortex-m3 -mthumb -Wl,--gc-sections -Wl,-static -Wl,-n -g -nostdlib -L/home/user/ecos-3.0/ecos-stm3240g-eval_install/lib -Ttarget.ld hello.o -o hello
/home/user/ecos-3.0/ecos-stm3240g-eval_install/lib/vectors.o: In function `hal_default_interrupt_vsr':
/home/user/ecos-3.0/ecos/packages/hal/cortexm/arch/current/src/vectors.S:237: undefined reference to `hal_saved_interrupt_state'
/home/user/ecos-3.0/ecos-stm3240g-eval_install/lib/libtarget.a(hal_cortexm_arch_hal_misc.o): In function `hal_reset_vsr':
/home/user/ecos-3.0/ecos/packages/hal/cortexm/arch/current/src/hal_misc.c:310: undefined reference to `hal_switch_state_vsr'
collect2: ld returned 1 exit status
make: *** [hello] Error 1


Anyone can help me on how to fix? Thanks.

________________
Best Regards. Jason 		 	   		  

                 reply	other threads:[~2013-05-10  9:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=SNT140-W27A0139AB0266BA540BB46DCA50@phx.gbl \
    --to=jasonj@live.cn \
    --cc=ecos-discuss@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).