Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training




Loading

PROBLEM COMPILING FREERTOS for dspic33

Posted by Richard on October 19, 2012
This topic was lost when the forum software was switched back to the old version. I am pasting the entire thread below as a single post so it does not get lost.

RE: PROBLEM COMPILING FREERTOS for dspic33

Posted by Richard on October 19, 2012
dear,
i have installed the demo RTOSdemo_dsPIC.mcp, i have changed the folder of .h an .c for missing files following instructions on web FREERTOS, but when i compiling i have theses messages errors:
if anyone have a solution
C:DevFreeRTOSSourcequeue.o(.text+0x36): In function xQueueGenericReset': C:\Dev\FreeRTOS\Source\queue.c:301: undefined reference toxTaskRemoveFromEventList' C:DevFreeRTOSSourcequeue.o(.text+0x15c): In function xQueueGenericSendFromISR': C:\Dev\FreeRTOS\Source\queue.c:929: undefined reference toxTaskRemoveFromEventList' C:DevFreeRTOSSourcequeue.o(.text+0x1ce): In function xQueueReceiveFromISR': C:\Dev\FreeRTOS\Source\queue.c:1135: undefined reference toxTaskRemoveFromEventList' C:DevFreeRTOSSourcequeue.o(.text+0x208): In function prvUnlockQueue': C:\Dev\FreeRTOS\Source\queue.c:1305: undefined reference toxTaskRemoveFromEventList' C:DevFreeRTOSSourcequeue.o(.text+0x20e):C:DevFreeRTOSSourcequeue.c:1309: undefined reference to vTaskMissedYield' C:\Dev\FreeRTOS\Source\queue.o(.text+0x234):C:\Dev\FreeRTOS\Source\queue.c:1331: undefined reference toxTaskRemoveFromEventList' C:DevFreeRTOSSourcequeue.o(.text+0x23a):C:DevFreeRTOSSourcequeue.c:1333: undefined reference to vTaskMissedYield' C:\Dev\FreeRTOS\Source\queue.o(.text+0x298): In functionxQueueGenericReceive': C:DevFreeRTOSSourcequeue.c:1007: undefined reference to xTaskRemoveFromEventList' C:\Dev\FreeRTOS\Source\queue.o(.text+0x2aa):C:\Dev\FreeRTOS\Source\queue.c:1027: undefined reference toxTaskRemoveFromEventList' C:DevFreeRTOSSourcequeue.o(.text+0x2ce):C:DevFreeRTOSSourcequeue.c:1052: undefined reference to vTaskSetTimeOutState' C:\Dev\FreeRTOS\Source\queue.o(.text+0x2d4):C:\Dev\FreeRTOS\Source\queue.c:1062: undefined reference tovTaskSuspendAll' C:DevFreeRTOSSourcequeue.o(.text+0x2f2):C:DevFreeRTOSSourcequeue.c:1066: undefined reference to xTaskCheckForTimeOut' C:\Dev\FreeRTOS\Source\queue.o(.text+0x306):C:\Dev\FreeRTOS\Source\queue.c:1085: undefined reference tovTaskPlaceOnEventList' C:DevFreeRTOSSourcequeue.o(.text+0x30c):C:DevFreeRTOSSourcequeue.c:1087: undefined reference to xTaskResumeAll' C:\Dev\FreeRTOS\Source\queue.o(.text+0x31e):C:\Dev\FreeRTOS\Source\queue.c:1096: undefined reference toxTaskResumeAll' C:DevFreeRTOSSourcequeue.o(.text+0x326):C:DevFreeRTOSSourcequeue.c:1102: undefined reference to xTaskResumeAll' C:\Dev\FreeRTOS\Source\queue.o(.text+0x360): In functionxQueueGenericSend': C:DevFreeRTOSSourcequeue.c:603: undefined reference to xTaskRemoveFromEventList' C:\Dev\FreeRTOS\Source\queue.o(.text+0x384):C:\Dev\FreeRTOS\Source\queue.c:636: undefined reference tovTaskSetTimeOutState' C:DevFreeRTOSSourcequeue.o(.text+0x38a):C:DevFreeRTOSSourcequeue.c:646: undefined reference to vTaskSuspendAll' C:\Dev\FreeRTOS\Source\queue.o(.text+0x3a8):C:\Dev\FreeRTOS\Source\queue.c:650: undefined reference toxTaskCheckForTimeOut' C:DevFreeRTOSSourcequeue.o(.text+0x3ba):C:DevFreeRTOSSourcequeue.c:655: undefined reference to vTaskPlaceOnEventList' C:\Dev\FreeRTOS\Source\queue.o(.text+0x3c0):C:\Dev\FreeRTOS\Source\queue.c:669: undefined reference toxTaskResumeAll' C:DevFreeRTOSSourcequeue.o(.text+0x3d2):C:DevFreeRTOSSourcequeue.c:678: undefined reference to xTaskResumeAll' C:\Dev\FreeRTOS\Source\queue.o(.text+0x3da):C:\Dev\FreeRTOS\Source\queue.c:685: undefined reference toxTaskResumeAll' C:DevFreeRTOSDemoCommonMinimalblocktim.o(.text+0x1a): In function vCreateBlockTimeTasks': C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.c:134: undefined reference toxTaskGenericCreate' C:DevFreeRTOSDemoCommonMinimalblocktim.o(.text+0x2a):C:DevFreeRTOSDemoCommonMinimalblocktim.c:135: undefined reference to xTaskGenericCreate' C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.o(.text+0x46): In functionvPrimaryBlockTimeTestTask': C:DevFreeRTOSDemoCommonMinimalblocktim.c:159: undefined reference to xTaskGetTickCount' C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.o(.text+0x5a):C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.c:169: undefined reference toxTaskGetTickCount' C:DevFreeRTOSDemoCommonMinimalblocktim.o(.text+0x9e):C:DevFreeRTOSDemoCommonMinimalblocktim.c:210: undefined reference to xTaskGetTickCount' C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.o(.text+0xb2):C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.c:220: undefined reference toxTaskGetTickCount' C:DevFreeRTOSDemoCommonMinimalblocktim.o(.text+0xd2):C:DevFreeRTOSDemoCommonMinimalblocktim.c:250: undefined reference to vTaskResume' C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.o(.text+0xde):C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.c:256: undefined reference tovTaskDelay' C:DevFreeRTOSDemoCommonMinimalblocktim.o(.text+0xe8):C:DevFreeRTOSDemoCommonMinimalblocktim.c:259: undefined reference to vTaskDelay' C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.o(.text+0x11e):C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.c:287: undefined reference tovTaskPrioritySet' C:DevFreeRTOSDemoCommonMinimalblocktim.o(.text+0x12c):C:DevFreeRTOSDemoCommonMinimalblocktim.c:299: undefined reference to vTaskPrioritySet' C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.o(.text+0x142):C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.c:306: undefined reference tovTaskDelay' C:DevFreeRTOSDemoCommonMinimalblocktim.o(.text+0x14c):C:DevFreeRTOSDemoCommonMinimalblocktim.c:308: undefined reference to vTaskDelay' C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.o(.text+0x170):C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.c:329: undefined reference tovTaskResume' C:DevFreeRTOSDemoCommonMinimalblocktim.o(.text+0x17c):C:DevFreeRTOSDemoCommonMinimalblocktim.c:334: undefined reference to vTaskDelay' C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.o(.text+0x186):C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.c:336: undefined reference tovTaskDelay' C:DevFreeRTOSDemoCommonMinimalblocktim.o(.text+0x1bc):C:DevFreeRTOSDemoCommonMinimalblocktim.c:364: undefined reference to vTaskPrioritySet' C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.o(.text+0x1ca):C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.c:374: undefined reference tovTaskPrioritySet' C:DevFreeRTOSDemoCommonMinimalblocktim.o(.text+0x1e0):C:DevFreeRTOSDemoCommonMinimalblocktim.c:381: undefined reference to vTaskDelay' C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.o(.text+0x1ea):C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.c:383: undefined reference tovTaskDelay' C:DevFreeRTOSDemoCommonMinimalblocktim.o(.text+0x1fe): In function vSecondaryBlockTimeTestTask': C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.c:403: undefined reference tovTaskSuspend' C:DevFreeRTOSDemoCommonMinimalblocktim.o(.text+0x200):C:DevFreeRTOSDemoCommonMinimalblocktim.c:411: undefined reference to xTaskGetTickCount' C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.o(.text+0x218):C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.c:423: undefined reference toxTaskGetTickCount' C:DevFreeRTOSDemoCommonMinimalblocktim.o(.text+0x22e):C:DevFreeRTOSDemoCommonMinimalblocktim.c:441: undefined reference to vTaskSuspend' C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.o(.text+0x230):C:\Dev\FreeRTOS\Demo\Common\Minimal\blocktim.c:447: undefined reference toxTaskGetTickCount' C:DevFreeRTOSDemoCommonMinimalblocktim.o(.text+0x246):C:DevFreeRTOSDemoCommonMinimalblocktim.c:457: undefined reference to xTaskGetTickCount' C:\Dev\FreeRTOS\Source\croutine.o(.text+0x7a): In functionprvCheckDelayedList': C:DevFreeRTOSSourcecroutine.c:260: undefined reference to xTaskGetTickCount' C:\Dev\FreeRTOS\Demo\Common\Minimal\BlockQ.o(.text+0x42): In functionvStartBlockingQueueTasks': C:DevFreeRTOSDemoCommonMinimalBlockQ.c:181: undefined reference to xTaskGenericCreate' C:\Dev\FreeRTOS\Demo\Common\Minimal\BlockQ.o(.text+0x54):C:\Dev\FreeRTOS\Demo\Common\Minimal\BlockQ.c:182: undefined reference toxTaskGenericCreate' C:DevFreeRTOSDemoCommonMinimalBlockQ.o(.text+0x8a):C:DevFreeRTOSDemoCommonMinimalBlockQ.c:199: undefined reference to xTaskGenericCreate' C:\Dev\FreeRTOS\Demo\Common\Minimal\BlockQ.o(.text+0x9c):C:\Dev\FreeRTOS\Demo\Common\Minimal\BlockQ.c:200: undefined reference toxTaskGenericCreate' C:DevFreeRTOSDemoCommonMinimalBlockQ.o(.text+0xd2):C:DevFreeRTOSDemoCommonMinimalBlockQ.c:216: undefined reference to xTaskGenericCreate' C:\Dev\FreeRTOS\Demo\Common\Minimal\BlockQ.o(.text+0xe4):C:\Dev\FreeRTOS\Demo\Common\Minimal\BlockQ.c:217: more undefined references toxTaskGenericCreate' follow lcd.o(.text+0x38): In function prvLCDCommand': D:\dsPIC_MPLAB\lcd.c:192: undefined reference tovTaskDelay' lcd.o(.text+0x3e):D:dsPIC_MPLABlcd.c:195: undefined reference to vTaskDelay' lcd.o(.text+0x6a): In functionprvLCDPutString': D:dsPIC_MPLABlcd.c:223: undefined reference to vTaskDelay' lcd.o(.text+0x6e):D:\dsPIC_MPLAB\lcd.c:234: undefined reference tovTaskDelay' lcd.o(.text+0x82): In function vLCDTask': D:\dsPIC_MPLAB\lcd.c:248: undefined reference tovTaskDelay' lcd.o(.text+0xb6):D:dsPIC_MPLABlcd.c:285: more undefined references to vTaskDelay' follow C:\Dev\FreeRTOS\Demo\Common\Minimal\comtest.o(.text+0x1e): In functionvAltStartComTestTasks': C:DevFreeRTOSDemoCommonMinimalcomtest.c:162: undefined reference to xTaskGenericCreate' C:\Dev\FreeRTOS\Demo\Common\Minimal\comtest.o(.text+0x2e):C:\Dev\FreeRTOS\Demo\Common\Minimal\comtest.c:163: undefined reference toxTaskGenericCreate' C:DevFreeRTOSDemoCommonMinimalcomtest.o(.text+0x5a): In function vComTxTask': C:\Dev\FreeRTOS\Demo\Common\Minimal\comtest.c:193: undefined reference toxTaskGetTickCount' C:DevFreeRTOSDemoCommonMinimalcomtest.o(.text+0x6e):C:DevFreeRTOSDemoCommonMinimalcomtest.c:204: undefined reference to vTaskDelay' C:\Dev\FreeRTOS\Source\portable\MPLAB\PIC24_dsPIC\port.o(.text+0x4c): In functionxPortStartScheduler': C:DevFreeRTOSSourceportableMPLABPIC24_dsPICport.c:253: undefined reference to pxCurrentTCB' C:\Dev\FreeRTOS\Source\portable\MPLAB\PIC24_dsPIC\port.o(.text+0xbe): In function_T1Interrupt': C:DevFreeRTOSSourceportableMPLABPIC24_dsPICport.c:324: undefined reference to vTaskIncrementTick' main.o(.text+0x2a): In functionmain': D:dsPIC_MPLABmain.c:188: undefined reference to xTaskGenericCreate' main.o(.text+0x34):D:\dsPIC_MPLAB\main.c:198: undefined reference tovTaskStartScheduler' main.o(.text+0x48): In function vCheckTask': D:\dsPIC_MPLAB\main.c:234: undefined reference toxTaskGetTickCount' main.o(.text+0x50):D:dsPIC_MPLABmain.c:239: undefined reference to vTaskDelayUntil' C:\Dev\FreeRTOS\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.o(.text+0x3a): In function$AUTOLINE$': portasm_dsPIC.S:104: undefined reference to pxCurrentTCB' C:\Dev\FreeRTOS\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.o(.text+0x42):portasm_dsPIC.S:109: undefined reference topxCurrentTCB' C:DevFreeRTOSSourceportableMPLABPIC24_dsPICportasm_dsPIC.o(.text+0x3e):portasm_dsPIC.S:107: undefined reference to vTaskSwitchContext' C:\Dev\FreeRTOS\Source\portable\MPLAB\PIC24_dsPIC\portasm_dsPIC.o(.text+0x40):portasm_dsPIC.S: undefined reference tovTaskSwitchContext' C:DevFreeRTOSDemoCommonMinimalinteger.o(.text+0x10): In function vStartIntegerMathTasks': C:\Dev\FreeRTOS\Demo\Common\Minimal\integer.c:137: undefined reference toxTaskGenericCreate' C:DevFreeRTOSSourceportableMemMangheap_1.o(.text+0xe): In function pvPortMalloc': C:\Dev\FreeRTOS\Source\portable\MemMang\heap_1.c:115: undefined reference tovTaskSuspendAll' C:DevFreeRTOSSourceportableMemMangheap_1.o(.text+0x28):C:DevFreeRTOSSourceportableMemMangheap_1.c:127: undefined reference to `xTaskResumeAll' Link step failed.
Debug build of project D:\dsPIC_MPLAB\RTOSDemo_dsPIC.mcp' failed. Language tool versions: pic30-as.exe v3.31, pic30-gcc.exe v3.31, pic30-ld.exe v3.31, pic30-ar.exe v3.31 Preprocessor symbol__DEBUG' is defined. Wed Oct 17 10:33:41 2012
BUILD FAILED

Reply
Link
Edit
Delete
Attach

Richard
2 days ago
The build output just looks like you are missing source files.
In your post you say:
i have changed the folder of .h an .c for missing files following instructions on web FREERTOS
Can you provide a link to these instructions? I can't see this being described on the documentation page for that port.
Regards.


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.


Free TCP/IP and file system demos for the RTOS


Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists