Page 1 of 1

Error to building Hello World project after followed start guide

Posted: Fri Aug 31, 2018 3:26 am
by augustocadini
I´ve followed the offical start guide espressif to use ESP32 on Eclipse in Windows.
I make all steps and the follow errors occurs when I try Build or Flash:

Code: Select all

00:21:11 **** Build of configuration Default for project hello_world ****
bash C:/msys32/esp/esp-idf/tools/windows/eclipse_make.sh flash 
eclipse_make.sh has been replaced with eclipse_make.py. Check the Windows Eclipse docs for the new command.
This shell script will continue to work until the next major release.
mconf.o:mconf.c:(.text+0x41f): undefined reference to `libintl_gettext'
mconf.o:mconf.c:(.text+0x450): undefined reference to `libintl_gettext'
mconf.o:mconf.c:(.text+0x48f): undefined reference to `libintl_gettext'
mconf.o:mconf.c:(.text+0x5e7): undefined reference to `libintl_gettext'
mconf.o:mconf.c:(.text+0x7dc): undefined reference to `libintl_gettext'
mconf.o:mconf.c:(.text+0x8ca): more undefined references to `libintl_gettext' follow
mconf.o:mconf.c:(.text+0x1b12): undefined reference to `libintl_setlocale'
mconf.o:mconf.c:(.text+0x1b26): undefined reference to `libintl_bindtextdomain'
mconf.o:mconf.c:(.text+0x1b32): undefined reference to `libintl_textdomain'
zconf.tab.o:zconf.tab.c:(.text+0x1ce8): undefined reference to `libintl_gettext'
zconf.tab.o:zconf.tab.c:(.text+0x52ad): undefined reference to `libintl_gettext'
zconf.tab.o:zconf.tab.c:(.text+0x6528): undefined reference to `libintl_gettext'
zconf.tab.o:zconf.tab.c:(.text+0xd9c9): undefined reference to `libintl_gettext'
zconf.tab.o:zconf.tab.c:(.text+0xd9d7): undefined reference to `libintl_gettext'
zconf.tab.o:zconf.tab.c:(.text+0xdaea): more undefined references to `libintl_gettext' follow
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:312: mconf] Error 1
make: *** No rule to make target '/esp/esp-idf/tools/kconfig/conf', needed by '/esp/esp-idf/examples/get-started/hello_world/build/include/config/auto.conf'.  Stop.
Running make in 'C:/msys32/esp/esp-idf/examples/get-started/hello_world'
including C:/msys32/esp/esp-idf/components/app_update/Makefile.projbuild...
including C:/msys32/esp/esp-idf/components/bootloader/Makefile.projbuild...
including C:/msys32/esp/esp-idf/components/bootloader_support/Makefile.projbuild...
including C:/msys32/esp/esp-idf/components/coap/Makefile.projbuild...
including C:/msys32/esp/esp-idf/components/esp32/Makefile.projbuild...
including C:/msys32/esp/esp-idf/components/esptool_py/Makefile.projbuild...
including C:/msys32/esp/esp-idf/components/mbedtls/Makefile.projbuild...
including C:/msys32/esp/esp-idf/components/nghttp/Makefile.projbuild...
including C:/msys32/esp/esp-idf/components/partition_table/Makefile.projbuild...
including C:/msys32/esp/esp-idf/components/ulp/Makefile.projbuild...
MAKEFLAGS="" CC=cc LD=ld \
make -C C:/msys32/esp/esp-idf/tools/kconfig
make[1]: Entering directory 'C:/msys32/esp/esp-idf/tools/kconfig'
lxdialog/check-lxdialog.sh -check cc  -IC:/msys32/usr/include/ncursesw -DCURSES_LOC="<curses.h>"  -DNCURSES_WIDECHAR=1 -DLOCALE -MD -lncursesw
cc  -IC:/msys32/usr/include/ncursesw -DCURSES_LOC="<curses.h>"  -DNCURSES_WIDECHAR=1 -DLOCALE -MD   -c -o lxdialog/checklist.o lxdialog/checklist.c
cc  -IC:/msys32/usr/include/ncursesw -DCURSES_LOC="<curses.h>"  -DNCURSES_WIDECHAR=1 -DLOCALE -MD   -c -o lxdialog/util.o lxdialog/util.c
cc  -IC:/msys32/usr/include/ncursesw -DCURSES_LOC="<curses.h>"  -DNCURSES_WIDECHAR=1 -DLOCALE -MD   -c -o lxdialog/inputbox.o lxdialog/inputbox.c
cc  -IC:/msys32/usr/include/ncursesw -DCURSES_LOC="<curses.h>"  -DNCURSES_WIDECHAR=1 -DLOCALE -MD   -c -o lxdialog/textbox.o lxdialog/textbox.c
cc  -IC:/msys32/usr/include/ncursesw -DCURSES_LOC="<curses.h>"  -DNCURSES_WIDECHAR=1 -DLOCALE -MD   -c -o lxdialog/yesno.o lxdialog/yesno.c
cc  -IC:/msys32/usr/include/ncursesw -DCURSES_LOC="<curses.h>"  -DNCURSES_WIDECHAR=1 -DLOCALE -MD   -c -o lxdialog/menubox.o lxdialog/menubox.c
cc -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 -lncursesw
make[1]: Leaving directory 'C:/msys32/esp/esp-idf/tools/kconfig'

00:21:22 Build Failed. 17 errors, 0 warnings. (took 11s.107ms)
__World

Re: Error to building Hello World project after followed start guide

Posted: Thu Oct 11, 2018 7:57 am
by avnxxi
The same problem. Under msys32 shell window compilation works well

Re: Error to building Hello World project after followed start guide

Posted: Thu Oct 11, 2018 8:35 am
by avnxxi
After compiling and running menuconfig outside the Eclipse compiling the project is well.