I tried earlier but I'm not sure what SDK_EXTRA_INCLUDES is for, that directory esp_iot_sdk_novm_unpacked isn't in esp-open-sdk.
I'm not sure if that's the cause, but it complains about missing symbols when linking, so it looks like a library thing.
This is the error I get:
CC user/stdout.c
CC user/io.c
CC user/cgi.c
CC user/httpdespfs.c
CC user/user_main.c
CC user/espfs.c
CC user/cgiwifi.c
CC user/heatshrink_decoder.c
CC user/httpd.c
AR build/httpd_app.a
LD build/httpd.out
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x78): undefined reference to `wDev_ProcessFiq'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x80): undefined reference to `lmacInit'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x84): undefined reference to `wDev_Initialize'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x88): undefined reference to `pp_attach'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x94): undefined reference to `pm_attach'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x98): undefined reference to `wDevEnableRx'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0xd9): undefined reference to `lmacInit'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0xe2): undefined reference to `wDev_Initialize'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0xe8): undefined reference to `pp_attach'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x10b): undefined reference to `pm_attach'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x11c): undefined reference to `wDevEnableRx'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x58): undefined reference to `pm_is_open'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x5c): undefined reference to `pm_is_waked'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x60): undefined reference to `pm_post'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x6d): undefined reference to `pm_is_open'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x93): undefined reference to `pm_is_waked'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0xba): undefined reference to `pm_post'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x13c): undefined reference to `pm_is_waked'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x144): undefined reference to `pm_is_open'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x1d8): undefined reference to `pm_post'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x204): undefined reference to `ppRecycleRxPkt'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x20d): undefined reference to `ppRecycleRxPkt'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(user_interface.o): In function `system_upgrade_reboot':
(.irom0.text+0x344): undefined reference to `pm_rtc_clock_cali_proc'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(user_interface.o): In function `system_upgrade_reboot':
(.irom0.text+0x348): undefined reference to `pm_set_sleep_time'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(user_interface.o): In function `system_deep_sleep':
(.irom0.text+0x45e): undefined reference to `pm_rtc_clock_cali_proc'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libmain.a(user_interface.o): In function `system_deep_sleep':
(.irom0.text+0x466): undefined reference to `pm_set_sleep_time'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libphy.a(phy_chip_v6.o): In function `phy_bb_rx_cfg':
/proj/firmware/youcai/iot/esp_iot_JG_0711_phy2_v09_NoOS/esp_iot_JG_0711_phy2/app/phy/phy_chip_v6.c:1931: undefined reference to `uart_tx_flush'
/proj/firmware/youcai/iot/esp_iot_JG_0711_phy2_v09_NoOS/esp_iot_JG_0711_phy2/app/phy/phy_chip_v6.c:1931: undefined reference to `uart_tx_flush'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_hostap.o):(.irom0.text+0xc): undefined reference to `ppTxPkt'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_hostap.o):(.irom0.text+0xe3): undefined reference to `ppTxPkt'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_hostap.o):(.irom0.text+0x2e4): undefined reference to `ic_bss_info_update'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_hostap.o):(.irom0.text+0x2e8): undefined reference to `ppRegisterTxCallback'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_hostap.o):(.irom0.text+0x317): undefined reference to `ic_bss_info_update'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_hostap.o):(.irom0.text+0x32e): undefined reference to `ppRegisterTxCallback'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_handle_timer':
(.irom0.text+0x4b1): undefined reference to `ppRecycleRxPkt'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_input':
(.irom0.text+0xce3): undefined reference to `ppTxPkt'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_input':
(.irom0.text+0xd18): undefined reference to `ic_set_vif'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_input':
(.irom0.text+0xd4e): undefined reference to `ic_set_vif'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_input':
(.irom0.text+0xd7e): undefined reference to `ic_set_vif'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_input':
(.irom0.text+0xd90): undefined reference to `ic_bss_info_update'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_input':
(.irom0.text+0xe60): undefined reference to `ic_bss_info_update'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_input':
(.irom0.text+0xe70): undefined reference to `ic_set_vif'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_ht.o): In function `ieee80211_add_htinfo_vendor':
(.irom0.text+0x910): undefined reference to `rc_get_trc_by_index'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_ht.o): In function `ieee80211_add_htinfo_vendor':
(.irom0.text+0xa52): undefined reference to `rc_get_trc_by_index'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_input.o): In function `ieee80211_deliver_data':
(.irom0.text+0x56): undefined reference to `ppRecycleRxPkt'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o):(.irom0.text+0x8): undefined reference to `esf_buf_alloc'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o):(.irom0.text+0xc): undefined reference to `esf_buf_recycle'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_output_pbuf':
(.irom0.text+0x96): undefined reference to `esf_buf_alloc'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_output_pbuf':
(.irom0.text+0xd2): undefined reference to `esf_buf_recycle'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_output_pbuf':
(.irom0.text+0x1a5): undefined reference to `rc_get_trc_by_index'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_output_pbuf':
(.irom0.text+0x259): undefined reference to `ppTxPkt'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_mgmt_output':
(.irom0.text+0x499): undefined reference to `ppTxPkt'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_send_nulldata':
(.irom0.text+0x5d3): undefined reference to `rc_get_trc_by_index'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_send_nulldata':
(.irom0.text+0x5e2): undefined reference to `ppTxPkt'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_send_nulldata':
(.irom0.text+0x72f): undefined reference to `esf_buf_recycle'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_send_probereq':
(.irom0.text+0xb83): undefined reference to `ppTxPkt'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_send_probereq':
(.irom0.text+0xb96): undefined reference to `rc_get_trc_by_index'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_getcapinfo':
(.irom0.text+0xcb8): undefined reference to `esf_buf_recycle'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_send_mgmt':
(.irom0.text+0xe69): undefined reference to `rc_get_trc_by_index'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_alloc_proberesp':
(.irom0.text+0x149d): undefined reference to `rc_get_trc_by_index'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_alloc_proberesp':
(.irom0.text+0x14ad): undefined reference to `ppTxPkt'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_power.o): In function `ieee80211_pwrsave':
(.irom0.text+0x90): undefined reference to `esf_buf_recycle'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_power.o): In function `ieee80211_pwrsave':
(.irom0.text+0xfa): undefined reference to `ppTxPkt'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_proto.o): In function `ieee80211_proto_attach':
(.irom0.text+0x1e): undefined reference to `ppRegisterTxCallback'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_scan.o): In function `ieee80211_scan_attach':
(.irom0.text+0x90): undefined reference to `pm_scan_lock'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_scan.o): In function `ieee80211_scan_attach':
(.irom0.text+0xb9): undefined reference to `pm_is_open'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_scan.o): In function `ieee80211_scan_attach':
(.irom0.text+0xc2): undefined reference to `pm_is_waked'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_scan.o): In function `ieee80211_scan_attach':
(.irom0.text+0xcc): undefined reference to `pm_post'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_scan.o): In function `scan_start':
(.irom0.text+0x100): undefined reference to `pm_scan_lock'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_scan.o): In function `scan_start':
(.irom0.text+0x2cb): undefined reference to `ppTxPkt'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_scan.o): In function `scan_start':
(.irom0.text+0x36c): undefined reference to `wDev_SetRxPolicy'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_scan.o): In function `scan_start':
(.irom0.text+0x370): undefined reference to `pm_force_scan_unlock'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_scan.o): In function `scan_cancel':
(.irom0.text+0x3e7): undefined reference to `wDev_SetRxPolicy'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_scan.o): In function `scan_cancel':
(.irom0.text+0x3f9): undefined reference to `wDev_SetRxPolicy'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_scan.o): In function `scan_cancel':
(.irom0.text+0x430): undefined reference to `pm_is_open'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_scan.o): In function `scan_cancel':
(.irom0.text+0x438): undefined reference to `pm_force_scan_unlock'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_scan.o): In function `scan_remove_probe_ssid':
(.irom0.text+0x694): undefined reference to `ppCheckTxIdle'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_scan.o): In function `scan_remove_probe_ssid':
(.irom0.text+0x6a3): undefined reference to `ppCheckTxIdle'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_sta.o): In function `ieee80211_sta_new_state':
(.irom0.text+0x2a8): undefined reference to `ppRecycleRxPkt'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_sta.o): In function `ieee80211_parse_wmeparams':
(.irom0.text+0x8fc): undefined reference to `ic_bss_info_update'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_sta.o): In function `ieee80211_parse_wmeparams':
(.irom0.text+0xaf8): undefined reference to `ic_set_vif'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(wl_cnx.o): In function `cnx_attach':
(.irom0.text+0x3e): undefined reference to `ppRegisterTxCallback'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(wl_cnx.o): In function `cnx_sta_connect_cmd':
(.irom0.text+0x125): undefined reference to `wDev_SetRxPolicy'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(wl_cnx.o): In function `cnx_sta_connect_cmd':
(.irom0.text+0x136): undefined reference to `wDev_SetRxPolicy'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(wl_cnx.o): In function `cnx_sta_connect_cmd':
(.irom0.text+0x1bd): undefined reference to `wDev_SetRxPolicy'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(wl_cnx.o): In function `cnx_start_handoff_cb':
(.irom0.text+0x590): undefined reference to `wDev_remove_KeyEntry'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(wl_cnx.o): In function `cnx_start_handoff_cb':
(.irom0.text+0x5bc): undefined reference to `wDev_remove_KeyEntry'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(wl_cnx.o): In function `cnx_start_handoff_cb':
(.irom0.text+0x5c4): undefined reference to `wDev_remove_KeyEntry'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(wl_cnx.o): In function `cnx_start_handoff_cb':
(.irom0.text+0x5cc): undefined reference to `wDev_remove_KeyEntry'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(wl_cnx.o): In function `cnx_start_handoff_cb':
(.irom0.text+0x5d4): undefined reference to `wDev_remove_KeyEntry'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(wl_cnx.o): In function `cnx_rc_update_rssi':
(.irom0.text+0xda0): undefined reference to `ic_set_sta'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(wl_cnx.o): In function `cnx_rc_update_state_metric':
(.irom0.text+0xdcc): undefined reference to `ic_set_sta'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(wl_cnx.o): In function `cnx_update_bss':
(.irom0.text+0xe7f): undefined reference to `ic_set_sta'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(wl_cnx.o): In function `cnx_sta_leave':
(.irom0.text+0x105a): undefined reference to `ic_set_sta'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(wl_cnx.o): In function `cnx_sta_associated':
(.irom0.text+0x113c): undefined reference to `ic_set_sta'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libnet80211.a(ieee80211_ets.o): In function `ieee80211_getmgtframe':
(.irom0.text+0x31): undefined reference to `esf_buf_alloc'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libwpa.a(wpa_auth.o):(.irom0.text+0xc): undefined reference to `ic_remove_key'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libwpa.a(wpa_auth.o):(.irom0.text+0x10): undefined reference to `ic_set_key'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libwpa.a(wpa_auth.o):(.irom0.text+0x74): undefined reference to `ic_remove_key'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libwpa.a(wpa_auth.o):(.irom0.text+0xd6): undefined reference to `ic_set_key'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libwpa.a(wpa_main.o):(.irom0.text+0x1f): undefined reference to `ic_set_key'
/home/liam/esp-open-sdk/esp_iot_sdk_v0.9.2//lib/libwpa.a(wpa_main.o): In function `eagle_auth_done':
(.irom0.text+0x2a6): undefined reference to `ppRegisterTxCallback'
collect2: error: ld returned 1 exit status
Makefile:123: recipe for target 'build/httpd.out' failed
make: *** [build/httpd.out] Error 1