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
    Commented Jul 7, 2016 at 10:26
  • Yes it's under workspace and I'm using the right folder too...
    – Hello
    Commented Jul 7, 2016 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
    Commented Jul 7, 2016 at 10:59
  • Possible duplicate of Error: "make: *** No rule to make target `mario'. Stop."
    – Cliff B
    Commented Jul 7, 2016 at 12:30


You must log in to answer this question.

Browse other questions tagged .