Discuss here different C compiler set ups, and compiling executables for the ESP8266

User avatar
By pvvx
#9831
kadamski wrote:Thanks for the info, I have to take a look at 0.9.6. And by the way, it would be great if Espressif provided SDK_VERSION define... but they don't.

40240497: 0000c0 callx0 a0 ets_timer_init()
4024049a: 057b45 call0 40245c50 <lwip_init>
4024049d: 0aaa45 call0 4024af44 <espconn_init>
User avatar
By hackrid
#10377 hi!

thank you for bringing us lwip from sources!
I wanted to have my ESPs showing up with a host name in the DHCP-Lease list on my WiFi router so I added liblwip.a generated with
Code: Select allmake USE_OUR_LWIP_IF=1
.

In my router there is a name shown, but not as expected. It is displayed as "---?(".
Do you have an idea what i did wrong?

best regards
User avatar
By minoas
#12872 Using SDK 1.0.0 built using pfalcon's toolkit I have successfully build the module and used
xtensa-lx106-elf-ar rs libmain.a eagle_lwip_if.o to update the object contained in the library compilation failed with this message

Code: Select all/opt/esp-open-sdk/sdk/lib/libmain.a(app_main.o): In function `wdt_init':
(.irom0.text+0x36c): undefined reference to `espconn_init'
/opt/esp-open-sdk/sdk/lib/libmain.a(app_main.o): In function `wdt_init':
(.irom0.text+0x413): undefined reference to `espconn_init'
collect2: error: ld returned 1 exit status


I suspect the issue is described by pvvx above but I am not quite sure what to do to fix it.

Also I would like to ask if this lirbary will allow the esp to have a custom hostname picked by user_config when defining it as LWIP_NETIF_HOSTNAME_PREFIX?