Kali-Rolling 가상 머신에 백포트 4.4.2-1을 설치하려고 하는데 다음 오류가 발생합니다. 무엇이 잘못되었는지는 모르겠지만 먼저 다음 명령 --> #apt-get install linux-headers-$(uname -r)을 사용하여 Linux 헤더를 설치했고 모든 것이 잘 진행되었습니다. 그런데 설치하려고 하면 다음과 같은 오류가 발생합니다. 도와주세요. 종속성이 누락되었나요? ? ?
make[4]: 'conf' is up to date.
boolean symbol HWMON tested for 'm'? test forced to 'n'
boolean symbol HWMON tested for 'm'? test forced to 'n'
#
# configuration written to .config
#
Building backport-include/backport/autoconf.h ... done.
CC [M] /root/Downloads/backports-4.4.2-1/compat/main.o
In file included from /root/Downloads/backports-4.4.2-1/backport-
include/backport/backport.h:7:0,
from <command-line>:0:
/usr/src/linux-headers-4.9.0-kali3-common/include/asm-generic/qrwlock.h: In
function ‘__qrwlock_write_byte’:
/root/Downloads/backports-4.4.2-1/backport-include/linux/kconfig.h:25:28:
error: implicit declaration of function ‘config_enabled’ [-Werror=implicit-
function-declaration]
#define IS_BUILTIN(option) config_enabled(option)
^
/usr/src/linux-headers-4.9.0-kali3-common/include/asm-
generic/qrwlock.h:156:26: note: in expansion of macro ‘IS_BUILTIN’
return (u8 *)lock + 3 * IS_BUILTIN(CONFIG_CPU_BIG_ENDIAN);
^~~~~~~~~~
/usr/src/linux-headers-4.9.0-kali3-common/include/asm-generic/qrwlock.h:156:37: error: ‘CONFIG_CPU_BIG_ENDIAN’ undeclared (first use
in this function)
return (u8 *)lock + 3 * IS_BUILTIN(CONFIG_CPU_BIG_ENDIAN);
^
/root/Downloads/backports-4.4.2-1/backport-include/linux/kconfig.h:25:43:
note: in definition of macro ‘IS_BUILTIN’
#define IS_BUILTIN(option) config_enabled(option)
^~~~~~
/usr/src/linux-headers-4.9.0-kali3-common/include/asm-
generic/qrwlock.h:156:37: note: each undeclared identifier is reported only
once for each function it appears in
return (u8 *)lock + 3 * IS_BUILTIN(CONFIG_CPU_BIG_ENDIAN);
^
/root/Downloads/backports-4.4.2-1/backport-include/linux/kconfig.h:25:43:
note: in definition of macro ‘IS_BUILTIN’
#define IS_BUILTIN(option) config_enabled(option)
^~~~~~
cc1: some warnings being treated as errors
/usr/src/linux-headers-4.9.0-kali3-common/scripts/Makefile.build:298: recipe
for target '/root/Downloads/backports-4.4.2-1/compat/main.o' failed
make[7]: *** [/root/Downloads/backports-4.4.2-1/compat/main.o] Error 1
/usr/src/linux-headers-4.9.0-kali3-common/scripts/Makefile.build:549: recipe
for target '/root/Downloads/backports-4.4.2-1/compat' failed
make[6]: *** [/root/Downloads/backports-4.4.2-1/compat] Error 2
/usr/src/linux-headers-4.9.0-kali3-common/Makefile:1507: recipe for target
'_module_/root/Downloads/backports-4.4.2-1' failed
make[5]: *** [_module_/root/Downloads/backports-4.4.2-1] Error 2
Makefile:150: recipe for target 'sub-make' failed
make[4]: *** [sub-make] Error 2
Makefile:8: recipe for target 'all' failed
make[3]: *** [all] Error 2
Makefile.build:6: recipe for target 'modules' failed
make[2]: *** [modules] Error 2
Makefile.real:88: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
Makefile:40: recipe for target 'install' failed
make: *** [install] Error 2
답변1
Kali 롤링 릴리스에는 백포트를 설치할 필요가 없습니다. 백포트는 일반적으로 debian-stable 기반 배포판에서 사용됩니다.
백포트패키지는 다음 Debian 릴리스("베타"라고 함)에서 가져와 Debian 안정 릴리스에서 사용하도록 조정 및 재컴파일됩니다. 이 패키지는 다음 Debian 버전에도 있으므로 다음 Debian 버전이 출시되면 안정적이고 백포트된 시스템을 쉽게 업그레이드할 수 있습니다. (어떤 경우에는 일반적으로 보안 업데이트를 위해 Debian 불안정 배포판에서 백포트도 생성됩니다.)