AnsweredAssumed Answered

what does this compiler error mean?

Question asked by Ian Benton on Jul 25, 2018
Latest reply on Jul 26, 2018 by Ian Benton

What does this compiler error message mean?

Building target: 02-1061-02.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -Xlinker -Map="02-1061-02.map" -Xlinker --gc-sections -Xlinker -print-memory-usage -mcpu=cortex-m3 -mthumb -T "02-1061-02_Debug.ld" -o "02-1061-02.axf" ./src/02-1061-01.o
Memory region Used Size Region Size %age Used
MFlash64: 23472 B 64 KB 35.82%
Ram0_4: 1932 B 4 KB 47.17%
Ram1_4: 0 GB 4 KB 0.00%
Ram2_4: 0 GB 4 KB 0.00%
c:/nxp/mcuxpressoide_10.1.1_606/ide/tools/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-m\libcr_c.a(cr_clock.o): In function `clock':
cr_clock.c:(.text.clock+0x0): undefined reference to `__sys_clock'
collect2.exe: error: ld returned 1 exit status
make: *** [02-1061-02.axf] Error 1

MCUXPresso has recently started including these files

 c:/nxp/mcuxpressoide_10.1.1_606/ide/tools/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib/thumb/v7-

in every new project, and now everything fails to compile with the error above. What has changed? (presumably accidentally changed)

Outcomes