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

Linker error on example code

Hi.

I get Linker error when i compile 'iot_secure_dfu_bootloader_secure_dfu_s132_pca10040' example from SDK 16.0.0.

The compilation passed (although i had problem with: 'nrf52hf_armgcc' under 'micro-ecc', which didnt passed makefile), 

Now i get error message of Linking, " can't open C:/nRF52832/nRF5/examples/iot/bootloader/pca10040/s132/ses/ for reading"

What is the reason for that?

I tried to mode the folder closer to C root but it did not help.

In addition, why 'build_all.bat' file under micro-ecc, return error messages on all make files?

Regards,

Dudi

Parents
  • Now i get error message of Linking, " can't open C:/nRF52832/nRF5/examples/iot/bootloader/pca10040/s132/ses/ for reading"

    Havent seen this error before, could it be a permissions thing?

    In addition, why 'build_all.bat' file under micro-ecc, return error messages on all make files?

     You have probably not set up the correct path to the GCC toolchain in the Makefile.windows file in components\toolchain\gcc. This is my path. 

    GNU_INSTALL_ROOT := C:/Program Files (x86)/GNU Tools ARM Embedded/7 2018-q2-update/bin/
    GNU_VERSION := 7.3.1
    GNU_PREFIX := arm-none-eabi
    

     

Reply
  • Now i get error message of Linking, " can't open C:/nRF52832/nRF5/examples/iot/bootloader/pca10040/s132/ses/ for reading"

    Havent seen this error before, could it be a permissions thing?

    In addition, why 'build_all.bat' file under micro-ecc, return error messages on all make files?

     You have probably not set up the correct path to the GCC toolchain in the Makefile.windows file in components\toolchain\gcc. This is my path. 

    GNU_INSTALL_ROOT := C:/Program Files (x86)/GNU Tools ARM Embedded/7 2018-q2-update/bin/
    GNU_VERSION := 7.3.1
    GNU_PREFIX := arm-none-eabi
    

     

Children
No Data
Related