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

Asset tracker project build fails with cannot move location counter backwards

I am able to load the project.. I have followed all the instructions from nrf connect helkp and have verified it.  

tag v1.1.0 (have done west update)

using SES 4.30c  as suggested by nrf connect (latest SES did not work for me either)

verify all on nrf connect was successful.

After the project loading if i clean and rebuild, I get the following error.. It looks like linker has some errors but I have not changed anything and using the project as is.

7> Compiling ‘system_work_q.c’
3> Compiling ‘thread.c’
2> Compiling ‘thread_abort.c’
4> Compiling ‘version.c’
6> Compiling ‘work_q.c’
8> Compiling ‘smp.c’
5> Compiling ‘timeout.c’
7> Compiling ‘timer.c’
4> Compiling ‘poll.c’
1> Archiving ‘libkernel.a’
Rebuilding ‘zephyr/zephyr_prebuilt.elf’ from solution ‘build’ in configuration ‘Common’
1> Compiling ‘empty_file.c’
1> Linking ‘zephyr_prebuilt.elf’
1> c:/gnuarmemb/bin/../lib/gcc/arm-none-eabi/8.3.1/../../../../arm-none-eabi/bin/ld.exe:zephyr/linker.cmd:70 cannot move location counter backwards (from 0001843c to 00018400)
1> collect2.exe: error: ld returned 1 exit status
Build failed

Related