PDA

View Full Version : teensy ++ 2 Ethernet DHCP compile error



manitou
02-04-2014, 06:22 PM
Using 1.0.5/1.18rc2 and board teensy ++ 2, I get compile error when compiling library Examples/Ethernet/DhcpChatServer

Ethernet/Ethernet.cpp.o: In function `EthernetClass::begin(unsigned char*)':
/home/linux/arduino-1.0.5/libraries/Ethernet/Ethernet.cpp:13: undefined reference to `__cxa_guard_acquire'
/home/linux/arduino-1.0.5/libraries/Ethernet/Ethernet.cpp:13: undefined reference to `__cxa_guard_release'

Error does not occur with teensy3*, and static IP address examples compile OK.

I didn't look real hard to see if this had already been reported ....

Headroom
02-04-2014, 06:40 PM
Ther amy be a solution/patch her in THIS Thead (http://forum.pjrc.com/threads/24440-C-constructors-for-static-objects-in-functions-don-t-seem-to-be-called?p=38622&viewfull=1#post38622)

manitou
02-06-2014, 12:04 PM
fixed in 1.18rc3