ESP8266_RTOS_SDK v3.0

rhalilov
Posts: 1
Joined: Wed Nov 07, 2018 4:59 am

ESP8266_RTOS_SDK v3.0

Postby rhalilov » Wed Nov 07, 2018 5:24 am

Hi guys,
Previously I've worked with esp32-idf on windows.
Now I am trying to start with ESP8266_RTOS_SDK v3.0 but unfortunately I am receiving the following when try "make menuconfig" :

make[1]: Entering directory '/c/Users/refo/esp/ESP8266_RTOS_SDK/tools/kconfig'
/c/Users/refo/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/check-lxdialog.sh -check /usr/bin/gcc -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -I/mingw32/include -I/mingw32/include/ncursesw -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -MD -L/mingw32/lib -lncursesw -lgnurx -ltre -lintl -liconv -lpsapi -lintl
/usr/bin/gcc -c -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -I/mingw32/include -I/mingw32/include/ncursesw -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -MD /c/Users/refo/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/checklist.c -o lxdialog/checklist.o
/usr/bin/gcc -c -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -I/mingw32/include -I/mingw32/include/ncursesw -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -MD /c/Users/refo/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/util.c -o lxdialog/util.o
/usr/bin/gcc -c -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -I/mingw32/include -I/mingw32/include/ncursesw -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -MD /c/Users/refo/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/inputbox.c -o lxdialog/inputbox.o
/usr/bin/gcc -c -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -I/mingw32/include -I/mingw32/include/ncursesw -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -MD /c/Users/refo/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/textbox.c -o lxdialog/textbox.o
/usr/bin/gcc -c -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -I/mingw32/include -I/mingw32/include/ncursesw -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -MD /c/Users/refo/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/yesno.c -o lxdialog/yesno.o
/usr/bin/gcc -c -D_XOPEN_SOURCE=500 -D_POSIX_C_SOURCE=199506L -I/mingw32/include -I/mingw32/include/ncursesw -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -MD /c/Users/refo/esp/ESP8266_RTOS_SDK/tools/kconfig/lxdialog/menubox.c -o lxdialog/menubox.o
/usr/bin/gcc -o mconf mconf.o zconf.tab.o lxdialog/checklist.o lxdialog/util.o lxdialog/inputbox.o lxdialog/textbox.o lxdialog/yesno.o lxdialog/menubox.o -L/mingw32/lib -lncursesw -lgnurx -ltre -lintl -liconv -lpsapi -lintl
/mingw32/lib/libncursesw.a(lib_color.o):(.text+0x2bb): undefined reference to `__mingw_vsscanf'
/mingw32/lib/libncursesw.a(lib_color.o):(.text+0x81c): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(lib_initscr.o):(.text+0x3c): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(lib_initscr.o):(.text.unlikely+0x1b): undefined reference to `__mingw_vfprintf'
/mingw32/lib/libncursesw.a(lib_newterm.o):(.text+0x3f9): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(lib_newterm.o):(.text+0x419): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(lib_newterm.o):(.text+0x43c): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(lib_newterm.o):(.text+0x478): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(lib_newterm.o):(.text+0x499): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(lib_set_term.o):(.text+0x10b): undefined reference to `__mingw_vsscanf'
/mingw32/lib/libncursesw.a(lib_set_term.o):(.text+0x524): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(lib_set_term.o):(.text+0xb96): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(lib_set_term.o):(.text+0xc78): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(lib_slk.o):(.text+0x262): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(lib_slk.o):(.text+0x458): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(lib_window.o):(.text+0x51): more undefined references to `_assert' follow
/mingw32/lib/libncursesw.a(safe_sprintf.o):(.text+0x83): undefined reference to `__mingw_vsnprintf'
/mingw32/lib/libncursesw.a(comp_error.o):(.text+0x1b): undefined reference to `__mingw_vfprintf'
/mingw32/lib/libncursesw.a(comp_error.o):(.text+0x42): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(comp_error.o):(.text+0x212): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(comp_error.o):(.text+0x2b6): undefined reference to `__mingw_vfprintf'
/mingw32/lib/libncursesw.a(comp_error.o):(.text+0x36c): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(comp_error.o):(.text+0x38d): undefined reference to `__mingw_vfprintf'
/mingw32/lib/libncursesw.a(comp_error.o):(.text+0x3cc): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(comp_error.o):(.text+0x3ed): undefined reference to `__mingw_vfprintf'
/mingw32/lib/libncursesw.a(doalloc.o):(.text+0x4a): undefined reference to `_imp___errno'
/mingw32/lib/libncursesw.a(getenv_num.o):(.text+0x1b): undefined reference to `__mingw_vsprintf'
/mingw32/lib/libncursesw.a(lib_setup.o):(.text+0x1d8): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(lib_setup.o):(.text+0x583): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(lib_setup.o):(.text+0x5b4): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(lib_setup.o):(.text+0x6b5): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(lib_setup.o):(.text+0x6e6): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(lib_setup.o):(.text.unlikely+0x1b): undefined reference to `__mingw_vfprintf'
/mingw32/lib/libncursesw.a(lib_tparm.o):(.text+0x1b): undefined reference to `__mingw_vsprintf'
/mingw32/lib/libncursesw.a(lib_tputs.o):(.text+0x39): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(lib_tputs.o):(.text+0xc6): undefined reference to `_imp___errno'
/mingw32/lib/libncursesw.a(lib_tputs.o):(.text+0x10c): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(lib_tputs.o):(.text+0x274): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(read_entry.o):(.text+0xdb): undefined reference to `__mingw_vsprintf'
/mingw32/lib/libncursesw.a(lib_driver.o):(.text+0x9c): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(win_driver.o):(.text+0x298): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(win_driver.o):(.text+0x2ff): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(win_driver.o):(.text+0x340): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(win_driver.o):(.text+0x61c): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(win_driver.o):(.text+0x684): more undefined references to `_assert' follow
/mingw32/lib/libncursesw.a(win_driver.o):(.text+0x9ec): undefined reference to `stricmp'
/mingw32/lib/libncursesw.a(win_driver.o):(.text+0x1058): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(win_driver.o):(.text+0x10cc): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(win_driver.o):(.text+0x1498): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(win_driver.o):(.text+0x160e): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(win_driver.o):(.text+0x1bb0): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(win_driver.o):(.text+0x1be8): more undefined references to `_assert' follow
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0x91d): undefined reference to `_imp___errno'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0x9ca): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0xa1b): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0xa48): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0xa8f): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0xad8): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0xb72): more undefined references to `_assert' follow
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0x1e05): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0x1e55): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0x1ef5): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0x1f26): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0x1f4f): undefined reference to `_imp____acrt_iob_func'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0x1fb9): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0x1fc3): undefined reference to `_imp___errno'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0x1fcd): undefined reference to `_imp___errno'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0x208b): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text+0x2191): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(tinfo_driver.o):(.text.unlikely+0x1b): undefined reference to `__mingw_vfprintf'
/mingw32/lib/libncursesw.a(tty_update.o):(.text+0xa6cd): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(lib_print.o):(.text+0x8): undefined reference to `_imp___errno'
/mingw32/lib/libncursesw.a(access.o):(.text+0x14b): undefined reference to `_imp___errno'
/mingw32/lib/libncursesw.a(access.o):(.text+0x214): undefined reference to `_imp___stati64'
/mingw32/lib/libncursesw.a(access.o):(.text+0x254): undefined reference to `_imp___stati64'
/mingw32/lib/libncursesw.a(db_iterator.o):(.text+0x10c): undefined reference to `_time32'
/mingw32/lib/libncursesw.a(db_iterator.o):(.text+0x5a2): undefined reference to `_imp___stati64'
/mingw32/lib/libncursesw.a(db_iterator.o):(.text+0x621): undefined reference to `_time32'
/mingw32/lib/libncursesw.a(lib_twait.o):(.text+0x16): undefined reference to `_time32'
/mingw32/lib/libncursesw.a(lib_twait.o):(.text+0x24): undefined reference to `_time32'
/mingw32/lib/libncursesw.a(hardscroll.o):(.text+0x1c4): undefined reference to `_assert'
/mingw32/lib/libncursesw.a(hardscroll.o):(.text+0x1e9): undefined reference to `_assert'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:328: mconf] Error 1
make[1]: Leaving directory '/c/Users/refo/esp/ESP8266_RTOS_SDK/tools/kconfig'
make: *** No rule to make target '/c/Users/refo/esp/ESP8266_RTOS_SDK/tools/kconfig/conf', needed by 'defconfig'. Stop.

Thank you in advance!

jhinkle
Posts: 32
Joined: Tue Apr 19, 2016 12:09 am

Re: ESP8266_RTOS_SDK v3.0

Postby jhinkle » Wed Nov 14, 2018 5:51 am

I can't tell from the data you posted but I do know that both the ESP and ESP8266 V3 IDF's assume IDF_PATH points to the proper directory which it won't if you are developing for both platforms.

The way I got around it ... was in the make file associated with my ESP8266 V3 IDF project, I added the following line: Note -- your path will be different but it illustrates how to set the path:

export IDF_PATH=C:/msys32/home/Joe/esp/esp8266_tcp

Hope that fixes it for you

Who is online

Users browsing this forum: No registered users and 6 guests