In the terminal, it says:

~/workspace $

In other words, it's missing my username in the beginning. Is this causing the problem when I try to compile? Or what could the problem be?

(FYI: I do locate the folder the file is in and the file name does end with .c)


  • where is your file you are compiling? under workspace Folder or somhere where else? I guess your file is in other Folder and you are invoking make at workspace. cd folderName and then try – Wafeeq Jul 7 '16 at 10:26
  • Yes it's under workspace and I'm using the right folder too... – Hello Jul 7 '16 at 10:52
  • how are you writing the make command? make filename.c or make filename without the .c extention? it should be without extention of the file. – Wafeeq Jul 7 '16 at 10:59
  • Possible duplicate of Error: "make: *** No rule to make target `mario'. Stop." – Cliff B Jul 7 '16 at 12:30

You must log in to answer this question.

Browse other questions tagged .