SparkFun_Ublox_Arduino_Library examples are all failing with undefined reference to `Serial'

Fist time caller long time listener.

Working on the :SparkFun_Ublox_Arduino_Library: with my shiny new Red board turbo and my u-block SAM-m8q Things are going good except I can’t seem to get any of the examples to work.

I can get the final project for “Displaying Your Coordinates with a GPS Module” to work but not the eample 3 that you should do to confirm GPS function. I know that the gps is working because Gave up and moved to the final project and also the final for “GPS Geo-Mapping at the Push of a Button” worked.

But it seems all of the examples in that library have this error

sketch\Example1_BasicNMEARead.ino.cpp.o: In function `setup':

C:\Users\think\Documents\Arduino\libraries\SparkFun_Ublox_Arduino_Library\examples\Example1_BasicNMEARead/Example1_BasicNMEARead.ino:44: undefined reference to `Serial'

collect2.exe: error: ld returned 1 exit status

I have to the best of my ability performed all of the pre steps and set up the board and added the board manager and sketch library items but I am just not educated enough yet on trouble shooting to know what is wrong with the set up or the examples that they are not working.

I started over today with a new computer and all the latest versions of the files to make sure I didn’t have older libraries or other projects causing issue. But the results were the same with reference to serial errors.

Any assistance to get the gps examples working would be appreciated. They are all on point for my learning for this project but i need to make them work to start learning from them.

Thanks

Hi JoeMama,

The SAMD has some minor quirks to work around with serial data. [This section of our Hookup Guide for the RedBoard Turbo will go into that in more detail. Essentially, you just need to modify any call for “Serial” in this or other code to which port you want to use. If you are trying to print over USB, just change any call to “Serial.print()” to “SerialUSB.print()”.

I hope this helps!](https://learn.sparkfun.com/tutorials/redboard-turbo-hookup-guide#example-serial-ports)