mingw32-make: *** [main_c.obj] Error 1

cancel
Showing results for 
Search instead for 
Did you mean: 

mingw32-make: *** [main_c.obj] Error 1

Jump to solution
1,893 Views
yongcheolshin
Contributor II

I am building project PMSM_Sensorless_FOC for MC56F82748 using CodeWarrior for MCU Version: 11.0.

I have 2 errors like below. Could someone help me?

**** Build of configuration FLASH for project PMSM_Sensorless_FOC ****

"D:\\01 NXP\\CW MCU v11.0\\gnu\\bin\\mingw32-make" -j8 all
'Regenerating dependency file: src/M1_StateMachine_c.d'
'Regenerating dependency file: src/Motor Structure/motor_structure_c.d'
'Regenerating dependency file: src/State Machine/state_machine_c.d'
'Regenerating dependency file: main_c.d'
' '
' '
' '
' '
'Building file: ../main.c'
'Building file: ../src/support/freemaster/freemaster_56F8xxx.c'
'Building file: ../src/support/freemaster/freemaster_appcmd.c'
'Building file: ../src/support/freemaster/freemaster_can.c'
'Building file: ../src/support/freemaster/freemaster_protocol.c'
'Building file: ../src/support/freemaster/freemaster_rec.c'
'Executing target #2 ../src/support/freemaster/freemaster_appcmd.c'
'Building file: ../src/support/freemaster/freemaster_fastrec.c'
'Building file: ../src/support/freemaster/freemaster_pipes.c'
'Executing target #47 ../main.c'
'Executing target #3 ../src/support/freemaster/freemaster_can.c'
'Executing target #1 ../src/support/freemaster/freemaster_56F8xxx.c'
'Executing target #4 ../src/support/freemaster/freemaster_fastrec.c'
'Executing target #5 ../src/support/freemaster/freemaster_pipes.c'
'Invoking: DSC Compiler'
"D:/01 NXP/CW MCU v11.0/MCU/DSP56800x_EABI_Tools/command_line_tools/mwcc56800e" -c @@"src/support/freemaster/freemaster_appcmd.args" -o "src/support/freemaster/freemaster_appcmd_c.obj" "../src/support/freemaster/freemaster_appcmd.c" -MD -gccdep
'Executing target #7 ../src/support/freemaster/freemaster_rec.c'
'Executing target #6 ../src/support/freemaster/freemaster_protocol.c'
'Invoking: DSC Compiler'
"D:/01 NXP/CW MCU v11.0/MCU/DSP56800x_EABI_Tools/command_line_tools/mwcc56800e" -c @@"src/support/freemaster/freemaster_can.args" -o "src/support/freemaster/freemaster_can_c.obj" "../src/support/freemaster/freemaster_can.c" -MD -gccdep
'Invoking: DSC Compiler'
"D:/01 NXP/CW MCU v11.0/MCU/DSP56800x_EABI_Tools/command_line_tools/mwcc56800e" -c @@"src/support/freemaster/freemaster_rec.args" -o "src/support/freemaster/freemaster_rec_c.obj" "../src/support/freemaster/freemaster_rec.c" -MD -gccdep
'Invoking: DSC Compiler'
'Invoking: DSC Compiler'
"D:/01 NXP/CW MCU v11.0/MCU/DSP56800x_EABI_Tools/command_line_tools/mwcc56800e" -c @@"src/support/freemaster/freemaster_pipes.args" -o "src/support/freemaster/freemaster_pipes_c.obj" "../src/support/freemaster/freemaster_pipes.c" -MD -gccdep
'Invoking: DSC Compiler'
"D:/01 NXP/CW MCU v11.0/MCU/DSP56800x_EABI_Tools/command_line_tools/mwcc56800e" -c @@"src/support/freemaster/freemaster_56F8xxx.args" -o "src/support/freemaster/freemaster_56F8xxx_c.obj" "../src/support/freemaster/freemaster_56F8xxx.c" -MD -gccdep
'Invoking: DSC Compiler'
'Invoking: DSC Compiler'
chcp windows-949 > nul
"D:/01 NXP/CW MCU v11.0/MCU/DSP56800x_EABI_Tools/command_line_tools/mwcc56800e" -c @@"src/support/freemaster/freemaster_fastrec.args" -o "src/support/freemaster/freemaster_fastrec_c.obj" "../src/support/freemaster/freemaster_fastrec.c" -MD -gccdep
"D:/01 NXP/CW MCU v11.0/MCU/DSP56800x_EABI_Tools/command_line_tools/mwcc56800e" -c @@"src/support/freemaster/freemaster_protocol.args" -o "src/support/freemaster/freemaster_protocol_c.obj" "../src/support/freemaster/freemaster_protocol.c" -MD -gccdep
'Finished building: ../src/support/freemaster/freemaster_appcmd.c'
'Finished building: ../src/support/freemaster/freemaster_rec.c'
' '
'Finished building: ../src/support/freemaster/freemaster_can.c'
'Finished building: ../src/support/freemaster/freemaster_pipes.c'
' '
'Finished building: ../src/support/freemaster/freemaster_56F8xxx.c'
' '
'Finished building: ../src/support/freemaster/freemaster_fastrec.c'
' '
' '
'Finished building: ../src/support/freemaster/freemaster_protocol.c'
' '
' '
매개 변수 형식이 틀립니다 - windows-949
mingw32-make: *** [main_c.obj] Error 1
mingw32-make: *** Waiting for unfinished jobs....

0 Kudos
1 Solution
469 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Yongcheol Shin,

I noticed there is Korean characters in console output. One thing, CW11 doesn't have Korean version and doesn't support Korean characters.

Please test your project on an English version windows system computer.

!! avoid any non-English character in project path and work space!!

Execute in commandline “cwide.exe –nl en” to launch CW11. This is to force CW to be opened in English version.

See how it works.

If problem still exists, please send me the project. I will test it from my side.


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
4 Replies
470 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Yongcheol Shin,

I noticed there is Korean characters in console output. One thing, CW11 doesn't have Korean version and doesn't support Korean characters.

Please test your project on an English version windows system computer.

!! avoid any non-English character in project path and work space!!

Execute in commandline “cwide.exe –nl en” to launch CW11. This is to force CW to be opened in English version.

See how it works.

If problem still exists, please send me the project. I will test it from my side.


Have a great day,
Jennie Zhang

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
469 Views
yongcheolshin
Contributor II

Your comment is correct.

In the windows 10 control panel, I added English language pack, and boot my computer with English version instead of Korean. I launched CodeWarrior v11.0 and execute " PMSM_Sensorless_FOC for MC56F82748 ".

There were no errors at all. 

Thank you, Jennie Zhang.

0 Kudos
469 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Good to know your problem got solved.

Have a nice day,

Jennie Zhang

0 Kudos
469 Views
yongcheolshin
Contributor II

From the console message

chcp windows-949 > null   

==> what this mean?

this could be a main reason of this error... does anyone know this?

0 Kudos