Error compiling

It sounds like you could have possible used a 'int main()' vice 'void loop()' as your main program. Not sure without seeing what you are trying to compile, but that's my guess with the given information... Good luck!!