Someone help with my ATMega644p. It won't connect

Everytime I try to upload the blink test it says undefined reference "setup" and "loop".

Any idea how I can fix that to make it work?

I think you would have to post your sketch for anyone to be able to help you.


This isn't a connect / upload problem.

OK, so I reinstalled sanguino. After I decided to try to bootload and it didn't detect the USB, however, when I try to do the "blink" test and press upload. It says done compiling at the end. By-the-way, I don't see any light blinking. I simply see the power light on.

Even when I hold down the reset button nothing blinks.

Any idea on how I can get it to read the USB?