Tried compiling the program and got the same errors. What do you want the program to do and what commands are you sending to the pic.

Sphere.