- Tue Nov 25, 2014 5:41 am
#3286
Dear friends problem is solved.!
as I mentioned, my problem was not with XTENSA_TOOLS_ROOT,
because i was able to compile all other apps to their binaries without any problem.
For this I was not using crosstool.NG earlier.
My problem was only with image webpages.espfs generation not working.
Now i followed step by step guide at
https://github.com/esp8266/esp8266-wiki/wiki/ToolchainAnd it worked. webpages.espfs is now generating.
But eshttpd make is still giving error. I dnt know why.
For time being I'm using windows Cygwin to compile binaries.
[EDIT]
webpages.espfs Image generation do work in Cygwin32/64 now
as mentioned by lethe martinayotte and CheapB gcc was not installed in my cygwin32
I'm doing eshttpd make in lubuntu with crosstool.NG and now error I get is:
Code: Select allesp8266@esp8266-VirtualBox:/opt/Espressif/esphttpd$ make
CC user/cgi.c
CC user/cgiwifi.c
CC user/espfs.c
CC user/heatshrink_decoder.c
CC user/httpd.c
CC user/httpdespfs.c
CC user/io.c
CC user/stdout.c
CC user/user_main.c
AR build/httpd_app.a
LD build/httpd.out
/opt/Espressif/ESP8266_SDK/lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x7c): undefined reference to `wDev_ProcessFiq'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x84): undefined reference to `lmacInit'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x88): undefined reference to `wDev_Initialize'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x8c): undefined reference to `pp_attach'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x98): undefined reference to `pm_attach'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x9c): undefined reference to `wDevEnableRx'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0xe3): undefined reference to `lmacInit'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0xec): undefined reference to `wDev_Initialize'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0xf2): undefined reference to `pp_attach'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x115): undefined reference to `pm_attach'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(app_main.o): In function `read_macaddr_from_otp':
(.irom0.text+0x126): undefined reference to `wDevEnableRx'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x58): undefined reference to `pm_is_open'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x5c): undefined reference to `pm_is_waked'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x60): undefined reference to `pm_post'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x6d): undefined reference to `pm_is_open'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x93): undefined reference to `pm_is_waked'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0xba): undefined reference to `pm_post'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x13c): undefined reference to `pm_is_waked'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x144): undefined reference to `pm_is_open'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x1d8): undefined reference to `pm_post'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x204): undefined reference to `ppRecycleRxPkt'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `os_printf':
(.irom0.text+0x20d): undefined reference to `ppRecycleRxPkt'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `system_upgrade_reboot':
(.irom0.text+0x390): undefined reference to `pm_rtc_clock_cali_proc'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `system_upgrade_reboot':
(.irom0.text+0x394): undefined reference to `pm_set_sleep_time'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `system_deep_sleep':
(.irom0.text+0x4aa): undefined reference to `pm_rtc_clock_cali_proc'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `system_deep_sleep':
(.irom0.text+0x4b2): undefined reference to `pm_set_sleep_time'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `system_print_meminfo':
(.irom0.text+0x6ad): undefined reference to `pm_rtc_clock_cali_proc'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `wifi_softap_set_config':
(.irom0.text+0x14f0): undefined reference to `pm_set_sleep_type_from_upper'
/opt/Espressif/ESP8266_SDK/lib/libmain.a(user_interface.o): In function `wifi_softap_set_config':
(.irom0.text+0x1501): undefined reference to `pm_set_sleep_type_from_upper'
/opt/Espressif/ESP8266_SDK/lib/libphy.a(phy_chip_v6.o): In function `chip_v6_rxmax_ext':
(.irom0.text+0x2424): undefined reference to `uart_tx_flush'
/opt/Espressif/ESP8266_SDK/lib/libphy.a(phy_chip_v6.o): In function `chip_v6_rxmax_ext':
(.irom0.text+0x242d): undefined reference to `uart_tx_flush'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_hostap.o):(.irom0.text+0x10): undefined reference to `ppTxPkt'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_hostap.o):(.irom0.text+0xea): undefined reference to `ppTxPkt'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_hostap.o):(.irom0.text+0x330): undefined reference to `ic_bss_info_update'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_hostap.o):(.irom0.text+0x334): undefined reference to `ppRegisterTxCallback'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_hostap.o):(.irom0.text+0x363): undefined reference to `ic_bss_info_update'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_hostap.o):(.irom0.text+0x37a): undefined reference to `ppRegisterTxCallback'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_handle_timer':
(.irom0.text+0x509): undefined reference to `ppRecycleRxPkt'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_input':
(.irom0.text+0xd3b): undefined reference to `ppTxPkt'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_input':
(.irom0.text+0xd70): undefined reference to `ic_set_vif'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_input':
(.irom0.text+0xdd3): undefined reference to `ic_set_vif'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_input':
(.irom0.text+0xe68): undefined reference to `esf_buf_recycle'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_input':
(.irom0.text+0xf00): undefined reference to `ic_bss_info_update'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_input':
(.irom0.text+0xf10): undefined reference to `ic_set_vif'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_hostap.o): In function `hostap_input':
(.irom0.text+0xf23): undefined reference to `esf_buf_recycle'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_ht.o): In function `ieee80211_add_htinfo_vendor':
(.irom0.text+0x90c): undefined reference to `rc_get_trc_by_index'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_ht.o): In function `ieee80211_add_htinfo_vendor':
(.irom0.text+0xa4e): undefined reference to `rc_get_trc_by_index'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_input.o): In function `ieee80211_deliver_data':
(.irom0.text+0x56): undefined reference to `ppRecycleRxPkt'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_output.o):(.irom0.text+0x8): undefined reference to `esf_buf_alloc'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_output_pbuf':
(.irom0.text+0x92): undefined reference to `esf_buf_alloc'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_output_pbuf':
(.irom0.text+0xce): undefined reference to `esf_buf_recycle'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_output_pbuf':
(.irom0.text+0x1a1): undefined reference to `rc_get_trc_by_index'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_output_pbuf':
(.irom0.text+0x255): undefined reference to `ppTxPkt'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_mgmt_output':
(.irom0.text+0x495): undefined reference to `ppTxPkt'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_send_nulldata':
(.irom0.text+0x5cf): undefined reference to `rc_get_trc_by_index'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_send_nulldata':
(.irom0.text+0x5de): undefined reference to `ppTxPkt'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_send_nulldata':
(.irom0.text+0x72b): undefined reference to `esf_buf_recycle'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_send_probereq':
(.irom0.text+0xb7f): undefined reference to `ppTxPkt'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_send_probereq':
(.irom0.text+0xb92): undefined reference to `rc_get_trc_by_index'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_getcapinfo':
(.irom0.text+0xcb4): undefined reference to `esf_buf_recycle'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_send_mgmt':
(.irom0.text+0xe65): undefined reference to `rc_get_trc_by_index'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_alloc_proberesp':
(.irom0.text+0x1499): undefined reference to `rc_get_trc_by_index'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_output.o): In function `ieee80211_alloc_proberesp':
(.irom0.text+0x14a9): undefined reference to `ppTxPkt'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_power.o): In function `ieee80211_pwrsave':
(.irom0.text+0x90): undefined reference to `esf_buf_recycle'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_power.o): In function `ieee80211_pwrsave':
(.irom0.text+0xfa): undefined reference to `ppTxPkt'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_proto.o): In function `ieee80211_proto_attach':
(.irom0.text+0x1e): undefined reference to `ppRegisterTxCallback'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_scan.o): In function `ieee80211_scan_attach':
(.irom0.text+0x90): undefined reference to `pm_scan_lock'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_scan.o): In function `ieee80211_scan_attach':
(.irom0.text+0xb9): undefined reference to `pm_is_open'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_scan.o): In function `ieee80211_scan_attach':
(.irom0.text+0xc2): undefined reference to `pm_is_waked'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_scan.o): In function `ieee80211_scan_attach':
(.irom0.text+0xcc): undefined reference to `pm_post'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_scan.o): In function `scan_start':
(.irom0.text+0x100): undefined reference to `pm_scan_lock'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_scan.o): In function `scan_start':
(.irom0.text+0x2cb): undefined reference to `ppTxPkt'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_scan.o): In function `scan_start':
(.irom0.text+0x36c): undefined reference to `wDev_SetRxPolicy'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_scan.o): In function `scan_start':
(.irom0.text+0x370): undefined reference to `pm_force_scan_unlock'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_scan.o): In function `scan_cancel':
(.irom0.text+0x3e7): undefined reference to `wDev_SetRxPolicy'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_scan.o): In function `scan_cancel':
(.irom0.text+0x3f9): undefined reference to `wDev_SetRxPolicy'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_scan.o): In function `scan_cancel':
(.irom0.text+0x430): undefined reference to `pm_is_open'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_scan.o): In function `scan_cancel':
(.irom0.text+0x438): undefined reference to `pm_force_scan_unlock'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_scan.o): In function `scan_remove_probe_ssid':
(.irom0.text+0x69c): undefined reference to `ppCheckTxIdle'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_scan.o): In function `scan_remove_probe_ssid':
(.irom0.text+0x6ab): undefined reference to `ppCheckTxIdle'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_sta.o): In function `ieee80211_sta_new_state':
(.irom0.text+0x2a8): undefined reference to `ppRecycleRxPkt'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_sta.o): In function `ieee80211_parse_wmeparams':
(.irom0.text+0x8fc): undefined reference to `ic_bss_info_update'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_sta.o): In function `ieee80211_parse_wmeparams':
(.irom0.text+0xb0f): undefined reference to `ic_set_vif'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(wl_cnx.o): In function `cnx_attach':
(.irom0.text+0x3e): undefined reference to `ppRegisterTxCallback'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(wl_cnx.o): In function `cnx_sta_connect_cmd':
(.irom0.text+0x125): undefined reference to `wDev_SetRxPolicy'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(wl_cnx.o): In function `cnx_sta_connect_cmd':
(.irom0.text+0x136): undefined reference to `wDev_SetRxPolicy'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(wl_cnx.o): In function `cnx_sta_connect_cmd':
(.irom0.text+0x1c5): undefined reference to `wDev_SetRxPolicy'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(wl_cnx.o): In function `cnx_start_handoff_cb':
(.irom0.text+0x5b0): undefined reference to `wDev_remove_KeyEntry'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(wl_cnx.o): In function `cnx_start_handoff_cb':
(.irom0.text+0x5dc): undefined reference to `wDev_remove_KeyEntry'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(wl_cnx.o): In function `cnx_start_handoff_cb':
(.irom0.text+0x5e4): undefined reference to `wDev_remove_KeyEntry'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(wl_cnx.o): In function `cnx_start_handoff_cb':
(.irom0.text+0x5ec): undefined reference to `wDev_remove_KeyEntry'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(wl_cnx.o): In function `cnx_start_handoff_cb':
(.irom0.text+0x5f4): undefined reference to `wDev_remove_KeyEntry'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(wl_cnx.o): In function `cnx_rc_update_rssi':
(.irom0.text+0xdc4): undefined reference to `ic_set_sta'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(wl_cnx.o): In function `cnx_rc_update_state_metric':
(.irom0.text+0xdf2): undefined reference to `ic_set_sta'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(wl_cnx.o): In function `cnx_update_bss':
(.irom0.text+0xeb3): undefined reference to `ic_set_sta'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(wl_cnx.o): In function `cnx_sta_leave':
(.irom0.text+0x1097): undefined reference to `ic_set_sta'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(wl_cnx.o): In function `cnx_sta_associated':
(.irom0.text+0x1186): undefined reference to `ic_set_sta'
/opt/Espressif/ESP8266_SDK/lib/libnet80211.a(ieee80211_ets.o): In function `ieee80211_getmgtframe':
(.irom0.text+0x31): undefined reference to `esf_buf_alloc'
/opt/Espressif/ESP8266_SDK/lib/libwpa.a(wpa_auth.o):(.irom0.text+0xc): undefined reference to `ic_remove_key'
/opt/Espressif/ESP8266_SDK/lib/libwpa.a(wpa_auth.o):(.irom0.text+0x10): undefined reference to `ic_set_key'
/opt/Espressif/ESP8266_SDK/lib/libwpa.a(wpa_auth.o):(.irom0.text+0x74): undefined reference to `ic_remove_key'
/opt/Espressif/ESP8266_SDK/lib/libwpa.a(wpa_auth.o):(.irom0.text+0xd6): undefined reference to `ic_set_key'
/opt/Espressif/ESP8266_SDK/lib/libwpa.a(wpa_main.o):(.irom0.text+0x1f): undefined reference to `ic_set_key'
/opt/Espressif/ESP8266_SDK/lib/libwpa.a(wpa_main.o): In function `eagle_auth_done':
(.irom0.text+0x2ae): undefined reference to `ppRegisterTxCallback'
collect2: error: ld returned 1 exit status
make: *** [build/httpd.out] Error 1
Please see if you can have a look!