This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Problem building application using NCS

Hi,

I can't build any samples anymore for my nrf9160-DK using neither SES nor CLI only.

I followed the "Getting started assistant", pulled the v0.4.0 version of the SDK, west update'd everything. I also checked that I have the correct gnuarmemb version "7-2018-q2-update".

However, when I build either a sample or one of my program, le linker fails with the following error:

[ 95%] Built target linker_pass_final_script_target
[ 96%] Generating isr_tables.c
/usr/bin/objcopy:/home/giulianofranchetto/Desktop/embedded-m3/lib/fake_project/build/zephyr/zephyr_prebuilt.elf: Invalid bfd target
zephyr/CMakeFiles/zephyr_final.dir/build.make:61: recipe for target 'zephyr/isr_tables.c' failed
make[2]: *** [zephyr/isr_tables.c] Error 1
CMakeFiles/Makefile2:426: recipe for target 'zephyr/CMakeFiles/zephyr_final.dir/all' failed
make[1]: *** [zephyr/CMakeFiles/zephyr_final.dir/all] Error 2
Makefile:83: recipe for target 'all' failed

What am I missing? Should I rolled everything back to v0.3.0?

Regards

Giuliano

Related