Freertos MPLAB C30 error need help

Status
Not open for further replies.

shahrol_hisham

Advanced Member level 4
Joined
Aug 1, 2002
Messages
111
Helped
2
Reputation
4
Reaction score
2
Trophy points
1,298
Location
malaysia
Activity points
869
I get the error : I follow the step from freertos page, any suggestion for repair the problem?....


----------------------------------------------------------------------
Debug build of project `D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\RTOSDemo_PIC24.mcp' started.
Language tool versions: pic30-as.exe v3.10, pic30-gcc.exe v3.10, mplink.exe v4.35, pic30-ar.exe v3.10
Preprocessor symbol `__DEBUG' is defined.
Mon Nov 07 22:59:15 2011
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\main.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\list.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\queue.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\ParTest.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\serial.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\lcd.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\BlockQ.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\blocktim.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\comtest.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\crflash.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\croutine.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\heap_1.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\integer.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\port.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\portasm_PIC24.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\tasks.o".
Clean: Deleted file "D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\timertest.o".
Clean: Done.
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "main.c" -o"main.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "..\..\source\list.c" -o"list.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "..\..\source\queue.c" -o"queue.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "ParTest\ParTest.c" -o"ParTest.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "serial\serial.c" -o"serial.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "lcd.c" -o"lcd.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "..\Common\Minimal\BlockQ.c" -o"BlockQ.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "..\Common\Minimal\blocktim.c" -o"blocktim.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "..\Common\Minimal\comtest.c" -o"comtest.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "..\Common\Minimal\crflash.c" -o"crflash.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "..\..\source\croutine.c" -o"croutine.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "..\..\source\portable\MemMang\heap_1.c" -o"heap_1.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "..\Common\Minimal\integer.c" -o"integer.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "..\..\source\portable\MPLAB\PIC24_dsPIC\port.c" -o"port.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -c -D__DEBUG "..\..\Source\portable\MPLAB\PIC24_dsPIC\portasm_PIC24.S" -o"portasm_PIC24.o" -Wa,-I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2",-I".",-I".\include",-I"..\include",-I"..\..\include",-I"..\..\..\include",-I"..\..\Source\include",-I"..\..\..\Source\include",-I"..\Demo\PIC24_MPLAB",-I"..\..\..\Demo\PIC24_MPLAB",-I"..\..\..\..\Demo\PIC24_MPLAB",-I".\FileSystem",-I"..\Common\include",-I"..\..\Common\include",--defsym=__DEBUG=1,-g
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "..\..\source\tasks.c" -o"tasks.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 -x c -c "timertest.c" -o"timertest.o" -I"D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2" -I"." -I".\include" -I"..\include" -I"..\..\include" -I"..\..\..\include" -I"..\..\Source\include" -I"..\..\..\Source\include" -I"..\Demo\PIC24_MPLAB" -I"..\..\..\Demo\PIC24_MPLAB" -I"..\..\..\..\Demo\PIC24_MPLAB" -I".\FileSystem" -I"..\Common\include" -I"..\..\Common\include" -D__DEBUG -g -Wall -DMPLAB_PIC24_PORT -mlarge-code -O1 -fno-schedule-insns -fno-schedule-insns2
Executing: "C:\Program Files\Microchip\MPLAB C30\bin\pic30-gcc.exe" -mcpu=24FJ128GA010 "main.o" "list.o" "queue.o" "ParTest.o" "serial.o" "lcd.o" "BlockQ.o" "blocktim.o" "comtest.o" "crflash.o" "croutine.o" "heap_1.o" "integer.o" "port.o" "portasm_PIC24.o" "tasks.o" "timertest.o" -o"RTOSDemo_PIC24.cof" -Wl,--script="p24FJ128GA010.gld",--defsym=__MPLAB_BUILD=1,--defsym=__MPLAB_DEBUG=1,--heap=0,--defsym=__ICD2RAM=1
c:\program files\microchip\mplab c30\bin\bin\pic30-coff-ld.exe24FJ128GA010.gld:6: syntax error
Link step failed.

----------------------------------------------------------------------
Debug build of project `D:\Project\FreeRTOSv7.0.2\FreeRTOSv7.0.2\Demo\PIC24_MPLAB\RTOSDemo_PIC24.mcp' failed.
Language tool versions: pic30-as.exe v3.10, pic30-gcc.exe v3.10, mplink.exe v4.35, pic30-ar.exe v3.10
Preprocessor symbol `__DEBUG' is defined.
Mon Nov 07 22:59:27 2011
----------------------------------------------------------------------
BUILD FAILED
 

Currently I used full version C30, I try install the c30 lite, the compilation done with no error. Guy, can any one explain why???
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…