mingw32-make: *** [LMU_Ver00.elf] Error 1

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

mingw32-make: *** [LMU_Ver00.elf] Error 1

ソリューションへジャンプ
5,284件の閲覧回数
jason_zhang
Contributor III

Hi,  " mingw32-make: *** [Project_Ver00.elf] Error 1" come out when I built the project.

Could anyone tell me the reason about the problem and the method of locating the error?

 

CodeWarrior for MCU

  Version: 10.6.4

 

  Thanks! Jason

ラベル(1)
0 件の賞賛
1 解決策
3,948件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Hello Jason

Could you please click on 'Project' menu-> Clean to remove the object file and rebuild again.

Does the same error appear? To know the cause of the error, please open both 'Problem' view and 'Console' view, you can open them by <Windows> Menu->Show Views.

In Console view, please double click on the error message whose background is in red, then cursor will go to the incorrect code line in Editor.

If there's still difficult to get to know the cause of compiler error, please attach your project to reproduce the problem. Thanks!

Best Regards

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
3 返答(返信)
3,949件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Hello Jason

Could you please click on 'Project' menu-> Clean to remove the object file and rebuild again.

Does the same error appear? To know the cause of the error, please open both 'Problem' view and 'Console' view, you can open them by <Windows> Menu->Show Views.

In Console view, please double click on the error message whose background is in red, then cursor will go to the incorrect code line in Editor.

If there's still difficult to get to know the cause of compiler error, please attach your project to reproduce the problem. Thanks!

Best Regards

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

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

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
2,638件の閲覧回数
douglaspassatut
Contributor I

Same problem. "Erros caused tool to abort. mingw32-make: *** [project_name] Error 1."

0 件の賞賛
3,948件の閲覧回数
jason_zhang
Contributor III

Hi Fiona

Thank you for your reply.

I got the cause of the problem from the Console as below.

"D:/Freescale/CW MCU v10.6.4/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc"    @"LMU_Ver00.args" -o"LMU_Ver00.elf"

./Sources/common.o:(.bss.BMS_OV_fault_flag+0x0): multiple definition of `BMS_OV_fault_flag'

./Sources/fault.o:(.bss.BMS_OV_fault_flag+0x0): first defined here

./Sources/common.o:(.bss.BMS_UV_fault_flag+0x0): multiple definition of `BMS_UV_fault_flag'

./Sources/fault.o:(.bss.BMS_UV_fault_flag+0x0): first defined here

./Sources/common.o:(.bss.BMS_OW_fault_flag+0x0): multiple definition of `BMS_OW_fault_flag'

./Sources/fault.o:(.bss.BMS_OW_fault_flag+0x0): first defined here

./Sources/common.o:(.bss.BMS_OT_fault_flag+0x0): multiple definition of `BMS_OT_fault_flag'

./Sources/fault.o:(.bss.BMS_OT_fault_flag+0x0): first defined here

collect2.exe: error: ld returned 1 exit status

mingw32-make: *** [LMU_Ver00.elf] Error 1

Thanks!

Best Regards

Jason

0 件の賞賛