CHERTS / esp32-devkit

Unofficial Development Kit for Espressif ESP32
http://www.programs74.ru
GNU General Public License v3.0
35 stars 11 forks source link

Compilation issue with SDK3.0 #1

Closed workaholic2002x closed 5 years ago

workaholic2002x commented 8 years ago

following errors are coming with SDK3.0

09:13:32 \ Build of configuration Default for project esp32_hello_world ** mingw32-make.exe -f C:/Espressif/examples/ESP32/esp32_hello_world/Makefile all CC user/user_main.c AR build/eagle_app.a LD build/eagle.out c:/Espressif/ESP32_RTOS_SDK/lib\libmain.a(app_main.o): In function user_uart_wait_tx_fifo_empty': (.irom0.text+0x2ac): undefined reference totcpip_dep_init' c:/Espressif/ESP32_RTOS_SDK/lib\libmain.a(app_main.o): In function user_init_task': (.irom0.text+0x33a): undefined reference totcpip_dep_init' c:/Espressif/ESP32_RTOS_SDK/lib\libmain.a(system_api.o): In function wifi_param_save_protect_with_check': (.irom0.text+0x5e0): undefined reference totcpip_dep_get_interface' c:/Espressif/ESP32_RTOS_SDK/lib\libmain.a(system_api.o): In function wifi_param_save_protect_with_check': (.irom0.text+0x5e9): undefined reference totcpip_dep_get_interface' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_api.o): In function wifi_set_phy_mode': (.irom0.text+0x1250): undefined reference totcpip_dep_get_ip_info' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_api.o): In function wifi_set_phy_mode': (.irom0.text+0x1266): undefined reference totcpip_dep_get_ip_info' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_api.o): In function wifi_set_phy': (.irom0.text+0x12c4): undefined reference totcpip_dep_set_ip_info' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_api.o): In function wifi_get_phy': (.irom0.text+0x1313): undefined reference totcpip_dep_set_ip_info' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_hostap.o): In function ieee80211_hostap_send_beacon_process': (.irom0.text+0x4bc): undefined reference totcpip_dep_input' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_hostap.o): In function ieee80211_hostap_send_beacon_process': (.irom0.text+0x4db): undefined reference totcpip_dep_input' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_hostap.o): In function ap_rx_cb': (.irom0.text+0x1228): undefined reference totcpip_dep_set_mode' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_hostap.o): In function ap_rx_cb': (.irom0.text+0x122c): undefined reference totcpip_dep_start' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_hostap.o): In function ap_rx_cb': (.irom0.text+0x12c1): undefined reference totcpip_dep_set_mode' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_hostap.o): In function ap_rx_cb': (.irom0.text+0x12dc): undefined reference totcpip_dep_start' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_hostap.o): In function ap_rx_cb': (.irom0.text+0x1340): undefined reference totcpip_dep_stop' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_hostap.o): In function ap_rx_cb': (.irom0.text+0x13b8): undefined reference totcpip_dep_stop' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_input.o): In function ieee80211_deliver_data': (.irom0.text+0x1b): undefined reference totcpip_dep_input' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function wifi_set_regdomain_process': (.irom0.text+0x99a): undefined reference totcpip_dep_stop' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function ieee80211_sta_disconnect': (.irom0.text+0xb04): undefined reference totcpip_dep_set_mac' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function wifi_sta_disconnect_process': (.irom0.text+0xb85): undefined reference totcpip_dep_set_mac' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function ieee80211_sta_scan': (.irom0.text+0xbbb): undefined reference totcpip_dep_set_mac' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function wifi_sta_ap_change_process': (.irom0.text+0xc88): undefined reference totcpip_dep_up' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function wifi_sta_ap_change_process': (.irom0.text+0xc8c): undefined reference totcpip_dep_dhcpc_start' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function wifi_sta_ap_change_process': (.irom0.text+0xcc1): undefined reference totcpip_dep_up' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function wifi_sta_ap_change_process': (.irom0.text+0xcc7): undefined reference totcpip_dep_dhcpc_start' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function wifi_sta_ap_change_process': (.irom0.text+0xcdc): undefined reference totcpip_dep_dhcpc_stop' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function wifi_sta_ap_change_process': (.irom0.text+0xcfe): undefined reference totcpip_dep_dhcpc_stop' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function wifi_sta_set_dhcpc_start_process': (.irom0.text+0xf80): undefined reference totcpip_dep_get_mac' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function wifi_sta_set_dhcpc_start_process': (.irom0.text+0xf90): undefined reference totcpip_dep_get_mac' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function wifi_sta_set_dhcpc_stop_process': (.irom0.text+0x1010): undefined reference totcpip_dep_dhcps_start' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function wifi_sta_set_dhcpc_stop_process': (.irom0.text+0x103a): undefined reference totcpip_dep_dhcps_start' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function wifi_sta_set_dhcpc_stop_process': (.irom0.text+0x1050): undefined reference totcpip_dep_dhcps_stop' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_ioctl.o): In function wifi_sta_set_dhcpc_stop_process': (.irom0.text+0x1071): undefined reference totcpip_dep_dhcps_stop' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_sta.o): In function ieee80211_parse_wmeparams': (.irom0.text+0x1022): undefined reference totcpip_dep_start' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(ieee80211_sta.o): In function ieee80211_parse_wmeparams': (.irom0.text+0x107a): undefined reference totcpip_dep_set_mode' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(wl_cnx.o): In function cnx_remove_rc': (.irom0.text+0xf24): undefined reference totcpip_dep_down' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(wl_cnx.o): In function cnx_rc_update_rssi': (.irom0.text+0xf39): undefined reference totcpip_dep_down' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(wl_cnx.o): In function cnx_node_leave': (.irom0.text+0x1a87): undefined reference totcpip_dep_up' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(wl_cnx.o): In function cnx_node_leave': (.irom0.text+0x1a8d): undefined reference totcpip_dep_dhcpc_start' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(wl_cnx.o): In function wifi_softap_toomany_deny': (.irom0.text+0x1aef): undefined reference totcpip_dep_up' c:/Espressif/ESP32_RTOS_SDK/lib\libnet80211.a(wl_cnx.o): In function wifi_softap_toomany_deny': (.irom0.text+0x1afa): undefined reference totcpip_dep_set_ip_info' c:/Espressif/ESP32_RTOS_SDK/lib\libphy.a(phy_chip_v7.o): In function bb_init': phy_chip_v7.c:(.text+0x11e4): undefined reference tophy_get_romfuncs' phy_chip_v7.c:(.text+0x11fa): undefined reference to phy_get_romfuncs' c:/Espressif/ESP32_RTOS_SDK/lib\librtc.a(rtc_analog.o):(.text+0xf): undefined reference tophy_get_romfuncs' c:/Espressif/ESP32_RTOS_SDK/lib\liblwip.a(dhcpserver.o):(.text.add_offer_options+0x9a): undefined reference to tcpip_dep_get_ip_info' c:/Espressif/ESP32_RTOS_SDK/lib\liblwip.a(dhcpserver.o): In functionwifi_softap_set_dhcps_lease': (.text.wifi_softap_set_dhcps_lease+0x27): undefined reference to `tcpip_dep_get_ip_info' collect2.exe: error: ld returned 1 exit status C:/Espressif/examples/ESP32/esp32_hello_world/Makefile:156: recipe for target 'build/eagle.out' failed mingw32-make.exe: *\ [build/eagle.out] Error 1

09:13:39 Build Finished (took 6s.968ms)

workaholic2002x commented 8 years ago

OK. Found the issue in . We need to update the makefile too. I needed to add other files to LIBS