Undefined reference to main? And it's not finding the write method of print?
Does anything else compile? Try like, compiling blink... It looks like builder is misbehaving; have you exited and restarted the IDE since this started? Sometimes weirdo problems like this are caused by the cache getting messed up.