Arduino mega programing error

Did it occur to you that the code for many functions, like the "brake()" that caused that error, is actually missing from the sketch?