Library for DS1307 Real Time Clock

What uC are you using?

I've run that code on the 168,328 and 644 (with the Sanguino).

Try putting some Serial.print statements before each instruction in the loop to see
if you can isolate the specific instruction that is causing a problem.

In my main program I have a couple of other include statements. I am assuming
that if these were required your program wouldn't compile.

(* jcl *)