From monkeyc compiler.
ERROR: ERROR:stdin:17812: Redefinition of label (code) _Users_dave_Garmin_DinghyRacer_source_AppMenu_mc_5_0
Turned out the error was the second line in this excerpt in a completely different file:
const PI = 3.14159;
const PIx2 = PI * 2.0; <<<< this caused the error.
Two points here - the error message doesn't help and the compiler should be able to resolve this at compile time.
Dave.