Compile errors have nothing to do with animators, only with scripts (unless you're crazy enough to modify the built-in Animator component script, in which case, ...why?)
You'll be more likely to get a more in-depth reply to your question if you include the content of the error. "Compile error with animator" tells me nothing about your project. You also didn't include any info on what you've tried to do to fix it so far.
↧