ΣSigmaStudio Ask AI Русский Log in

problem:no rule to make target

Processors & DSP xintian Mar 13, 2016 00:00 2 replies Original on forum ↗
Subscribe
xintian Question
Mar 13, 2016 00:00

I use the example code of lwip about blackfine609 in CCES,when I build the the project, the following message appears.

make: *** No rule to make target `../../../../ucos-iii/include/cpu.h', needed by `system/uC-LIB/Source/lib_mem.doj'. Stop.

could you tell me the reason of this error.

ADIApproved Reply
Mar 15, 2016 00:00

Hello,

Can you please let us know which example project you are using with lwip so that we can assist you better.

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 non existent 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 the below FAQ for the same:

https://ez.analog.com/docs/DOC-2750

Best Regards,

Kader

EZAdministrator Reply
Aug 2, 2018 00:00

This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

Thank you,
EZ Admin