ESP32 compile issue on linux
Posted: Wed Dec 14, 2016 5:20 am
I got a problem on compiling ESP32 examples. Follow the esp-idf_getting_started_guide. But it occurs some errors when running 'make configmenu'. I have download the latest esp-idf from github, and install necessary libs.
my linux environment is:
ubuntu 14.04.1 LTS
It was downloaded from https://drive.google.com/folderview?id= ... sp=sharing
I use it to compile esp8266, and now I want to compile esp32.
How could I config the environment?
the error info:
make[1]: Entering directory `/mnt/Share/ESP32/esp-idf/tools/kconfig'
lxdialog/check-lxdialog.sh -check cc -DCURSES_LOC="<ncurses.h>" -DLOCALE -lncurses
cc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/checklist.o lxdialog/checklist.c
cc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/util.o lxdialog/util.c
cc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/inputbox.o lxdialog/inputbox.c
cc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/textbox.o lxdialog/textbox.c
cc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/yesno.o lxdialog/yesno.c
cc -DCURSES_LOC="<ncurses.h>" -DLOCALE -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 -lncurses
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
mconf.o:mconf.c:(.text+0xa5): undefined reference to `_getenv'
mconf.o:mconf.c:(.text+0x138): undefined reference to `_snprintf'
my linux environment is:
ubuntu 14.04.1 LTS
It was downloaded from https://drive.google.com/folderview?id= ... sp=sharing
I use it to compile esp8266, and now I want to compile esp32.
How could I config the environment?
the error info:
make[1]: Entering directory `/mnt/Share/ESP32/esp-idf/tools/kconfig'
lxdialog/check-lxdialog.sh -check cc -DCURSES_LOC="<ncurses.h>" -DLOCALE -lncurses
cc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/checklist.o lxdialog/checklist.c
cc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/util.o lxdialog/util.c
cc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/inputbox.o lxdialog/inputbox.c
cc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/textbox.o lxdialog/textbox.c
cc -DCURSES_LOC="<ncurses.h>" -DLOCALE -c -o lxdialog/yesno.o lxdialog/yesno.c
cc -DCURSES_LOC="<ncurses.h>" -DLOCALE -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 -lncurses
/usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
mconf.o:mconf.c:(.text+0xa5): undefined reference to `_getenv'
mconf.o:mconf.c:(.text+0x138): undefined reference to `_snprintf'