LINUX.ORG.RU

История изменений

Исправление BitSum, (текущая версия) :

/bin/bash ./../ylwrap syslex.l .c syslex.c -- /opt/gdb-icc/missing flex  
updating lex.yysyslex.c
gcc -c -I. -I. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -I./../zlib -g -O2 -march=westmere  ./syslex_wrap.c
./syslex_wrap.c:25:10: fatal error: syslex.c: No such file or directory
 #include "syslex.c"
          ^~~~~~~~~~
compilation terminated.
Makefile:1375: recipe for target 'syslex_wrap.o' failed
make[2]: *** [syslex_wrap.o] Error 1
make[2]: Leaving directory '/opt/gdb-icc/binutils'
Makefile:3576: recipe for target 'all-binutils' failed
make[1]: *** [all-binutils] Error 2
make[1]: Leaving directory '/opt/gdb-icc'
Makefile:849: recipe for target 'all' failed
make: *** [all] Error 2

А с этим как решить?

По сути уже стоит apt install flex, который в себя включает libfl-dev (https://ubuntu.pkgs.org/18.04/ubuntu-main-amd64/libfl-dev_2.6.4-6_amd64.deb.html), но в нем нет нужного инклуда

Исходная версия BitSum, :

/bin/bash ./../ylwrap syslex.l .c syslex.c -- /opt/gdb-icc/missing flex  
updating lex.yysyslex.c
gcc -c -I. -I. -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -I./../zlib -g -O2 -march=westmere  ./syslex_wrap.c
./syslex_wrap.c:25:10: fatal error: syslex.c: No such file or directory
 #include "syslex.c"
          ^~~~~~~~~~
compilation terminated.
Makefile:1375: recipe for target 'syslex_wrap.o' failed
make[2]: *** [syslex_wrap.o] Error 1
make[2]: Leaving directory '/opt/gdb-icc/binutils'
Makefile:3576: recipe for target 'all-binutils' failed
make[1]: *** [all-binutils] Error 2
make[1]: Leaving directory '/opt/gdb-icc'
Makefile:849: recipe for target 'all' failed
make: *** [all] Error 2

А с этим как решить?

По сути уже стоит apt install flex, который в себя включается libfl-dev (https://ubuntu.pkgs.org/18.04/ubuntu-main-amd64/libfl-dev_2.6.4-6_amd64.deb.html), но в нем нет нужного инклуда