Hard to say, it looks like it it is generating a few warnings, but the error is
Code:
Error [500] ; 0. undefined symbols: _getche(sirial.obj) __scanf_buf_(sirial.obj)
which is presumably during linking. Unfortunately I'm not familiar with the PIC linker+compiler, but
the documentation (or google on that error) should help, or maybe someone else recognises this error.
Also, the
Code:
Omniscient Code Generation not available in Lite mode
is a bit worrying, but again I'm not familiar with it, so maybe it is ok.