Don't be afraid of errors! The compiler tells you what it thinks is wrong, not what actually is wrong (most of the time).
Take each error, one at a time (from the top) and fix it. Try again. Fix the next error. And on and on...
At work (last week) I/we had a 'permission' fault. The error was 'SQL Server, account.. blah blah.. failed to login'... permission denied'...
To me it was completely obvious what the trouble was, but our 'infrastructure' guy's, who look after this stuff, took FOUR days to sort it out!
Once they'ed fix this ONE error (which was not my fault in the first place) , would you believe it? ALL the other error's vanished!
So... error's are GOOD! Deal with them one at a time, and re-compile each time, in the end, all the error's will go :)
The old hands know this already.. this is just some advice for the 'newbies'! Don't loose faith just because you've got a 'sh!t' load of errors the first time you compile!