Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Couldn't build in eclipse by "gcc-arm-none-eabi-10-2020-q4-major-win32"
Couldn't build in eclipse by "gcc-arm-none-eabi-10-2020-q4-major-win32" [message #1838879] Mon, 08 March 2021 00:30 Go to next message
M Q is currently offline M QFriend
Messages: 3
Registered: January 2021
Junior Member
I installed gcc-arm-none-eabi-10-2020-q4-major-win32 and eclipse on Windows 10, and I have updated CMSIS package in eclipse, I want to make a test project for NUCLEO-G474RE board, but it couldn't even be built,

18:53:27 **** Incremental Build of configuration Debug for project test_NUCLEO_G474RE ****
make all 
Building file: ../system/src/newlib/assert.c
Invoking: GNU Arm Cross C Compiler
arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -Og -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -ffreestanding -fno-move-loop-invariants -Wall -Wextra  -g3 -DDEBUG -DTRACE -DOS_USE_TRACE_SEMIHOSTING_DEBUG -I"../include" -I"../system/include" -I"../system/include/cmsis" -I"../system/include/DEVICE" -std=gnu11 -MMD -MP -MF"system/src/newlib/assert.d" -MT"system/src/newlib/assert.o" -c -o "system/src/newlib/assert.o" "../system/src/newlib/assert.c"
make: *** [system/src/newlib/subdir.mk:39: system/src/newlib/assert.o] Error -1073741502
"make all" terminated with exit code 2. Build might be incomplete.

18:53:30 Build Failed. 1 errors, 0 warnings. (took 2s.981ms)


and propmted:

The application was unable to start correctly (0xc0000142)
Re: Couldn't build in eclipse by "gcc-arm-none-eabi-10-2020-q4-major-win32" [message #1838886 is a reply to message #1838879] Mon, 08 March 2021 06:29 Go to previous message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
0xc0000142 is Windows error STATUS_DLL_INIT_FAILED.

There are a number of places suggesting fixes.
Here's one: https://fixforwindows.com/0xc0000142
Here's one from Microsoft: https://answers.microsoft.com/en-us/windows/forum/windows_10-performance-winpc/error-0xc0000142/3da27a75-178c-4de5-b43c-c538e6005540
And yet another: https://www.thewindowsclub.com/the-application-was-unable-to-start-correctly-0xc0000142-in-windows-10

Search 0xc0000142 error fix for more

[Updated on: Mon, 08 March 2021 06:30]

Report message to a moderator

Previous Topic:No Console Output (MinGW, CDT)
Next Topic:CDT not launching previous launch configuration on remote
Goto Forum:
  


Current Time: Fri Apr 26 19:04:01 GMT 2024

Powered by FUDForum. Page generated in 0.03398 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top