Please post the full text of the error messages.

When posting code, please wrap it in code tags.
Edit your post and wrap your code with
<YOUR CODE HERE> to get highlighting