Have you got all the libraries imported?
5.1 and 9.19 mean that they haven't been defined or the libraries not imported or that you are compiling for the wrong device.