Arduini IDE for ESP8266

Hello, Iḿ using the 1.6.5 IDE with the ESP8266 add-on ( esp8266com)

When I compile the following example for a UNO board there is no problem.

But when I compile it for the ESP8266 board I got tons of errors around the SPI.h calls.

I understand that the ESP8266 does have anything to do with the SPI lib.

But how do I overcome this problem?

When I leave out the # include <SPI.h> I got errors about missing links.

Please advice.

Regards, Wim

paysan:
When I compile the following example for a UNO board there is no problem.

http://www.arduino.cc/en/Reference/EthernetUDPWrite

But when I compile it for the ESP8266 board I got tons of errors around the SPI.h calls.

I understand that the ESP8266 does have anything to do with the SPI lib.

But how do I overcome this problem?

The Arduino "Ethernet library" supports the Wiznet W5100 chip only.
It does NOT support any other Ethernet chip, but only the Wiznet W5100.

The Arduino "SPI library" supports the SPI interface on Arduino boards only.
It does NOT support SPI interfaces on any other device, but only SPI on Atmega-Controllers