Im trying to compile the unified firmware for ESP8266 so I could add some new features.
However currently I receive some errors with the UIPEthernet library. This library is not mentioned in the Howto but it is used by make.lin30. I tried different versions of this library but none seems to work.
Here is what I did to compile the firmware (similar to infos in How to Compile OpenSprinkler Firmware)
- Clone OpenSprinkler Firmware (Master)
- Clone esp8266 core (version 2.4.2), version 2.5.x throws a lot of errors so I guess its not yet compatible
- install build tools with get.py script
- modify Updater.h
- install SSD1306 and RCSwitch
- install UIPEthernet
- patch esp8266/platform.txt (line 95) so it also creates linker script files (add {recipe.hooks.linking.prelink.1.pattern};)
- run make -f make.lin30
With version 2.0.7 I get the error:
UIPEthernet.cpp:102: undefined reference to
DhcpClass::beginWithDHCP(unsigned char*)’`
With older versions I get:
../esp8266/libraries//UIPEthernet/UIPEthernet.h:97:15: error: 'static void UIPEthernetClass::init(const uint8_t*)' is private
Probably I’m missing something obvious? What library should be used?