error compiling while attempting to upload

i get the error compiling
C:\Users\bergs\Downloads\arduino-0018\arduino-0018\hardware\arduino\cores\arduino/main.cpp:10: undefined reference to `loop'
when attempting to upload please help thanks in advance
i also had problems while trying to install the diver i had to go to the website to download it i dont know if this is any significance.
please help thanks in advance

what is the code that you're trying to compile?
this error "undefined reference to `loop'" in general means that you need a loop function
void loop(){

}