Wednesday, November 6, 2013

Solution for gcc makefile error: “No rule to make target”

This error happens when the file needed to make the target is not available.
"No rule to make target ttt.cpp', needed by tttp-ck.o'. Stop."
That's usually because you don't have a file called ttt.cpp available to make. Check that file exists and you are in the right path while running make.
This error can also take the form where it complains:
"No rule to make target ttt.o', needed by tttp-ck.o'. Stop."
In this case check the files needed to build ttt.o, they may be missing.
I migrated from one machine to the other, and I was facing the problem because perforce failed to checkout the file I needed on the new machine.

0 comments:

Post a Comment