sdcc
sdcc copied to clipboard
errors compiling
make[5]: Entering directory '/home/zibri/sdcc/support/sdbinutils/binutils'
CC arparse.o
In file included from sysdep.h:23,
from arparse.y:29:
config.h:7:4: error: #error config.h must be #included before system headers
7 | # error config.h must be #included before system headers
| ^~~~~
/usr/share/bison++/bison.cc: In function ‘yyparse’:
/usr/share/bison++/bison.cc:616:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
616 | yyvsp = yyvs;
| ~~~~~~^~~~~~
/usr/share/bison++/bison.cc:377:23: note: here
377 | #define YYLABEL(lb) } case lb: {
| ^~~~
/usr/share/bison++/bison.cc:624:1: note: in expansion of macro ‘YYLABEL’
624 | YYLABEL(yynewstate)
| ^~~~~~~
/usr/share/bison++/bison.cc:815:6: warning: this statement may fall through [-Wimplicit-fallthrough=]
815 | if (yyn == 0)
| ^
/usr/share/bison++/bison.cc:377:23: note: here
377 | #define YYLABEL(lb) } case lb: {
| ^~~~
/usr/share/bison++/bison.cc:819:1: note: in expansion of macro ‘YYLABEL’
819 | YYLABEL(yyreduce)
| ^~~~~~~
/usr/share/bison++/bison.cc:981:11: warning: this statement may fall through [-Wimplicit-fallthrough=]
981 | yystate = *--yyssp;
| ~~~~~~~~^~~~~~~~~~
/usr/share/bison++/bison.cc:377:23: note: here
377 | #define YYLABEL(lb) } case lb: {
| ^~~~
/usr/share/bison++/bison.cc:997:1: note: in expansion of macro ‘YYLABEL’
997 | YYLABEL(yyerrhandle)
| ^~~~~~~
make[5]: *** [Makefile:1873: arparse.o] Error 1
make[5]: Leaving directory '/home/zibri/sdcc/support/sdbinutils/binutils'
make[4]: *** [Makefile:1416: all-recursive] Error 1
make[4]: Leaving directory '/home/zibri/sdcc/support/sdbinutils/binutils'
make[3]: *** [Makefile:860: all] Error 2
make[3]: Leaving directory '/home/zibri/sdcc/support/sdbinutils/binutils'
make[2]: *** [Makefile:3680: all-binutils] Error 2
make[2]: Leaving directory '/home/zibri/sdcc/support/sdbinutils'
make[1]: *** [Makefile:1000: all] Error 2
make[1]: Leaving directory '/home/zibri/sdcc/support/sdbinutils'
make: *** [Makefile:171: sdcc-sdbinutils] Error 2