Compiling error with Uno

The "PRAGMA" message can be ignored.
The other errors are actually in your code.
They do suggest a library error.
More likely you are compiling a code for the wrong library.