Error on linking .elf file step

Hi,

I recently moved a project from one computer to another and the files and all the include directories were in a mess. I cleaned up most missing files and moved directories to where they were supposed to be to build the project, but I can't seem to get this step working. 

How do I let the linker know where the thread directory is supposed to be?

Thanks,
Glen

Parents
  • Hi,

    The error states that the files listed is not found in that path. If you have moved your project relative to the SDK folder, you need to updat the paths (or move the project so that it is in the same position relative to the SDK as before). Or if thse files are missing for some reason, copy them back in place.

  • Hi Einar,

    I moved the project folder relative to the components directory in the nrf5 sdk for thread and zigbee directory so that the project can build. However, the sdk directory itself seems to not be seen by my project and it gives errors due to that. If I change the project folder to a deeper subfolder in the directory hierarchy it will not build.

    If you have moved your project relative to the SDK folder, you need to updat the paths

    How can I do this? I added my sdk path to the "User include directories" in the project settings and it still gives this error.

  • Hi,

    As you have been moving things around there may be an umber of path issues, or perhap syou have deleted parts of the SDK wihtout thinking about it? The only thing I can see from the error is that the specific files (which are present in the SDK under external/nrf_security/lib) are missing at the specified location on your machine. So you need to either put the files back or update the path if your project has moved relative to the SDK directory.

    Note that this is not about the include path (though you mave have problems there as well if yo have been moving things around), this is that the path to the specific library files is incorrect. If it is just about these files, then I woulder if you removed it by a mistake? Have you checked if the files are present? And if they are, what is the relative path to the files on your system now? You neeed to update to that. You can either remove and add the file back in the GUI, but the simplest in this case is probably to open the project file in a text editor and update the paths there (it is an XML file that is easily readable).

Reply
  • Hi,

    As you have been moving things around there may be an umber of path issues, or perhap syou have deleted parts of the SDK wihtout thinking about it? The only thing I can see from the error is that the specific files (which are present in the SDK under external/nrf_security/lib) are missing at the specified location on your machine. So you need to either put the files back or update the path if your project has moved relative to the SDK directory.

    Note that this is not about the include path (though you mave have problems there as well if yo have been moving things around), this is that the path to the specific library files is incorrect. If it is just about these files, then I woulder if you removed it by a mistake? Have you checked if the files are present? And if they are, what is the relative path to the files on your system now? You neeed to update to that. You can either remove and add the file back in the GUI, but the simplest in this case is probably to open the project file in a text editor and update the paths there (it is an XML file that is easily readable).

Children
Related