FAQ: CCES 2.8.0 linker problem

Document created by Reva@14 Employee on Jul 25, 2018
Version 1Show Document
  • View in full screen mode

Question:

 

 

How can I solve "make: *** No rule to make target" problem?

 

 

Answer:

 

 

The "No Rule to Make Target" error can be a tricky one to track down, but it is ultimately caused by a reference in your makefile to a nonexistent file. The problem can be that it doesn't necessarily have to be an actual filename causing the problem; it could be a corrupt command line in the makefile.

 

The first place to look is the makefile itself, to try and track where the error is actually coming from; find any references to the filename, and ensure that these commands are correctly formatted.

 

Next, you should check the files/directories that these commands are referencing; do they actually exist? If the files do exist, are they in the location the command line is looking, or are they elsewhere?

 

You should next check your project options. Ensure that all 'Search Directories' for the Linker, and 'Additional Include Directories' for the Compiler/Assembler are configured correctly. If any of your paths or filenames are wrapped in quotes, ensure that they have both a closing and opening quote, as this can cause problems with the makefile.

 

Something else you can try, to determine if the problem is Project Option related, is to switch to another configuration (e.g. switch to Release) and see if that builds.

 

Please refer to the below FAQ for the same:
https://ez.analog.com/docs/DOC-2750

 

This document was generated from the following discussion: CCES 2.8.0 linker problem

Attachments

    Outcomes