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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
6,292件の閲覧回数
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 件の賞賛
返信
1 解決策
4,868件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
4,869件の閲覧回数
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!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
4,868件の閲覧回数
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 件の賞賛
返信
4,868件の閲覧回数
ZhangJennie
NXP TechSupport
NXP TechSupport

Good to know your problem got solved.

Have a nice day,

Jennie Zhang

0 件の賞賛
返信
4,868件の閲覧回数
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 件の賞賛
返信