public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Help on building example stm3240g-eval application‏
@ 2013-05-10  9:12 Jason JIANG
  0 siblings, 0 replies; only message in thread
From: Jason JIANG @ 2013-05-10  9:12 UTC (permalink / raw)
  To: ecos-discuss

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 		 	   		  

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-10  9:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-10  9:12 [ECOS] Help on building example stm3240g-eval application‏ Jason JIANG

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).