sketch_mar11a:6: error: no matching function for call to 'Server::Server(int)'
As of Arduino 1.0, the Server class in the Ethernet library has been renamed to EthernetServer.
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Server.h:4: note: candidates are: Server::Server()
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Server.h:4: note: Server::Server(const Server&)
sketch_mar11a:6: error: cannot declare variable 'server' to be of abstract type 'Server'
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Server.h:4: note: because the following virtual functions are pure within 'Server':
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Print.h:48: note: virtual size_t Print::write(uint8_t)
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Server.h:6: note: virtual void Server::begin()
sketch_mar11a.cpp: In function 'void loop()':
sketch_mar11a:29: error: 'class Server' has no member named 'available'
sketch_mar11a:29: error: cannot declare variable 'client' to be of abstract type 'Client'
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Client.h:7: note: because the following virtual functions are pure within 'Client':
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Client.h:12: note: virtual size_t Client::write(uint8_t)
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Client.h:13: note: virtual size_t Client::write(const uint8_t*, size_t)
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Client.h:14: note: virtual int Client::available()
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Client.h:15: note: virtual int Client::read()
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Client.h:17: note: virtual int Client:
eek()
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Client.h:18: note: virtual void Client::flush()
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Client.h:10: note: virtual int Client::connect(IPAddress, uint16_t)
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Client.h:11: note: virtual int Client::connect(const char*, uint16_t)
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Client.h:16: note: virtual int Client::read(uint8_t*, size_t)
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Client.h:19: note: virtual void Client::stop()
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Client.h:20: note: virtual uint8_t Client::connected()
D:\Programming\Programme\arduino-1.0-windows\arduino-1.0\hardware\arduino\cores\arduino/Client.h:21: note: virtual Client:
perator bool()
Lesezeichen