Open Source lwip for esp_iot_sdk_v1.4.0 does not compile

amirgon
Posts: 1
Joined: Mon Oct 12, 2015 4:36 am

Open Source lwip for esp_iot_sdk_v1.4.0 does not compile

Postby amirgon » Mon Oct 12, 2015 4:48 am

Tried to build Open Source lwip for esp_iot_sdk_v1.4.0 according to:
http://bbs.espressif.com/viewtopic.php?f=46&t=1124#p4010

Got the following build error:

Code: Select all

dhcpserver.c: In function 'wifi_softap_init_dhcps_lease':
dhcpserver.c:846:17: error: 'struct dhcps_lease' has no member named 'enable'
  if (dhcps_lease.enable == TRUE) {
                 ^

It seems that open source lwip does not define "enable" as a field of dhcps_lease struct.

Please advice.

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: Open Source lwip for esp_iot_sdk_v1.4.0 does not compile

Postby ESP_Faye » Mon Oct 12, 2015 2:07 pm

Hi,

Sorry that we missed a header file at first.
Please unzip the user_interface.zip, and replace the \esp_iot_sdk_v1.4.0\include\user_interface.h with the new user_interface.h.
http://bbs.espressif.com/viewtopic.php?f=46&t=1221

Who is online

Users browsing this forum: No registered users and 84 guests