I am no programmer, so sorry if I misunderstood things.
<font face="Arial, Verdana">I installed the AdditionalArduinoFiles as per instructions, but the Arduino compiler complains about an "undefined reference to `g_pinStatus'" for several of the standard files (wiring_analog.c etc.)</font>
I checked the original (1.6.7) variant.cpp file, it has an extra definition:
<font face="Arial, Verdana"> uint8_t g_pinStatus[PINS_COUNT] = {0};</font>
<font face="Arial, Verdana">
</font>
<font face="Arial, Verdana">When I add this to the "variant.cpp" file in the </font>arduino_due_repetier folder, it does compile.
I hope this helps.