We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
dear arm,
We have a problem when compiling with AC6.
[link] Error: L6200E: Symbol __assert multiply defined (by assert.o and retarget.o).
But the assert.c doesn't exist, we didn't create a c source file named assert. Also, we searched assert.o in map file, but didn't find it either. Why did this error occur?
Hello,
Assert.o is from the C library. Do either of the below links help explain what is happening?https://developer.arm.com/documentation/100073/0618/The-Arm-C-and-C---Libraries/Tailoring-the-C-library-to-a-new-execution-environment/Program-exit-and-the-assert-macro
https://developer.arm.com/documentation/ka004216