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

Error make: *** No rule to make target

Processors & DSP LorenzNew Mar 18, 2022 00:00 2 replies Original on forum ↗
Subscribe
LorenzNew Question
Mar 18, 2022 00:00

Hello,
I try to setup my toolchain to build for an ADSP-21569 on the EV-21569-SOM board.
I can build my project with a clean build with no error, but all incremental builds have the followig error:

make: *** No rule to make target `../../../../../../../../../../../../../Analog Devices/CrossCore Embedded Studio 2.10.1/SHARC/include/sys/internal_system_prototypes.h', needed by `system/pinmux/GeneratedSources/pinmux_config.doj'. Stop.

The path "../../../../../../../../../../../../../Analog Devices/CrossCore Em....." is correct an leads to the right file.The file exists!

I'm on windows 10, CCES 2.10.1.
The project was started on an other PC (same CCES version) and I opend it with the "Import existing project" wizard.

Do you have any idea how to fix this?

Thank you
Lorenz

ADSP-21569

Audio Signal Processors

sharc

SHARC Audio Processors/SoCs

ev-21569-som

Nishanthi Reply
Mar 21, 2022 00:00

Hi,

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.

Can you please try perform a "Clean Project", available from right clicking on the project in the IDE and delete the dependency file (.d) from the debug folder and try rebuild the project.

If this doesn't help, There is a limitation with path lengths on Windows.If you were to make your paths shorter, does the problem disappear?

and the 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.

Please refer the below FAQ for the same:
ez.analog.com/.../faq-what-changes-are-needed-to-build-a-crosscore-embedded-studio-project-after-moving-to-another-directory

If still you are facing this issue, please share us the complete project which replicated this issue.This will help us to assist you further.

Regards,
Nishanthi.V

LorenzNew Reply
Mar 21, 2022 00:00

Hello,
thank you so much, the path lenght was the problem. I placed the workspace in an other dictonary and it worked!
I cant beleave it!

Thanks
Lorenz