# Build still failing - PIC32

**URL:** <https://forums.freertos.org/t/build-still-failing-pic32/1462>\
**Category:** Kernel\
**Created:** [October 27, 2008, 9:29am UTC](https://forums.freertos.org/t/build-still-failing-pic32/1462 "2008-10-27T09:29:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [October 27, 2008, 9:29am UTC](https://forums.freertos.org/t/build-still-failing-pic32/1462/1 "2008-10-27T09:29:11Z")

</div>

**[grantkbrown](https://sourceforge.net/u/grantkbrown/)** wrote on [Monday, October 27, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/42ea93ee/#1ca4):

Hi

Port : PIC32  
Compiler : C32

I re-added port\_asm.c and now it fails to build with pic32-gcc.exe: C9=4,3: No such file or directory

which is wrong because I manually check and the file was there.

So what now ??

Kind Regards  
Grant Brown

Preprocessor symbol `\_\_DEBUG’ is defined.  
Target debug platform is `\_\_MPLAB\_DEBUGGER\_PIC32MXSK=1’.  
Mon Oct 27 20:20:47 2008  
----------------------------------------------------------------------  
Clean: Deleting intermediary and output files.  
Clean: Deleted file “C:\Program Files\Microchip\FreeRTOS\Demo\PIC32MX\_MPLAB\main.o”.  
Clean: Deleted file “C:\Program Files\Microchip\FreeRTOS\Demo\PIC32MX\_MPLAB\port.o”.  
Clean: Deleted file “C:\Program Files\Microchip\FreeRTOS\Demo\PIC32MX\_MPLAB\list.o”.  
Clean: Deleted file “C:\Program Files\Microchip\FreeRTOS\Demo\PIC32MX\_MPLAB\queue.o”.  
Clean: Deleted file “C:\Program Files\Microchip\FreeRTOS\Demo\PIC32MX\_MPLAB\tasks.o”.  
Clean: Deleted file “C:\Program Files\Microchip\FreeRTOS\Demo\PIC32MX\_MPLAB\heap\_2.o”.  
Clean: Deleted file “C:\Program Files\Microchip\FreeRTOS\Demo\PIC32MX\_MPLAB\init\_PIC32MX360F512L.o”.  
Clean: Done.  
Executing: “C:\Program Files\Microchip\MPLAB C32\bin\pic32-gcc.exe” -mprocessor=32MX360F512L -x c -c “main.c” -o"main.o" -MMD -MF"main.d" -I"." -I"." -I"…\common\include" -I"…\…\source\portable\mplab\pic32mx" -I"…\…\source\include" -D\_\_DEBUG -g -DMPLAB\_PIC32MX\_PORT -Wall -fomit-frame-pointer  
main.c: In function `main’:  
main.c:90: warning: implicit declaration of function `VisualInitialization’  
Executing: “C:\Program Files\Microchip\MPLAB C32\bin\pic32-gcc.exe” -mprocessor=32MX360F512L -x c -c “…\…\Source\portable\MPLAB\PIC32MX\port.c” -o"port.o" -MMD -MF"port.d" -I"." -I"." -I"…\common\include" -I"…\…\source\portable\mplab\pic32mx" -I"…\…\source\include" -D\_\_DEBUG -g -DMPLAB\_PIC32MX\_PORT -Wall -fomit-frame-pointer  
Executing: “C:\Program Files\Microchip\MPLAB C32\bin\pic32-gcc.exe” -mprocessor=32MX360F512L -x c -c “…\…\Source\list.c” -o"list.o" -MMD -MF"list.d" -I"." -I"." -I"…\common\include" -I"…\…\source\portable\mplab\pic32mx" -I"…\…\source\include" -D\_\_DEBUG -g -DMPLAB\_PIC32MX\_PORT -Wall -fomit-frame-pointer  
Executing: “C:\Program Files\Microchip\MPLAB C32\bin\pic32-gcc.exe” -mprocessor=32MX360F512L -x c -c “…\…\Source\queue.c” -o"queue.o" -MMD -MF"queue.d" -I"." -I"." -I"…\common\include" -I"…\…\source\portable\mplab\pic32mx" -I"…\…\source\include" -D\_\_DEBUG -g -DMPLAB\_PIC32MX\_PORT -Wall -fomit-frame-pointer  
Executing: “C:\Program Files\Microchip\MPLAB C32\bin\pic32-gcc.exe” -mprocessor=32MX360F512L -x c -c “…\…\Source\tasks.c” -o"tasks.o" -MMD -MF"tasks.d" -I"." -I"." -I"…\common\include" -I"…\…\source\portable\mplab\pic32mx" -I"…\…\source\include" -D\_\_DEBUG -g -DMPLAB\_PIC32MX\_PORT -Wall -fomit-frame-pointer  
Executing: “C:\Program Files\Microchip\MPLAB C32\bin\pic32-gcc.exe” -mprocessor=32MX360F512L -x c -c “…\…\Source\portable\MemMang\heap\_2.c” -o"heap\_2.o" -MMD -MF"heap\_2.d" -I"." -I"." -I"…\common\include" -I"…\…\source\portable\mplab\pic32mx" -I"…\…\source\include" -D\_\_DEBUG -g -DMPLAB\_PIC32MX\_PORT -Wall -fomit-frame-pointer  
Executing: “C:\Program Files\Microchip\MPLAB C32\bin\pic32-gcc.exe” -mprocessor=32MX360F512L -x c -c “Generated Files\VDIInit\init\_PIC32MX360F512L.c” -o"init\_PIC32MX360F512L.o" -MMD -MF"init\_PIC32MX360F512L.d" -I"." -I"." -I"…\common\include" -I"…\…\source\portable\mplab\pic32mx" -I"…\…\source\include" -D\_\_DEBUG -g -DMPLAB\_PIC32MX\_PORT -Wall -fomit-frame-pointer  
Executing: “C:\Program Files\Microchip\MPLAB C32\bin\pic32-gcc.exe” -mprocessor=32MX360F512L -c -MMD -MF"port\_asm.d" -I"." -I"." -I"…\common\include" -I"…\…\source\portable\mplab\pic32mx" -I"…\…\source\include" -D\_\_DEBUG “C:\Program Files\Microchip\FreeRTOS\Source\portable\MPLAB\PIC32MX\port\_asm.S” -o"port\_asm.o" -I"…\…\Source\portable\MPLAB\PIC32MX" -I"." C9=4,3 -Wa,–defsym=\_\_DEBUG=1,–keep-locals,–gdwarf-2  
pic32-gcc.exe: C9=4,3: No such file or directory  
Halting build on first failure as requested.  
----------------------------------------------------------------------  
Debug build of project `C:\Program Files\Microchip\FreeRTOS\Demo\PIC32MX\_MPLAB\RTOSDemo.mcp’ failed.  
Preprocessor symbol `\_\_DEBUG’ is defined.  
Target debug platform is `\_\_MPLAB\_DEBUGGER\_PIC32MXSK=1’.  
Mon Oct 27 20:20:52 2008  
----------------------------------------------------------------------  
BUILD FAILED

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [October 27, 2008, 10:57am UTC](https://forums.freertos.org/t/build-still-failing-pic32/1462/2 "2008-10-27T10:57:18Z")

</div>

**[davedoors](https://sourceforge.net/u/davedoors/)** wrote on [Monday, October 27, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/42ea93ee/#1ca4/821b):

Please keep related messages inside the same thread.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [October 27, 2008, 9:56pm UTC](https://forums.freertos.org/t/build-still-failing-pic32/1462/3 "2008-10-27T21:56:30Z")

</div>

**[grantkbrown](https://sourceforge.net/u/grantkbrown/)** wrote on [Monday, October 27, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/42ea93ee/#1ca4/89ec):

Hi,

Sorry about that

But I really need this answered as soon as possible.

Whilst most users of FreeRTOS are only interested in FreeRTOS we are NOT.

We intend to purchase the SafeRTOS version.

It is being used simply to show some clients how it works and we have been given only a short amount of time to do so.

So far its not working out very well and there is a lot of pressure to change camps to a different RTOS.

We did show them the demos but that was not suitable for there needs.

They want to see it running on a clean project in a seperate directory outside of the drive that we have FreeRTOS installed on without any of the demo task and or demo files in our example project.

They only want to see there tasks in the source code.

To get answers as to how to do this has been very very difficult and extremely frustrating.

Kind Regards  
Grant Brown

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [October 29, 2008, 9:29am UTC](https://forums.freertos.org/t/build-still-failing-pic32/1462/4 "2008-10-29T09:29:06Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Wednesday, October 29, 2008](https://sourceforge.net/p/freertos/discussion/382005/thread/42ea93ee/#1ca4/89ec/2a17):

Grant - can you send me a private email to r (\_dot\_) barry [@] [freertos.org](http://freertos.org).

Regards.
