On Mon, Sep 19, 2011 at 6:44 PM, V G wrote: > Hi all, > > Just got my REAL ICE, and trying out a debug build of a hello world PIC32 > program with it. The debug configuration won't build. This is the error I > get: > > ---------------------------------------------------------------------- > Debug build of project `E:\Projects\PIC32\HelloWorld\HelloWorld32.mcp' > started. > Language tool versions: pic32-ar.exe v2.01, pic32-gcc.exe v2.01, > pic32-ld.exe v2.01, pic32-ar.exe v2.01 > Preprocessor symbol `__DEBUG' is defined. > Target debug platform is `__MPLAB_DEBUGGER_REAL_ICE=3D1'. > Debug platform options are: `__ICD2RAM=3D1'. > Mon Sep 19 18:43:01 2011 > ---------------------------------------------------------------------- > Clean: Deleting intermediary and output files. > Clean: Deleted file "E:\Projects\PIC32\HelloWorld\Objects\main.o". > Clean: Done. > Executing: "E:\Program Files\Microchip\mplabc32\v2.01\bin\pic32-gcc.exe" > -mprocessor=3D32MX460F512L -x c -c "main.c" -o".\Objects\main.o" -MMD > -MF".\Objects\main.d" -I"..\Microchip\Include" -I"." -D__DEBUG > -D__MPLAB_DEBUGGER_REAL_ICE=3D1 -g > Executing: "E:\Program Files\Microchip\mplabc32\v2.01\bin\pic32-gcc.exe" > -mdebugger -mprocessor=3D32MX460F512L "Objects\main.o" -o"HelloWorld32.el= f" > -Wl,--defsym=3D__MPLAB_BUILD=3D1,--defsym=3D__MPLAB_DEBUG=3D1,--defsym=3D= __MPLAB_DEBUGGER_REAL_ICE=3D1,--defsym=3D__ICD2RAM=3D1,-Map=3D"HelloWorld32= ..map" > redirect:552: undefined symbol `_DBG_CODE_SIZE' referenced in expression > collect2: ld returned 1 exit status > Link step failed. > ---------------------------------------------------------------------- > Debug build of project `E:\Projects\PIC32\HelloWorld\HelloWorld32.mcp' > failed. > Language tool versions: pic32-ar.exe v2.01, pic32-gcc.exe v2.01, > pic32-ld.exe v2.01, pic32-ar.exe v2.01 > Preprocessor symbol `__DEBUG' is defined. > Target debug platform is `__MPLAB_DEBUGGER_REAL_ICE=3D1'. > Debug platform options are: `__ICD2RAM=3D1'. <-- what does this mean? > Mon Sep 19 18:43:02 2011 > ---------------------------------------------------------------------- > BUILD FAILED > > Any guesses as to what's going on? > Anyone? The compiler isn't telling me much. I have no idea where the error is or why it's happening. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .