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]

Help on building example stm3240g-eval application‏


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 		 	   		  

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