You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've tried to compile under WSL2 (Windows Subsystem for Linux 2) using different esp-idf versions going down from version 3.x.x all the way back to esp-idf v0.9.
Every time I get errors. This is the output from compiling with esp-idf v0.9
make: *** No rule to make target 'get_variable'. Stop. make: *** No rule to make target 'get_variable'. Stop. make: *** No rule to make target 'get_variable'. Stop. MAKEFLAGS="" \ CC=cc LD=ld \ make -C /home/tommytamsen/esp/esp-idf/tools/kconfig make[1]: Entering directory '/home/tommytamsen/esp/esp-idf/tools/kconfig' cc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -c -o zconf.tab.o zconf.tab.c In file included from zconf.tab.c:319: zconf.hash.c:166:1: error: conflicting types for ‘kconf_id_lookup’; have ‘const struct kconf_id *(const char *, size_t)’ {aka ‘const struct kconf_id *(const char *, long unsigned int)’} 166 | kconf_id_lookup (register const char *str, register size_t len) | ^~~~~~~~~~~~~~~ zconf.hash.c:33:31: note: previous declaration of ‘kconf_id_lookup’ with type ‘const struct kconf_id *(const char *, unsigned int)’ 33 | static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len); | ^~~~~~~~~~~~~~~ In file included from zconf.tab.c:2269: confdata.c: In function ‘conf_write’: confdata.c:774:37: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=] 774 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); | ^~~~~~~~~~~ confdata.c:774:17: note: ‘sprintf’ output between 13 and 4119 bytes into a destination of size 4097 774 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [<builtin>: zconf.tab.o] Error 1 make[1]: Leaving directory '/home/tommytamsen/esp/esp-idf/tools/kconfig' make[1]: Entering directory '/home/tommytamsen/esp/esp-idf/components/bootloader/src' MAKEFLAGS="" \ CC=gcc LD=ld \ make -C /home/tommytamsen/esp/esp-idf/tools/kconfig make[2]: Entering directory '/home/tommytamsen/esp/esp-idf/tools/kconfig' gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -c -o zconf.tab.o zconf.tab.c In file included from zconf.tab.c:319: zconf.hash.c:166:1: error: conflicting types for ‘kconf_id_lookup’; have ‘const struct kconf_id *(const char *, size_t)’ {aka ‘const struct kconf_id *(const char *, long unsigned int)’} 166 | kconf_id_lookup (register const char *str, register size_t len) | ^~~~~~~~~~~~~~~ zconf.hash.c:33:31: note: previous declaration of ‘kconf_id_lookup’ with type ‘const struct kconf_id *(const char *, unsigned int)’ 33 | static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len); | ^~~~~~~~~~~~~~~ In file included from zconf.tab.c:2269: confdata.c: In function ‘conf_write’: confdata.c:774:37: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=] 774 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); | ^~~~~~~~~~~ confdata.c:774:17: note: ‘sprintf’ output between 13 and 4119 bytes into a destination of size 4097 774 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [<builtin>: zconf.tab.o] Error 1 make[2]: Leaving directory '/home/tommytamsen/esp/esp-idf/tools/kconfig' make[2]: Entering directory '/home/tommytamsen/esp/esp32_dbt03/firmware/build/bootloader/log' CC log.o gcc: error: unrecognized command-line option ‘-mlongcalls’ make[2]: *** [/home/tommytamsen/esp/esp-idf/make/component_common.mk:111: log.o] Error 1 make[2]: Leaving directory '/home/tommytamsen/esp/esp32_dbt03/firmware/build/bootloader/log' make[1]: *** [/home/tommytamsen/esp/esp-idf/make/project.mk:251: log-build] Error 2 make[1]: Leaving directory '/home/tommytamsen/esp/esp-idf/components/bootloader/src' make: *** [/home/tommytamsen/esp/esp-idf/components/bootloader/Makefile.projbuild:20: /home/tommytamsen/esp/esp32_dbt03/firmware/build/bootloader/bootloader.bin] Error 2
Do you by any chance remember which esp-idf is the best for this project?
The text was updated successfully, but these errors were encountered:
I've tried to compile under WSL2 (Windows Subsystem for Linux 2) using different esp-idf versions going down from version 3.x.x all the way back to esp-idf v0.9.
Every time I get errors. This is the output from compiling with esp-idf v0.9
make: *** No rule to make target 'get_variable'. Stop. make: *** No rule to make target 'get_variable'. Stop. make: *** No rule to make target 'get_variable'. Stop. MAKEFLAGS="" \ CC=cc LD=ld \ make -C /home/tommytamsen/esp/esp-idf/tools/kconfig make[1]: Entering directory '/home/tommytamsen/esp/esp-idf/tools/kconfig' cc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -c -o zconf.tab.o zconf.tab.c In file included from zconf.tab.c:319: zconf.hash.c:166:1: error: conflicting types for ‘kconf_id_lookup’; have ‘const struct kconf_id *(const char *, size_t)’ {aka ‘const struct kconf_id *(const char *, long unsigned int)’} 166 | kconf_id_lookup (register const char *str, register size_t len) | ^~~~~~~~~~~~~~~ zconf.hash.c:33:31: note: previous declaration of ‘kconf_id_lookup’ with type ‘const struct kconf_id *(const char *, unsigned int)’ 33 | static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len); | ^~~~~~~~~~~~~~~ In file included from zconf.tab.c:2269: confdata.c: In function ‘conf_write’: confdata.c:774:37: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=] 774 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); | ^~~~~~~~~~~ confdata.c:774:17: note: ‘sprintf’ output between 13 and 4119 bytes into a destination of size 4097 774 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [<builtin>: zconf.tab.o] Error 1 make[1]: Leaving directory '/home/tommytamsen/esp/esp-idf/tools/kconfig' make[1]: Entering directory '/home/tommytamsen/esp/esp-idf/components/bootloader/src' MAKEFLAGS="" \ CC=gcc LD=ld \ make -C /home/tommytamsen/esp/esp-idf/tools/kconfig make[2]: Entering directory '/home/tommytamsen/esp/esp-idf/tools/kconfig' gcc -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DCURSES_LOC="<ncurses.h>" -DNCURSES_WIDECHAR=1 -DLOCALE -c -o zconf.tab.o zconf.tab.c In file included from zconf.tab.c:319: zconf.hash.c:166:1: error: conflicting types for ‘kconf_id_lookup’; have ‘const struct kconf_id *(const char *, size_t)’ {aka ‘const struct kconf_id *(const char *, long unsigned int)’} 166 | kconf_id_lookup (register const char *str, register size_t len) | ^~~~~~~~~~~~~~~ zconf.hash.c:33:31: note: previous declaration of ‘kconf_id_lookup’ with type ‘const struct kconf_id *(const char *, unsigned int)’ 33 | static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len); | ^~~~~~~~~~~~~~~ In file included from zconf.tab.c:2269: confdata.c: In function ‘conf_write’: confdata.c:774:37: warning: ‘.tmpconfig.’ directive writing 11 bytes into a region of size between 1 and 4097 [-Wformat-overflow=] 774 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); | ^~~~~~~~~~~ confdata.c:774:17: note: ‘sprintf’ output between 13 and 4119 bytes into a destination of size 4097 774 | sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [<builtin>: zconf.tab.o] Error 1 make[2]: Leaving directory '/home/tommytamsen/esp/esp-idf/tools/kconfig' make[2]: Entering directory '/home/tommytamsen/esp/esp32_dbt03/firmware/build/bootloader/log' CC log.o gcc: error: unrecognized command-line option ‘-mlongcalls’ make[2]: *** [/home/tommytamsen/esp/esp-idf/make/component_common.mk:111: log.o] Error 1 make[2]: Leaving directory '/home/tommytamsen/esp/esp32_dbt03/firmware/build/bootloader/log' make[1]: *** [/home/tommytamsen/esp/esp-idf/make/project.mk:251: log-build] Error 2 make[1]: Leaving directory '/home/tommytamsen/esp/esp-idf/components/bootloader/src' make: *** [/home/tommytamsen/esp/esp-idf/components/bootloader/Makefile.projbuild:20: /home/tommytamsen/esp/esp32_dbt03/firmware/build/bootloader/bootloader.bin] Error 2
Do you by any chance remember which esp-idf is the best for this project?
The text was updated successfully, but these errors were encountered: