these variables need to be declared as "static const XXX" not "const XXX". Using "const XXX" is legal in later C++ dialects, but we currently don't require those dialects for ArduPilot. Changing to "static const" doesn't change the semantics for const variables, so you should be able to just add the static keyword without any other changes