Newer versions of MPLAB have caused a few issues. I have built both versions of software listed above using mplab 8.33.00.00 after performing the following steps:
in serial.c add: #define UART_ALTRX_ALTTX 0xFFE7 /*Communication through ALT pins*/
newer versions of mplab dont seem to have this define in the uart.h file anymore.
the p30f4012.h and p30f4012.gld files location needed to be updated in the project. To do this, in the project file list window, they are shown as not found... I right clicked on the filename(s) and selected "Locate Missing file", they were found in the mplab installed files.
A build all, then worked with a few warnings about pointers and PSV models.
One item to watch for is that the hardware oscillator changed from a 6Mhz crystal to a packaged 14.318Mhz oscillator in several iterations of the design. Just make sure the FCY define in dspicservo.h and the _FOSC() macro in main.c reflect the hardware you are building.