1

When trying to make hello I get the error make: *** [hello] Error 1

I have only one folder inside of my ~/workspace. Its called pset1 and has only one file inside of it hello.c

My code:

My Code

The Error message:enter image description here

What am I doing wrong and how can I fix it?

1

Did you remember to save your file with the latest changes before trying to build the executable? The red dot on the tab for the source code in the first image means that it hasn't been saved. Also, the errors are typical for a source file where the main program code inside the source code file has been named hello() instead of main(). (Naming the file hello.c is still correct.)

If this answers your question, please click on the check mark to accept. Let's keep up on forum maintenance. ;-)

  • Red point indicates that the shown version is not the saved one. – Blauelf Nov 24 '16 at 15:52
  • Wow I can't believe all of that grief because I didn't know what that red dot meant D: THANK YOU! – Maria Andrea Dec 13 '16 at 21:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .