Error compiling code for Arduino Uno

Is the error something about missing a loop() function? That is all that I can guess from the posted code. If you were to post the error message (in its entirety) we would be more likely to be able to help.