When i follow the Steps at Documentation "Building Bootloader" at Rocketboards, i get problems when i try to make socfpga_cyclone5_defconfig !!!!
$ make socfpga_cyclone5_defconfig
HOSTCC scripts/basic/fixdep
In Datei, eingebunden von scripts/basic/fixdep.c:115:
scripts/basic/fixdep.c: In Funktion »parse_config_file«:
scripts/basic/fixdep.c:241:18: Warnung: Arrayindex hat Typ »char« [-Wchar-subscripts]
241 | if (!(isalnum(*q) || *q == '_'))
| ^~
process_begin: CreateProcess(NULL, /usr/bin/sh ./scripts/kconfig/lxdialog/check-lxdialog.sh -ccflags, ...) failed.
process_begin: CreateProcess(NULL, /usr/bin/sh ./scripts/kconfig/check.sh cc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -ansi, ...) failed.
process_begin: CreateProcess(NULL, /usr/bin/sh ./scripts/kconfig/lxdialog/check-lxdialog.sh -ccflags, ...) failed.
process_begin: CreateProcess(NULL, /usr/bin/sh ./scripts/kconfig/check.sh cc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -ansi, ...) failed.
process_begin: CreateProcess(NULL, /usr/bin/sh ./scripts/kconfig/lxdialog/check-lxdialog.sh -ccflags, ...) failed.
process_begin: CreateProcess(NULL, /usr/bin/sh ./scripts/kconfig/check.sh cc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -ansi, ...) failed.
process_begin: CreateProcess(NULL, /usr/bin/sh ./scripts/kconfig/lxdialog/check-lxdialog.sh -ccflags, ...) failed.
process_begin: CreateProcess(NULL, /usr/bin/sh ./scripts/kconfig/check.sh cc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -ansi, ...) failed.
HOSTCC scripts/kconfig/conf.o
In Datei, eingebunden von scripts/kconfig/expr.h:15,
von scripts/kconfig/lkc.h:9,
von scripts/kconfig/conf.c:19:
scripts/kconfig/list.h:71:14: Fehler: expected »;« before »int«
71 | static inline int list_empty(const struct list_head *head)
| ^~~~
| ;
scripts/kconfig/list.h:82:14: Fehler: expected »;« before »void«
82 | static inline void __list_add(struct list_head *_new,
| ^~~~~
.
.
scripts/kconfig/lkc.h:148:8: Fehler: unbekannter Typname: »inline«
148 | static inline tristate sym_get_tristate_value(struct symbol *sym)
| ^~~~~~
.
.
scripts/kconfig/lkc.h:154:14: Fehler: expected »;« before »struct«
154 | static inline struct symbol *sym_get_choice_value(struct symbol *sym)
| ^~~~~~~
| ;
scripts/kconfig/lkc.h:159:14: Fehler: expected »;« before »_Bool«
159 | static inline bool sym_set_choice_value(struct symbol *ch, struct symbol *chval)
| ^
| ;
.
.
scripts/kconfig/lkc.h:179:14: Fehler: expected »;« before »_Bool«
179 | static inline bool sym_has_value(struct symbol *sym)
| ^
| ;
In Datei, eingebunden von scripts/kconfig/conf.c:7:
scripts/kconfig/conf.c: In Funktion »strip«:
scripts/kconfig/conf.c:62:18: Warnung: Arrayindex hat Typ »char« [-Wchar-subscripts]
62 | while ((isspace(*p)))
| ^~
scripts/kconfig/conf.c:70:18: Warnung: Arrayindex hat Typ »char« [-Wchar-subscripts]
70 | while ((isspace(*p)))
| ^~
scripts/kconfig/conf.c: In Funktion »conf_sym«:
scripts/kconfig/conf.c:173:12: Warnung: Implizite Deklaration der Funktion »sym_get_tristate_value«; meinten Sie »sym_set_tristate_value«? [-Wimplicit-function-declaration]
173 | oldval = sym_get_tristate_value(sym);
| ^~~~~~~~~~~~~~~~~~~~~~
| sym_set_tristate_value
In Datei, eingebunden von scripts/kconfig/conf.c:7:
scripts/kconfig/conf.c: In Funktion »conf_choice«:
scripts/kconfig/conf.c:313:25: Warnung: Arrayindex hat Typ »char« [-Wchar-subscripts]
313 | else if (isdigit(line[0]))
| ~~~~^~~
scripts/kconfig/conf.c: In Funktion »main«:
scripts/kconfig/conf.c:568:2: Fehler: C++-Stil-Kommentare sind in ISO-C90 nicht erlaubt
568 | //zconfdump(stdout);
| ^
scripts/kconfig/conf.c:568:2: Anmerkung: (dies wird nur einmal pro Eingabedatei gemeldet)
make[1]: *** [scripts/kconfig/conf.o] Error 1
make: *** [socfpga_cyclone5_defconfig] Error 2
-------------------------------------------------------------------------------------
The whole bug report is in attachment. Has anyone an idea, what the problem is ?????
Regards
Gerhard