A syntax error means that typed something in your code wrong, forgot a semicolon, mistyped a variable, etc.
in MPLAB where it says syntax error
Code:
user_routines_fast.c:27:Error: syntax error
The number 27 after the file matches the line that the error is on.
Can you compile the default code?