Make errors

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Make errors

1,067 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdurand on Wed Jan 30 17:39:04 MST 2013
I've suddenly started getting make errors that I haven't seen before.  It also goes ahead and links, downloads, and enters debug on the target.  ??

make: *** [src/Firmware_Update.o] Error 1                 C/C++ Problem

make: *** No rule to make target `clean'.                 C/C++ Problem


I haven't changed the Firmware_Update file in some time.  Also haven't had any problems with CLEAN before. 

LPCXpresso v5.0.14, Ubuntu Linux.
0 Kudos
Reply
10 Replies

1,021 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdurand on Thu Jan 31 16:33:15 MST 2013
Odd, that worked.

So, Problem view -> Select All -> Delete

Build yields no errors.

I just did a CLEAN and BUILD ALL and no errors.

I didn't even know you COULD delete errors, don't they self-clear when you start a new build????
0 Kudos
Reply

1,021 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Jan 31 16:03:34 MST 2013
Where? In the Problem view? Right click and delete/clear the errors and thencleanand rebuild.
0 Kudos
Reply

1,021 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Ex-Zero on Thu Jan 31 15:59:15 MST 2013
Funny messages :eek: Did you try Index->Rebuild already?[FONT=Courier New][SIZE=1]
[/SIZE][/FONT]
0 Kudos
Reply

1,021 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdurand on Thu Jan 31 15:52:44 MST 2013
See the VERY first message.  I'm getting two MAKE errors BUT it still finishes building.

To put it another way...receiving ERROR messages bothers me, especially when I don't know why.
0 Kudos
Reply

1,021 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Jan 31 15:03:33 MST 2013
So it built correctly. What is your problem?
0 Kudos
Reply

1,021 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdurand on Thu Jan 31 14:40:00 MST 2013
third "half" (didn't all fit in the first two posts):

Building target: PVP_2012.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib   -L"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/Debug"   -Xlinker -Map="PVP_2012.map" -Xlinker --gc-sections -Xlinker   --allow-multiple-definition -mcpu=cortex-m0 -mthumb -T   "PVP_2012_Debug.ld" -o "PVP_2012.axf"    ./src/FreeRTOS/portable/MemMang/heap_1.o    ./src/FreeRTOS/portable/GCC/ARM_CM0/port.o  ./src/FreeRTOS/croutine.o   ./src/FreeRTOS/list.o ./src/FreeRTOS/queue.o ./src/FreeRTOS/tasks.o   ./src/FreeRTOS/timers.o  ./src/Firmware_Update.o ./src/Front_Panel.o   ./src/High_Voltage.o ./src/Host.o ./src/LCD.o ./src/SPI.o   ./src/aeabi_romdiv_patch.o ./src/cr_startup_lpc12xx_FreeRTOS.o   ./src/initialize.o ./src/main.o ./src/misc.o   -lCMSISv2p00_LPC12xx
Finished building target: PVP_2012.axf
 
make --no-print-directory post-build
Performing post-build steps
arm-none-eabi-size "PVP_2012.axf"; # arm-none-eabi-objcopy -O binary   "PVP_2012.axf" "PVP_2012.bin" ;  checksum -p LPC1226_301 -d   "PVP_2012.bin";
   text       data        bss        dec        hex    filename
  34000        244       6096      40340       9d94    PVP_2012.axf
 

13:29:11 Build Finished (took 25s.643ms)
0 Kudos
Reply

1,021 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdurand on Thu Jan 31 14:39:14 MST 2013
second half:
 
Building file: ../src/Front_Panel.c
../src/cr_startup_lpc12xx_FreeRTOS.c:412:23: warning: variable 'stacked_r1' set but not used [-Wunused-but-set-variable]
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED  -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE  -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang"  -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections  -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/Front_Panel.d"  -MT"src/Front_Panel.d" -o "src/Front_Panel.o" "../src/Front_Panel.c"
../src/cr_startup_lpc12xx_FreeRTOS.c:411:23: warning: variable 'stacked_r0' set but not used [-Wunused-but-set-variable]
Finished building: ../src/Front_Panel.c
 
Building file: ../src/High_Voltage.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED  -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE  -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang"  -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections  -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/High_Voltage.d"  -MT"src/High_Voltage.d" -o "src/High_Voltage.o" "../src/High_Voltage.c"
Finished building: ../src/High_Voltage.c
 
Building file: ../src/Host.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED  -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE  -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang"  -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections  -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/Host.d"  -MT"src/Host.d" -o "src/Host.o" "../src/Host.c"
Finished building: ../src/Host.c

  
Building file: ../src/LCD.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED  -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE  -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang"  -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections  -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/LCD.d"  -MT"src/LCD.d" -o "src/LCD.o" "../src/LCD.c"
Finished building: ../src/LCD.c
 
Building file: ../src/SPI.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED  -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE  -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang"  -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections  -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/SPI.d"  -MT"src/SPI.d" -o "src/SPI.o" "../src/SPI.c"
Finished building: ../src/SPI.c
 
Building file: ../src/aeabi_romdiv_patch.s
Invoking: MCU Assembler
arm-none-eabi-gcc -c -x assembler-with-cpp -D__REDLIB__ -DDEBUG  -D__CODE_RED -D__USE_ROMDIVIDE -g3 -mcpu=cortex-m0 -mthumb -o  "src/aeabi_romdiv_patch.o" "../src/aeabi_romdiv_patch.s"
Finished building: ../src/aeabi_romdiv_patch.s
 
Building file: ../src/cr_startup_lpc12xx_FreeRTOS.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED  -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE  -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang"  -Os -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections  -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP  -MF"src/cr_startup_lpc12xx_FreeRTOS.d"  -MT"src/cr_startup_lpc12xx_FreeRTOS.d" -o  "src/cr_startup_lpc12xx_FreeRTOS.o"  "../src/cr_startup_lpc12xx_FreeRTOS.c"
Finished building: ../src/cr_startup_lpc12xx_FreeRTOS.c
 
Building file: ../src/initialize.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED  -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE  -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang"  -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections  -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/initialize.d"  -MT"src/initialize.d" -o "src/initialize.o" "../src/initialize.c"
Finished building: ../src/initialize.c
 
Building file: ../src/main.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED  -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE  -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang"  -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections  -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/main.d"  -MT"src/main.d" -o "src/main.o" "../src/main.c"
Finished building: ../src/main.c
 
Building file: ../src/misc.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED  -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE  -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0"   -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang"  -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections  -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/misc.d"  -MT"src/misc.d" -o "src/misc.o" "../src/misc.c"
Finished building: ../src/misc.c
 

0 Kudos
Reply

1,021 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdurand on Thu Jan 31 14:38:32 MST 2013
First half (message too big for a single post):

13:28:46 **** Build of configuration Debug for project PVP_2012 ****
make all 
Building file: ../src/FreeRTOS/portable/MemMang/heap_1.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/FreeRTOS/portable/MemMang/heap_1.d" -MT"src/FreeRTOS/portable/MemMang/heap_1.d" -o "src/FreeRTOS/portable/MemMang/heap_1.o" "../src/FreeRTOS/portable/MemMang/heap_1.c"
Finished building: ../src/FreeRTOS/portable/MemMang/heap_1.c
 
Building file: ../src/FreeRTOS/portable/GCC/ARM_CM0/port.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/FreeRTOS/portable/GCC/ARM_CM0/port.d" -MT"src/FreeRTOS/portable/GCC/ARM_CM0/port.d" -o "src/FreeRTOS/portable/GCC/ARM_CM0/port.o" "../src/FreeRTOS/portable/GCC/ARM_CM0/port.c"
Finished building: ../src/FreeRTOS/portable/GCC/ARM_CM0/port.c
../src/cr_startup_lpc12xx_FreeRTOS.c: In function 'pop_registers_from_fault_stack':
../src/cr_startup_lpc12xx_FreeRTOS.c:418:23: warning: variable 'stacked_psr' set but not used [-Wunused-but-set-variable]
 
Building file: ../src/FreeRTOS/croutine.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/FreeRTOS/croutine.d" -MT"src/FreeRTOS/croutine.d" -o "src/FreeRTOS/croutine.o" "../src/FreeRTOS/croutine.c"
Finished building: ../src/FreeRTOS/croutine.c
 
Building file: ../src/FreeRTOS/list.c
../src/cr_startup_lpc12xx_FreeRTOS.c:417:23: warning: variable 'stacked_pc' set but not used [-Wunused-but-set-variable]
Invoking: MCU C Compiler
../src/cr_startup_lpc12xx_FreeRTOS.c:416:23: warning: variable 'stacked_lr' set but not used [-Wunused-but-set-variable]
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/FreeRTOS/list.d" -MT"src/FreeRTOS/list.d" -o "src/FreeRTOS/list.o" "../src/FreeRTOS/list.c"
../src/cr_startup_lpc12xx_FreeRTOS.c:415:23: warning: variable 'stacked_r12' set but not used [-Wunused-but-set-variable]
Finished building: ../src/FreeRTOS/list.c
 
Building file: ../src/FreeRTOS/queue.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/FreeRTOS/queue.d" -MT"src/FreeRTOS/queue.d" -o "src/FreeRTOS/queue.o" "../src/FreeRTOS/queue.c"
../src/cr_startup_lpc12xx_FreeRTOS.c:414:23: warning: variable 'stacked_r3' set but not used [-Wunused-but-set-variable]
Finished building: ../src/FreeRTOS/queue.c
 
Building file: ../src/FreeRTOS/tasks.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/FreeRTOS/tasks.d" -MT"src/FreeRTOS/tasks.d" -o "src/FreeRTOS/tasks.o" "../src/FreeRTOS/tasks.c"
Finished building: ../src/FreeRTOS/tasks.c
 
Building file: ../src/FreeRTOS/timers.c
../src/cr_startup_lpc12xx_FreeRTOS.c:413:23: warning: variable 'stacked_r2' set but not used [-Wunused-but-set-variable]
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/FreeRTOS/timers.d" -MT"src/FreeRTOS/timers.d" -o "src/FreeRTOS/timers.o" "../src/FreeRTOS/timers.c"
Finished building: ../src/FreeRTOS/timers.c
 
Building file: ../src/Firmware_Update.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC12xx -D__DISABLE_WATCHDOG -D__USE_ROMDIVIDE -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/CMSISv2p00_LPC12xx/inc" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/include" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/GCC/ARM_CM0" -I"/home/jerry/Shared/Clients/Products/PVP-2012/firmware/PVP_workspace/PVP_2012/src/FreeRTOS/portable/MemMang" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/Firmware_Update.d" -MT"src/Firmware_Update.d" -o "src/Firmware_Update.o" "../src/Firmware_Update.c"
Finished building: ../src/Firmware_Update.c
0 Kudos
Reply

1,021 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Thu Jan 31 14:27:07 MST 2013
Post all the output from the build console so we can see what the problems are. Do a clean followed by a normal build by pressing the appropriate buttons in the quickstart panel.
0 Kudos
Reply

1,021 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by jdurand on Thu Jan 31 14:02:31 MST 2013
Additional information:

I tried this project on two other Ubuntu systems with the same result.

I forgot to mention this is Ubuntu 12.04 LTS on all systems.  LPCXpresso Full license.
0 Kudos
Reply