esp-open-sdk
esp-open-sdk copied to clipboard
compiling fails on ubuntu 14.04
uname -a
Linux g510 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
g++ --version
g++ (Ubuntu 5.4.1-2ubuntu1~14.04) 5.4.1 20160904
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
make STANDALONE=y
or make STANDALONE=n
(they output the same thing)
[ERROR] ../ncurses/comp_captab.c:17:1: error: expected expression before ';' token
[ALL ] ;
[ALL ] ^
[ERROR] ../ncurses/comp_captab.c:31:2: error: #error --> term.h and comp_captab.c disagree about the <--
[ALL ] #error --> term.h and comp_captab.c disagree about the <--
[ALL ] ^
[ERROR] ../ncurses/comp_captab.c:32:2: error: #error --> numbers of booleans, numbers and/or strings <--
[ALL ] #error --> numbers of booleans, numbers and/or strings <--
[ALL ] ^
[ERROR] ../ncurses/comp_captab.c:37:1: error: expected expression before ';' token
[ALL ] ;
[ALL ] ^
[ERROR] ../ncurses/comp_captab.c:37:1: error: invalid initializer
[ERROR] ../ncurses/comp_captab.c:51:2: error: #error --> term.h and comp_captab.c disagree about the <--
[ALL ] #error --> term.h and comp_captab.c disagree about the <--
[ALL ] ^
[ERROR] ../ncurses/comp_captab.c:52:2: error: #error --> numbers of booleans, numbers and/or strings <--
[ALL ] #error --> numbers of booleans, numbers and/or strings <--
[ALL ] ^
[ALL ] ../ncurses/comp_captab.c: In function '_nc_get_table':
[ERROR] ../ncurses/comp_captab.c:244:34: error: 'cap_names_data' undeclared (first use in this function)
[ALL ] return termcap ? build_names(cap) : build_names(info) ;
[ALL ] ^
[ALL ] ../ncurses/comp_captab.c:231:8: note: in definition of macro 'build_names'
[ALL ] root##_names_data, ^
[ALL ] ../ncurses/comp_captab.c:244:34: note: each undeclared identifier is reported only once for each function it appears in
[ALL ] return termcap ? build_names(cap) : build_names(info) ;
[ALL ] ^
[ALL ] ../ncurses/comp_captab.c:231:8: note: in definition of macro 'build_names'
[ALL ] root##_names_data, ^
[ALL ] ../ncurses/comp_captab.c:244:5: warning: passing argument 2 of '_nc_build_names' from incompatible pointer type [enabled by default]
[ALL ] return termcap ? build_names(cap) : build_names(info) ;
[ALL ] ^
[ALL ] ../ncurses/comp_captab.c:184:1: note: expected 'const struct name_table_data *' but argument is of type 'const char *'
[ALL ] _nc_build_names(struct name_table_entry **actual,
[ALL ] ^
[ERROR] ../ncurses/comp_captab.c:244:53: error: 'info_names_data' undeclared (first use in this function)
[ALL ] return termcap ? build_names(cap) : build_names(info) ;
[ALL ] ^
...
[ERROR] ../ncurses/comp_captab.c:17:1: error: expected expression before ';' token
[ERROR] ../ncurses/comp_captab.c:31:2: error: #error --> term.h and comp_captab.c disagree about the <--
[ERROR] ../ncurses/comp_captab.c:32:2: error: #error --> numbers of booleans, numbers and/or strings <--
[ERROR] ../ncurses/comp_captab.c:37:1: error: expected expression before ';' token
[ERROR] ../ncurses/comp_captab.c:37:1: error: invalid initializer
[ERROR] ../ncurses/comp_captab.c:51:2: error: #error --> term.h and comp_captab.c disagree about the <--
[ERROR] ../ncurses/comp_captab.c:17:1: error: expected expression before ';' token
[ERROR] ../ncurses/comp_captab.c:52:2: error: #error --> numbers of booleans, numbers and/or strings <--
[ERROR] ../ncurses/comp_captab.c:31:2: error: #error --> term.h and comp_captab.c disagree about the <--
[ERROR] ../ncurses/comp_captab.c:32:2: error: #error --> numbers of booleans, numbers and/or strings <--
[ERROR] ../ncurses/comp_captab.c:37:1: error: expected expression before ';' token
[ERROR] ../ncurses/comp_captab.c:37:1: error: invalid initializer
[ERROR] ../ncurses/comp_captab.c:51:2: error: #error --> term.h and comp_captab.c disagree about the <--
[ERROR] ../ncurses/comp_captab.c:52:2: error: #error --> numbers of booleans, numbers and/or strings <--
[ERROR] ../ncurses/comp_captab.c:244:34: error: 'cap_names_data' undeclared (first use in this function)
[ERROR] ../ncurses/comp_captab.c:244:34: error: 'cap_names_data' undeclared (first use in this function)
[ERROR] ../ncurses/comp_captab.c:244:53: error: 'info_names_data' undeclared (first use in this function)
[ERROR] ../ncurses/comp_captab.c:244:53: error: 'info_names_data' undeclared (first use in this function)
[ERROR] make[4]: *** [../objects/comp_captab.o] Error 1
[ERROR] make[4]: *** [../obj_g/comp_captab.o] Error 1
[ERROR] make[3]: *** [all] Error 2
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Installing ncurses for build'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR] >> called from: do_ncurses_backend[scripts/build/companion_libs/220-ncurses.sh@151]
[ERROR] >> called from: do_ncurses_for_build[scripts/build/companion_libs/220-ncurses.sh@35]
[ERROR] >> called from: do_companion_libs_for_build[scripts/build/companion_libs.sh@29]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@646]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> 'share/doc/crosstool-ng/crosstool-ng-1.22.0-60-g37b07f6f/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 0:23.37)
[00:24] / make[2]: *** [build] Error 2
make[2]: Leaving directory `/home/zxcv/work/me/src/private/robot/esp-open-sdk/crosstool-NG'
make[1]: *** [_toolchain] Error 2
make[1]: Leaving directory `/home/zxcv/work/me/src/private/robot/esp-open-sdk/crosstool-NG'
make: *** [/home/zxcv/work/me/src/private/robot/esp-open-sdk/xtensa-lx106-elf/bin/xtensa-lx106-elf-gcc] Error 2
@beepbeepbop I have the same issue on macOS Mojave 10.14.2 (18C54). Did you solve that?