0

In pset1 , following the instructions I wrote the hello.c file and saved it in the pset1 directory under Dropbox but when I go to the directory , I can't find the saved file. It also doesn't list when I use the ls command . Therefore I am not able to compile it. On typing make hello , I get the following error :

  make: *** No rule to make target `hello'.  Stop.
4
  • 1
    Was you sure to save it in the pset1 directory? Try making another hello.c and saving it there to be sure. Jul 11, 2014 at 14:49
  • @danjames975, I already did so. It asks whether to replace the existing file!
    – Pooja
    Jul 12, 2014 at 7:08
  • Did you migrate to pset1 directory from terminal, before you typed ls and make commands? If no then try with this.
    – sinister
    Jul 12, 2014 at 13:34
  • I did change my directory to pset1 using cd command.
    – Pooja
    Jul 12, 2014 at 13:47

2 Answers 2

1

It could be possible you named it .hello.c, which would hide the file because of the prefix ".". Use ls -a in pset1 to see.

Also, try running find / -name 'hello.c' .

This should list where any file named hello.c is in the root directory. This doesn't solve how the file location moved but it may help you find lost work.

For more information on find type man find.

0

This happened to another student. If I understand correctly, you disabled the syncronization between Dropbox and the appliance.

Go to the Dropbox icon in the lower right corner of the appliance.

Click with the right button of the mouse.

Choose "restart sync".

After a few seconds, your saved files should now appear with a green signal, showing they have correctly been synchronized, and you can rely on them.

1
  • I looked at Dropbox, the syncing was on. I stopped it then again started it but no change.
    – Pooja
    Jul 12, 2014 at 7:07

You must log in to answer this question.

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