SPI.h not working in LSM6DS3

(deleted)

Those functions of the SPI library have been deprecated by Arduino, to be replaced by:

In the Arduino versions of the SPI libraries those deprecated functions are still in place for backwards compatibility but the folks at Linkit were not so kind. They decided to not bother with the deprecated functions. The SparkFunLSM6DS3 was written before the time of the deprecation and thus your error. So the best solution is to either find a more modern LSM6DS3 library that doesn't use those functions or to update the library yourself.

(deleted)