CLEAN SUCCESSFUL (total time: 552ms) make -f nbproject/Makefile-default.mk SUBPROJECTS= .build-conf make[1]: Entering directory 'C:/Users/harms01/Desktop/AN1388_Source_Code_2014_02_14/PIC32_Bootloaders/Firmware/Bootloader/MPLAB_X_Workspace/USB_MSD_Btl_StarterKit.X' make -f nbproject/Makefile-default.mk dist/default/production/USB_MSD_Btl_StarterKit.X.production.hex make[2]: Entering directory 'C:/Users/harms01/Desktop/AN1388_Source_Code_2014_02_14/PIC32_Bootloaders/Firmware/Bootloader/MPLAB_X_Workspace/USB_MSD_Btl_StarterKit.X' "C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -O1 -DTRANSPORT_LAYER_USB_HOST -DDEMO_BOARD_USB_STARTER_KIT -I../.. -I../../Include "-I../../Include/MDD File System" -I../../Include/HardwareProfile -I../../Include/Usb/Stack -I../../Include/FrameWork -I../../Include/USB -MMD -MF build/default/production/_ext/1382283020/FSIO.o.d -o build/default/production/_ext/1382283020/FSIO.o "../../Source/MDD File System/FSIO.c" "C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -O1 -DTRANSPORT_LAYER_USB_HOST -DDEMO_BOARD_USB_STARTER_KIT -I../.. -I../../Include "-I../../Include/MDD File System" -I../../Include/HardwareProfile -I../../Include/Usb/Stack -I../../Include/FrameWork -I../../Include/USB -MMD -MF build/default/production/_ext/1787047461/NVMem.o.d -o build/default/production/_ext/1787047461/NVMem.o ../../Source/NVMem.c "C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -O1 -DTRANSPORT_LAYER_USB_HOST -DDEMO_BOARD_USB_STARTER_KIT -I../.. -I../../Include "-I../../Include/MDD File System" -I../../Include/HardwareProfile -I../../Include/Usb/Stack -I../../Include/FrameWork -I../../Include/USB -MMD -MF build/default/production/_ext/313519312/usb_config.o.d -o build/default/production/_ext/313519312/usb_config.o ../../Source/USB/usb_config.c "C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -O1 -DTRANSPORT_LAYER_USB_HOST -DDEMO_BOARD_USB_STARTER_KIT -I../.. -I../../Include "-I../../Include/MDD File System" -I../../Include/HardwareProfile -I../../Include/Usb/Stack -I../../Include/FrameWork -I../../Include/USB -MMD -MF build/default/production/_ext/313519312/usb_host.o.d -o build/default/production/_ext/313519312/usb_host.o ../../Source/USB/usb_host.c "C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -O1 -DTRANSPORT_LAYER_USB_HOST -DDEMO_BOARD_USB_STARTER_KIT -I../.. -I../../Include "-I../../Include/MDD File System" -I../../Include/HardwareProfile -I../../Include/Usb/Stack -I../../Include/FrameWork -I../../Include/USB -MMD -MF build/default/production/_ext/313519312/usb_host_msd.o.d -o build/default/production/_ext/313519312/usb_host_msd.o ../../Source/USB/usb_host_msd.c "C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -O1 -DTRANSPORT_LAYER_USB_HOST -DDEMO_BOARD_USB_STARTER_KIT -I../.. -I../../Include "-I../../Include/MDD File System" -I../../Include/HardwareProfile -I../../Include/Usb/Stack -I../../Include/FrameWork -I../../Include/USB -MMD -MF build/default/production/_ext/313519312/usb_host_msd_scsi.o.d -o build/default/production/_ext/313519312/usb_host_msd_scsi.o ../../Source/USB/usb_host_msd_scsi.c "C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe" -g -x c -c -mprocessor=32MX795F512L -O1 -DTRANSPORT_LAYER_USB_HOST -DDEMO_BOARD_USB_STARTER_KIT -I../.. -I../../Include "-I../../Include/MDD File System" -I../../Include/HardwareProfile -I../../Include/Usb/Stack -I../../Include/FrameWork -I../../Include/USB -MMD -MF build/default/production/_ext/313519312/usb_msd_bootloader.o.d -o build/default/production/_ext/313519312/usb_msd_bootloader.o ../../Source/USB/usb_msd_bootloader.c "C:\Program Files (x86)\Microchip\xc32\v1.31\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -o dist/default/production/USB_MSD_Btl_StarterKit.X.production.elf build/default/production/_ext/1382283020/FSIO.o build/default/production/_ext/1787047461/NVMem.o build/default/production/_ext/313519312/usb_config.o build/default/production/_ext/313519312/usb_host.o build/default/production/_ext/313519312/usb_host_msd.o build/default/production/_ext/313519312/usb_host_msd_scsi.o build/default/production/_ext/313519312/usb_msd_bootloader.o -Wl,--defsym=__MPLAB_BUILD=1,--script="..\..\linker_scripts\others\btl_32MX795F512L_generic.ld",--defsym=_min_heap_size=4000,--gc-sections,-L"../../MPLAB_Workspace",-Map=".map" build/default/production/_ext/1382283020/FSIO.o: Link Error: Could not allocate section .text, size = 7684 bytes, attributes = code build/default/production/_ext/313519312/usb_msd_bootloader.o: Link Error: Could not allocate section .text, size = 1908 bytes, attributes = code build/default/production/_ext/1787047461/NVMem.o: Link Error: Could not allocate section .text, size = 568 bytes, attributes = code memcpy.o: Link Error: Could not allocate section .text, size = 360 bytes, attributes = code strlen.o: Link Error: Could not allocate section .text, size = 360 bytes, attributes = code data_init: Link Error: Could not allocate section .dinit, size = 272 bytes, attributes = code keep ctype.o: Link Error: Could not allocate section .rodata, size = 260 bytes, attributes = code general-exception.o: Link Error: Could not allocate section .text.general_exception, size = 220 bytes, attributes = code sbrk.o: Link Error: Could not allocate section .text._sbrk, size = 196 bytes, attributes = code memset.o: Link Error: Could not allocate section .text, size = 168 bytes, attributes = code sbrk.o: Link Error: Could not allocate section .text.sbrk, size = 80 bytes, attributes = code c:/program files (x86)/microchip/xc32/v1.31/bin/../lib/gcc/pic32mx/4.5.2/../../../../pic32mx/lib/./proc/32MX795F512L/crt0_mips32r2.o: Link Error: Could not allocate section .text.main_entry, size = 76 bytes, attributes = code keep pic32_software_reset.o: Link Error: Could not allocate section .text, size = 68 bytes, attributes = code default-bootstrap-exception-handler.o: Link Error: Could not allocate section .text._bootstrap_exception_handler, size = 56 bytes, attributes = code default-general-exception-handler.o: Link Error: Could not allocate section .text._general_exception_handler, size = 56 bytes, attributes = code int_enable_mv_int_lib.o: Link Error: Could not allocate section .text.INTEnableSystemMultiVectoredInt, size = 52 bytes, attributes = code malloc.o: Link Error: Could not allocate section .text.free, size = 48 bytes, attributes = code sbrk.o: Link Error: Could not allocate section .text._stub_sbd_memlayout, size = 44 bytes, attributes = code port_read_bits_lib.o: Link Error: Could not allocate section .text.PORTReadBits, size = 36 bytes, attributes = code ctypef.o: Link Error: Could not allocate section .text.tolower, size = 36 bytes, attributes = code ctypef.o: Link Error: Could not allocate section .text.toupper, size = 36 bytes, attributes = code int_restore_interrupts_lib.o: Link Error: Could not allocate section .text.INTRestoreInterrupts, size = 28 bytes, attributes = code pcache.o: Link Error: Could not allocate section .text.CheKseg0CacheOn, size = 24 bytes, attributes = code default-nmi-handler.o: Link Error: Could not allocate section .text, size = 24 bytes, attributes = code build/default/production/_ext/313519312/usb_msd_bootloader.o: Link Error: Could not allocate section .rodata, size = 16 bytes, attributes = code write_core_timer_lib.o: Link Error: Could not allocate section .text.WriteCoreTimer, size = 8 bytes, attributes = code int_disable_interrupts_lib.o: Link Error: Could not allocate section .text.INTDisableInterrupts, size = 8 bytes, attributes = code int_enable_interrupts_lib.o: Link Error: Could not allocate section .text.INTEnableInterrupts, size = 8 bytes, attributes = code default-on-reset.o: Link Error: Could not allocate section .text._on_reset, size = 8 bytes, attributes = code default-on-bootstrap.o: Link Error: Could not allocate section .text._on_bootstrap, size = 8 bytes, attributes = code Link Error: Could not allocate program memory collect2: ld returned 1 exit status nbproject/Makefile-default.mk:196: recipe for target 'dist/default/production/USB_MSD_Btl_StarterKit.X.production.hex' failed make[2]: Leaving directory 'C:/Users/harms01/Desktop/AN1388_Source_Code_2014_02_14/PIC32_Bootloaders/Firmware/Bootloader/MPLAB_X_Workspace/USB_MSD_Btl_StarterKit.X' nbproject/Makefile-default.mk:75: recipe for target '.build-conf' failed make[1]: Leaving directory 'C:/Users/harms01/Desktop/AN1388_Source_Code_2014_02_14/PIC32_Bootloaders/Firmware/Bootloader/MPLAB_X_Workspace/USB_MSD_Btl_StarterKit.X' nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed make[2]: *** [dist/default/production/USB_MSD_Btl_StarterKit.X.production.hex] Error 1 make[1]: *** [.build-conf] Error 2 make: *** [.build-impl] Error 2 BUILD FAILED (exit value 2, total time: 4s)