LINUX.ORG.RU
ФорумAdmin

Не собирается xtables-addons

 ,


0

1

Сообщение при сборке:

DKMS make.log for xtables-addons-2.12 for kernel 4.15.0-1-amd64 (x86_64)
Thu Mar 15 00:50:43 MSK 2018
make: Entering directory '/usr/src/linux-headers-4.15.0-1-amd64'
make -C /usr/src/linux-headers-4.15.0-1-amd64 KBUILD_SRC=/usr/src/linux-headers-4.15.0-1-common \
-f /usr/src/linux-headers-4.15.0-1-common/Makefile modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
echo >&2 ;                                                      \
/bin/false)
mkdir -p /var/lib/dkms/xtables-addons/2.12/build/extensions/.tmp_versions ; rm -f /var/lib/dkms/xtables-addons/2.12/build/extensions/.tmp_versions/*
make -f /usr/src/linux-headers-4.15.0-1-common/scripts/Makefile.build obj=/var/lib/dkms/xtables-addons/2.12/build/extensions
   gcc-7 -Wp,-MD,/var/lib/dkms/xtables-addons/2.12/build/extensions/.compat_xtables.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/include -I$
   ./tools/objtool/objtool orc generate --no-fp  "/var/lib/dkms/xtables-addons/2.12/build/extensions/.tmp_compat_xtables.o";
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/xtables-addons/2.12/build/extensions/compat_xtables.o != "scripts/mod/empty.o" ]; then ./scripts/recor$
   gcc-7 -Wp,-MD,/var/lib/dkms/xtables-addons/2.12/build/extensions/.xt_CHAOS.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/s$
   ./tools/objtool/objtool orc generate --no-fp  "/var/lib/dkms/xtables-addons/2.12/build/extensions/.tmp_xt_CHAOS.o";
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/xtables-addons/2.12/build/extensions/xt_CHAOS.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcoun$
   gcc-7 -Wp,-MD,/var/lib/dkms/xtables-addons/2.12/build/extensions/.xt_DELUDE.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr/$
   ./tools/objtool/objtool orc generate --no-fp  "/var/lib/dkms/xtables-addons/2.12/build/extensions/.tmp_xt_DELUDE.o";
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/xtables-addons/2.12/build/extensions/xt_DELUDE.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcou$
   gcc-7 -Wp,-MD,/var/lib/dkms/xtables-addons/2.12/build/extensions/.xt_DHCPMAC.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr$
   ./tools/objtool/objtool orc generate --no-fp  "/var/lib/dkms/xtables-addons/2.12/build/extensions/.tmp_xt_DHCPMAC.o";
  if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/xtables-addons/2.12/build/extensions/xt_DHCPMAC.o != "scripts/mod/empty.o" ]; then ./scripts/recordmco$
   gcc-7 -Wp,-MD,/var/lib/dkms/xtables-addons/2.12/build/extensions/.xt_DNETMAP.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/7/include -I/usr$
/var/lib/dkms/xtables-addons/2.12/build/extensions/xt_DNETMAP.c: In function 'dnetmap_tg':
/var/lib/dkms/xtables-addons/2.12/build/extensions/xt_DNETMAP.c:380:2: error: implicit declaration of function 'NF_CT_ASSERT'; did you mean 'NF_ACCEPT$
  NF_CT_ASSERT(hooknum == NF_INET_POST_ROUTING ||
  ^~
  NF_ACCEPT
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-headers-4.15.0-1-common/scripts/Makefile.build:328: /var/lib/dkms/xtables-addons/2.12/build/extensions/xt_DNETMAP.o] Erro$
make[2]: *** [/usr/src/linux-headers-4.15.0-1-common/Makefile:1523: _module_/var/lib/dkms/xtables-addons/2.12/build/extensions] Error 2
make[1]: *** [Makefile:146: sub-make] Error 2
make: *** [Makefile:8: all] Error 2
make: Leaving directory '/usr/src/linux-headers-4.15.0-1-amd64'
Система: debian sid

★★★★★
Ответ на: комментарий от anonymous

Версия xtables-addons 3.0 из исходников собралась нормально. Похоже косек где-то в пакете или dkms. Версия 2.x не захотела собираться.

ne-vlezay ★★★★★
() автор топика
Последнее исправление: ne-vlezay (всего исправлений: 1)
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.