maudi wrote on Tuesday, March 13, 2012:
Hi,
I am attempting to build the provided demo from FreeRTOS7.1.0 in CrossStudio 2.2 as explained in the getting started tutorial. However, there is a build problem with Linking the RTOSDemo.elf. The program will compile but not build. I thought it might be that I am missing some install packages for the IDE. I tried installing most if not all of the ones that seemed applicable with no use. Does anyone know where/why I am seeing these errors and if it is the required packages, what packages need to be installed? The output log and errors are shown below:
Building “RTOSDemo” in configuration “THUMB Flash Debug”
‘THUMB Flash Debug/flash.o’ is up to date
‘THUMB Flash Debug/recmutex.o’ is up to date
‘THUMB Flash Debug/semtest.o’ is up to date
‘THUMB Flash Debug/BlockQ.o’ is up to date
‘THUMB Flash Debug/GenQTest.o’ is up to date
‘THUMB Flash Debug/integer.o’ is up to date
‘THUMB Flash Debug/PollQ.o’ is up to date
‘THUMB Flash Debug/QPeek.o’ is up to date
‘THUMB Flash Debug/tasks.o’ is up to date
‘THUMB Flash Debug/list.o’ is up to date
‘THUMB Flash Debug/queue.o’ is up to date
‘THUMB Flash Debug/heap_2.o’ is up to date
‘THUMB Flash Debug/port.o’ is up to date
‘THUMB Flash Debug/main.o’ is up to date
‘THUMB Flash Debug/ParTest.o’ is up to date
‘THUMB Flash Debug/stm32f10x_usart.o’ is up to date
‘THUMB Flash Debug/stm32f10x_gpio.o’ is up to date
‘THUMB Flash Debug/stm32f10x_lib.o’ is up to date
‘THUMB Flash Debug/stm32f10x_nvic.o’ is up to date
‘THUMB Flash Debug/stm32f10x_rcc.o’ is up to date
‘THUMB Flash Debug/stm32f10x_systick.o’ is up to date
‘THUMB Flash Debug/stm32fxxx_eth.o’ is up to date
‘THUMB Flash Debug/printf-stdarg.o’ is up to date
‘THUMB Flash Debug/stm32f10x_tim.o’ is up to date
‘THUMB Flash Debug/lcd.o’ is up to date
‘THUMB Flash Debug/stm32f10x_spi.o’ is up to date
‘THUMB Flash Debug/timer.o’ is up to date
‘THUMB Flash Debug/uip.o’ is up to date
‘THUMB Flash Debug/uip_arp.o’ is up to date
‘THUMB Flash Debug/psock.o’ is up to date
‘THUMB Flash Debug/uIP_Task.o’ is up to date
‘THUMB Flash Debug/httpd.o’ is up to date
‘THUMB Flash Debug/httpd-cgi.o’ is up to date
‘THUMB Flash Debug/httpd-fs.o’ is up to date
‘THUMB Flash Debug/http-strings.o’ is up to date
‘THUMB Flash Debug/emac.o’ is up to date
‘THUMB Flash Debug/timertest.o’ is up to date
‘THUMB Flash Debug/thumb_crt0.o’ is up to date
‘THUMB Flash Debug/STM32F10x_Startup.o’ is up to date
THUMB Flash Debug/RTOSDemo.elf does not exist.
Linking RTOSDemo.elf
C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 2.2/lib/libc_v7m_t_le.a(libc2.o): In function `snprintf’:
libc2.c:(.text.libc.snprintf+0x0): multiple definition of `snprintf’
printf-stdarg.c
C:/Program Files/Rowley Associates Limited/CrossWorks for ARM 2.2/lib/libc_v7m_t_le.a(libc2.o): In function `sprintf’:
libc2.c:(.text.libc.sprintf+0x0): multiple definition of `sprintf’
printf-stdarg.c
Build failed
Any help is appreciated!
Thank you,
-Mike