Linking examples fails with empty_file.c.obj not found.

Completed manual*) install of nRF Connect SDK 2.2.0, zephyr-sdk-0.15.1. 

The project is placed in C:\dev\peripheral_nfc_pairing

The SDK in: C:\dev\ncs

Build output:

[244/255] Linking C static library zephyr\kernel\libkernel.a
[245/255] Linking C executable zephyr\zephyr_pre0.elf
FAILED: zephyr/zephyr_pre0.elf zephyr/zephyr_pre0.map C:/dev/peripheral_nfc_pairing/build/zephyr/zephyr_pre0.map
cmd.exe /C "cd . && C:\Users\tnielsen\zephyr-sdk-0.15.1\arm-zephyr-eabi\bin\arm-zephyr-eabi-gcc.exe -gdwarf-4 @CMakeFiles\zephyr_pre0.rsp -o zephyr\zephyr_pre0.elf && cmd.exe /C "cd /D C:\dev\peripheral_nfc_pairing\build\zephyr && "C:\Program Files\CMake\bin\cmake.exe" -E echo ""
c:/users/tnielsen/zephyr-sdk-0.15.1/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/12.1.0/../../../../arm-zephyr-eabi/bin/ld.exe: cannot find zephyr/CMakeFiles/zephyr_pre0.dir/misc/empty_file.c.obj: No such file or directory
collect2.exe: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

The empty_file.c really is a empty source file - apparently not generating an empty object file.

*) The tool manager would not detect SDK versions above 1.9.1, and found this as an unresolved issue on dev zone, so went with the manual install.

Parents Reply Children
No Data
Related