NativeEthernet support for Teensy 4.1
graham999au opened this issue · 7 comments
Describe the bug
I am getting compiler errors when using the library with NativeEthernet.h and NativeEthernetUdp.h.
NativeEthernet is the library for the add-on ethernet connection for Teensy 4.1 boards.
Steps to Reproduce
#include <NativeEthernet.h>
#include <NativeEthernetUdp.h>
#include <MySQL_Generic_Ethernet.h>
Expected behavior
I would like to use this library to connect to MySQL.
Actual behavior
Compiler errors
Debug and AT-command log (if applicable)
Screenshots
If applicable, add screenshots to help explain your problem.
Information
Please ensure to specify the following:
- Arduino IDE version (e.g. 1.8.13) or Platform.io version
Teensyduino
Teensy 4.1 wth SPI ethernet
Example
Context:
Additional context
Arduino: 1.8.15 (Mac OS X), TD: 1.54, Board: "Teensy 4.1, Serial, 600 MHz, Faster, US English"
In file included from /Users/grahamalston/Documents/Arduino/Flex-Mediator-Teensy-V0.5/Flex-Mediator-Teensy-V0.5.ino:19:0:
/Users/grahamalston/Documents/Arduino/libraries/MySQL_MariaDB_Generic/src/MySQL_Generic_Ethernet.h:81:4: warning: #warning Using Ethernet lib [-Wcpp]
#warning Using Ethernet lib
^
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Dns.cpp.o: In function `DNSClient::begin(IPAddress const&)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Dns.cpp:48: multiple definition of `DNSClient::begin(IPAddress const&)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeDns.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeDns.cpp:10: first defined here
/Applications/Teensyduino.app/Contents/Java/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: Disabling relaxation: it will not work with multiple definitions
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Dns.cpp.o: In function `DNSClient::begin(IPAddress const&)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Dns.cpp:48: multiple definition of `DNSClient::inet_aton(char const*, IPAddress&)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeDns.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeDns.cpp:28: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Dns.cpp.o: In function `DNSClient::begin(IPAddress const&)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Dns.cpp:48: multiple definition of `DNSClient::getHostByName(char const*, IPAddress&, unsigned short)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeDns.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeDns.cpp:28: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `EthernetClass::begin(unsigned char*, unsigned long, unsigned long)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:30: multiple definition of `EthernetClass::begin(unsigned char*, unsigned long, unsigned long)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:64: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::begin(unsigned char*, IPAddress, IPAddress, IPAddress)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::begin(unsigned char*, IPAddress, IPAddress)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::begin(unsigned char*, IPAddress)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::begin(unsigned char*, IPAddress, IPAddress, IPAddress, IPAddress)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::init(unsigned char)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::linkStatus()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::hardwareStatus()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::maintain()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::MACAddress(unsigned char*)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::localIP()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::subnetMask()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::gatewayIP()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::setMACAddress(unsigned char const*)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::setLocalIP(IPAddress)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::setSubnetMask(IPAddress)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::setGatewayIP(IPAddress)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::setRetransmissionTimeout(unsigned short)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::setRetransmissionCount(unsigned char)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `Ethernet'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/Ethernet.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.cpp:81: multiple definition of `EthernetClass::_dnsServerAddress'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernet.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.cpp:389: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:237: multiple definition of `EthernetClient::write(unsigned char)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetClient.cpp:181: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:237: multiple definition of `EthernetClient::operator==(EthernetClient const&)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:261: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:237: multiple definition of `EthernetClient::connected()'
Multiple libraries were found for "Ethernet.h"
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:261: first defined here
Used: /Users/grahamalston/Documents/Arduino/libraries/Ethernet
Not used: /Applications/Teensyduino.app/Contents/Java/libraries/Ethernet
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o: In function `Print::flush()':
Not used: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/Ethernet
Multiple libraries were found for "NativeEthernet.h"/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:237: multiple definition of `EthernetClient::connect(char const*, unsigned short)'
Used: /Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet
Not used: /Users/grahamalston/Documents/Arduino/libraries/NativeEthernet-master
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:261: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:237: multiple definition of `EthernetClient::availableForWrite()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:261: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:237: multiple definition of `EthernetClient::flush()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:261: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:237: multiple definition of `EthernetClient::write(unsigned char const*, unsigned int)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:261: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:237: multiple definition of `EthernetClient::available()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:261: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:237: multiple definition of `EthernetClient::read(unsigned char*, unsigned int)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:261: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:237: multiple definition of `EthernetClient::read()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:261: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:237: multiple definition of `EthernetClient::peek()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:261: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:237: multiple definition of `EthernetClient::connect(IPAddress, unsigned short)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:261: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:237: multiple definition of `EthernetClient::stop()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:261: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:237: multiple definition of `EthernetClient::status()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:261: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/Ethernet.h:237: multiple definition of `vtable for EthernetClient'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:261: first defined here
/Applications/Teensyduino.app/Contents/Java/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: Warning: size of symbol `_ZTV14EthernetClient' changed from 112 in /var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetClient.cpp.o to 92 in /var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetClient.cpp.o
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetServer.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/EthernetServer.cpp:157: multiple definition of `EthernetServer::write(unsigned char)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:190: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetServer.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/EthernetServer.cpp:157: multiple definition of `EthernetServer::begin()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:190: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetServer.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/EthernetServer.cpp:157: multiple definition of `EthernetServer::operator bool()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:190: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetServer.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/EthernetServer.cpp:157: multiple definition of `EthernetServer::available()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:190: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetServer.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/EthernetServer.cpp:157: multiple definition of `EthernetServer::write(unsigned char const*, unsigned int)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:190: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetServer.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/EthernetServer.cpp:157: multiple definition of `EthernetServer::accept()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:190: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetServer.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/EthernetServer.cpp:157: multiple definition of `vtable for EthernetServer'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:190: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetServer.cpp.o: In function `Print::flush()':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/EthernetServer.cpp:157: multiple definition of `EthernetServer::server_port'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetServer.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetServer.cpp:190: first defined here
/Applications/Teensyduino.app/Contents/Java/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: Warning: size of symbol `_ZN14EthernetServer11server_portE' changed from 4 in /var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetServer.cpp.o to 16 in /var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetServer.cpp.o
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o: In function `Print::flush()':
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::available()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernetUdp.cpp:58: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o: In function `Print::flush()':
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::write(unsigned char)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:233: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o: In function `Print::flush()':
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::flush()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:233: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o: In function `Print::flush()':
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::stop()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:233: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o: In function `Print::flush()':
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::begin(unsigned short)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:233: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o: In function `Print::flush()':
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::beginPacket(char const*, unsigned short)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:233: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o: In function `Print::flush()':
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::beginPacket(IPAddress, unsigned short)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:233: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o: In function `Print::flush()':
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::endPacket()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:233: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o: In function `Print::flush()':
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::write(unsigned char const*, unsigned int)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:233: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o: In function `Print::flush()':
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::read()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:233: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o: In function `Print::flush()':
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::read(unsigned char*, unsigned int)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:233: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o: In function `Print::flush()':
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::peek()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:233: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o: In function `Print::flush()':
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::beginMulticast(IPAddress, unsigned short)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:233: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o: In function `Print::flush()':
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `EthernetUDP::parsePacket()'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:233: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o: In function `Print::flush()':
/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/cores/teensy4/IPAddress.h:34: multiple definition of `vtable for EthernetUDP'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/NativeEthernet.h:233: first defined here
/Applications/Teensyduino.app/Contents/Java/hardware/tools/arm/bin/../lib/gcc/arm-none-eabi/5.4.1/../../../../arm-none-eabi/bin/ld: Warning: size of symbol `_ZTV11EthernetUDP' changed from 88 in /var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/NativeEthernetUdp.cpp.o to 84 in /var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/EthernetUdp.cpp.o
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/socket.cpp.o: In function `EthernetClass::socketPortRand(unsigned short)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/socket.cpp:59: multiple definition of `EthernetClass::socketPortRand(unsigned short)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/Nativesocket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/socket.cpp.o: In function `EthernetClass::socketBegin(unsigned char, unsigned short)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/socket.cpp:399: multiple definition of `EthernetClass::socketBegin(unsigned char, unsigned short)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/Nativesocket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/socket.cpp.o: In function `EthernetClass::socketBegin(unsigned char, unsigned short)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/socket.cpp:399: multiple definition of `EthernetClass::socketBeginMulticast(unsigned char, IPAddress, unsigned short)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/Nativesocket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/socket.cpp.o: In function `EthernetClass::socketBegin(unsigned char, unsigned short)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/socket.cpp:399: multiple definition of `EthernetClass::socketStatus(unsigned char)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/Nativesocket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/socket.cpp.o: In function `EthernetClass::socketBegin(unsigned char, unsigned short)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/socket.cpp:399: multiple definition of `EthernetClass::socketClose(unsigned char)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/Nativesocket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/socket.cpp.o: In function `EthernetClass::socketBegin(unsigned char, unsigned short)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/socket.cpp:399: multiple definition of `EthernetClass::socketListen(unsigned char)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/Nativesocket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/socket.cpp.o: In function `EthernetClass::socketBegin(unsigned char, unsigned short)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/socket.cpp:399: multiple definition of `EthernetClass::socketConnect(unsigned char, unsigned char*, unsigned short)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/Nativesocket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/socket.cpp.o: In function `EthernetClass::socketBegin(unsigned char, unsigned short)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/socket.cpp:399: multiple definition of `EthernetClass::socketDisconnect(unsigned char)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/Nativesocket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/socket.cpp.o: In function `EthernetClass::socketBegin(unsigned char, unsigned short)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/socket.cpp:399: multiple definition of `EthernetClass::socketRecv(unsigned char, unsigned char*, short)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/Nativesocket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/socket.cpp.o: In function `EthernetClass::socketBegin(unsigned char, unsigned short)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/socket.cpp:399: multiple definition of `EthernetClass::socketRecvAvailable(unsigned char)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/Nativesocket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/socket.cpp.o: In function `EthernetClass::socketBegin(unsigned char, unsigned short)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/socket.cpp:399: multiple definition of `EthernetClass::socketPeek(unsigned char)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/Nativesocket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/socket.cpp.o: In function `EthernetClass::socketBegin(unsigned char, unsigned short)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/socket.cpp:399: multiple definition of `EthernetClass::socketSend(unsigned char, unsigned char const*, unsigned short)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/Nativesocket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/socket.cpp.o: In function `EthernetClass::socketBegin(unsigned char, unsigned short)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/socket.cpp:399: multiple definition of `EthernetClass::socketSendAvailable(unsigned char)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/Nativesocket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/socket.cpp.o: In function `EthernetClass::socketBegin(unsigned char, unsigned short)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/socket.cpp:399: multiple definition of `EthernetClass::socketBufferData(unsigned char, unsigned short, unsigned char const*, unsigned short)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/Nativesocket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: first defined here
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/Ethernet/socket.cpp.o: In function `EthernetClass::socketBegin(unsigned char, unsigned short)':
/Users/grahamalston/Documents/Arduino/libraries/Ethernet/src/socket.cpp:399: multiple definition of `EthernetClass::socketStartUDP(unsigned char, unsigned char*, unsigned short)'
/var/folders/fc/5yx1qmm15ql65bp9b6qh2nxh0000gn/T/arduino_build_933505/libraries/NativeEthernet/Nativesocket.cpp.o:/Applications/Teensyduino.app/Contents/Java/hardware/teensy/avr/libraries/NativeEthernet/src/Nativesocket.cpp:44: first defined here
collect2: error: ld returned 1 exit status
Error compiling for board Teensy 4.1.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
As you know, the Teensy 4.1 with NativeEthernet is not currently supported by this library.
I'll try to add the support in the future, certainly if time permitted.
Thanks for your interests in the library,
Regards,
I'm currently working on this enhancement and it's working now.
Will have a new release within tomorrow to support Teensy4.1 and NativeEthernet
Starting Basic_Insert on Teensy 4.1 , with NativeEthernet
MySQL_MariaDB_Generic v1.3.0
[SQL] =========================================
[SQL] Default SPI pinout:
[SQL] MOSI: 11
[SQL] MISO: 12
[SQL] SCK: 13
[SQL] SS: 10
[SQL] =========================================
[SQL] Board : Teensy 4.1 , setCsPin: 10
[SQL] =========================================
[SQL] Currently Used SPI pinout:
[SQL] MOSI: 11
[SQL] MISO: 12
[SQL] SCK: 13
[SQL] SS: 10
[SQL] =========================================
Using mac index = 10
Connected! IP address: 192.168.2.87
Connecting to SQL Server @ 192.168.2.112 , Port = 5698
User = invited-guest , PW = the-invited-guest , DB = test_arduino
Connecting...
[SQL] Connecting to Server: 192.168.2.112 , Port = 5698
[SQL] Connect OK. Try reading packets
[SQL] Try parsing packets
[SQL] Try send_authentication packets
[SQL] Writing this_buffer, size_send = 72
[SQL] Connected. Server Version = 5.5.5-10.3.29-MariaDB-0+deb10u1
INSERT INTO test_arduino.hello_arduino (message) VALUES ('Hello, Arduino!')
Data Inserted.
[SQL] Disconnected
Sleeping...
================================================
Connecting...
[SQL] Connecting to Server: 192.168.2.112 , Port = 5698
[SQL] Connect OK. Try reading packets
[SQL] Try parsing packets
[SQL] Try send_authentication packets
[SQL] Writing this_buffer, size_send = 72
[SQL] Connected. Server Version = 5.5.5-10.3.29-MariaDB-0+deb10u1
INSERT INTO test_arduino.hello_arduino (message) VALUES ('Hello, Arduino!')
Data Inserted.
[SQL] Disconnected
Sleeping...
================================================
Cheers,
That is fantastic...THANK YOU! I will test and report any issues.
Hi @graham999au
The new release MySQL_MariaDB_Generic v1.3.0 has just been published.
Your contribution, by requesting enhancement to support Teensy 4.1 NativeEthernet, has been noted in Contributions and Thanks
Also have a look at my preliminary test result Complex_Select on Teensy 4.1 with NativeEthernet
Please have more thorough tests and report any issue here.
Best Regards,
Release v1.3.0
- Add support to Teensy 4.1 using NativeEthernet
Hi @graham999au
Could you please try again using QNEthernet library ?
In case you haven't tried it, have a quick look at this very good New lwIP-based Ethernet library for Teensy 4.1 and New-and-Modified-Libraries-to-support-Teensy-4-1-QNEthernet
Major Release v1.4.0
- Add support to QNEthernet Library for Teensy 4.1 built-in Ethernet
- Fix bug in non-blocking connection
- Add new feature to permit using either server's hostname, such as
your_account.duckdns.org, or server's IPAddress, such as IPAddress(192,168,2,112) - Update examples with new features, bug-fixes, etc.
Hi,
I am not set up to test IwIP sorry, but I have installed QNEthernet and it is working. Where do you define UDP_TX_PACKET_MAX_SIZE?
I am not set up to test IwIP sorry, but I have installed QNEthernet and it is working.
Good. You don't need to install lwip separately as it's already included in QNEthernet
Where do you define UDP_TX_PACKET_MAX_SIZE?
Where and why you need that?
It's normally defined in Ethernet/WiFi library, such as
#define UDP_TX_PACKET_MAX_SIZE 24
I find it nowhere in QNEthernet. You can post an issue there and ask for support if necessary.