post build error

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by daniele on Tue Oct 19 05:44:29 MST 2010
When I build a project there's this window's error:
make[1]: [post-build] Error 1 (ignored) NXP_Oled  line 0 C/C++ Problem

This is the console's message:
[SIZE=2][LEFT]**** Build of configuration Debug for project NXP_Oled ****

make all
'Building file: ../src/main.c'
'Invoking: MCU C Compiler'
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv1p30_LPC11xx -I"C:\Progetti\PROGETTI-C\NXP_CortexM0\NXP_OLED\CMSISv1p30_LPC11xx\inc" -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 target: NXP_Oled.axf'
'Invoking: MCU Linker'
arm-none-eabi-gcc -nostdlib -L"C:\Progetti\PROGETTI-C\NXP_CortexM0\NXP_OLED\CMSISv1p30_LPC11xx\Debug" -Xlinker -Map=NXP_Oled.map -Xlinker --cref -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "NXP_Oled_Debug.ld" -o"NXP_Oled.axf" ./src/IOports.o ./src/cr_startup_lpc11.o ./src/main.o -lCMSISv1p30_LPC11xx
'Finished building target: NXP_Oled.axf'
' '
make --no-print-directory post-build
'Performing post-build steps'
arm-none-eabi-size NXP_Oled.axf; # arm-none-eabi-objcopy -O binary NXP_Oled.axf NXP_Oled.bin ; checksum -p LPC1114/301 -d NXP_Oled.bin;
c:\nxp\lpcxpresso_3.5\tools\bin\arm-none-eabi-size.exe: invalid option -- O
Usage: c:\nxp\lpcxpresso_3.5\tools\bin\arm-none-eabi-size.exe [option(s)] [file(s)]
Displays the sizes of sections inside binary files
If no input file(s) are specified, a.out is assumed
The options are:
-A|-B --format={sysv|berkeley} Select output style (default is berkeley)
-o|-d|-x --radix={8|10|16} Display numbers in octal, decimal or hex
-t --totals Display the total sizes (Berkeley only)
--common Display total size for *COM* syms
--target=<bfdname> Set the binary file format
@<file> Read options from <file>
-h --help Display this information[/LEFT]
-v --version Display the program's version

Do you know this kind of problem?