LINUX.ORG.RU

Не удается скомпилировать gdb.

 


0

1

Пытаюсь собрать gdb 8-ой версии из исходников. Нужно собрать именно то, что в архиве. Буду признателен за любую помощь.

Результат сборки:

config.status: creating po/Makefile.in
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing bfd_stdint.h commands
config.status: executing default commands
make[3]: Nothing to be done for 'info'.
make[3]: Leaving directory '/opt/gdb-icc/bfd/po'
make[3]: Entering directory '/opt/gdb-icc/bfd'
make[3]: Nothing to be done for 'info-am'.
make[3]: Leaving directory '/opt/gdb-icc/bfd'
Makefile:1743: recipe for target 'info-recursive' failed
make[2]: *** [info-recursive] Error 1
make[2]: Leaving directory '/opt/gdb-icc/bfd'
Makefile:2692: recipe for target 'all-bfd' failed
make[1]: *** [all-bfd] Error 2
make[1]: Leaving directory '/opt/gdb-icc'
Makefile:849: recipe for target 'all' failed
make: *** [all] Error 2

Сами исходники: https://dropmefiles.com/UIjrk

★★

Ошибка где-то выше должна быть. Запусти

make -j1

В одном потоке, без очищения дерева исходного кода. Увидишь ошибку.

EXL ★★★★★
()
Ответ на: комментарий от 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 ★★
() автор топика
Последнее исправление: BitSum (всего исправлений: 1)
9 сентября 2020 г.
Ответ на: комментарий от BitSum

Было то же самое, доставлял bison, flex и texinfo в процессе сборки, оказалось (что вполне логично), надо было перезапустить configure.

anonymous
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.