Ich versuche, Backport 4.4.2-1 auf meiner Kali-Rolling-VM-Maschine zu installieren, aber ich erhalte den folgenden Fehler. Ich habe keine Ahnung, was schiefgelaufen ist, aber ich habe zuerst die Linux-Header mit dem folgenden Befehl installiert --> #apt-get install linux-headers-$(uname -r) Alles lief gut. Aber als ich versuchte, die Installation durchzuführen, erhielt ich den folgenden Fehler. Bitte helfen Sie mir. Fehlen irgendwelche Abhängigkeiten???
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
Antwort1
Sie müssen keine Backports auf Kali Rolling Release installieren, Backports werden im Allgemeinen auf Debian-Stable-basierten Distributionen verwendet
Rückportierungensind Pakete aus der nächsten Debian-Version (genannt „Testing“), die angepasst und für die Verwendung auf Debian Stable neu kompiliert wurden. Da das Paket auch in der nächsten Debian-Version enthalten ist, können Sie Ihr Stable+Backports-System problemlos aktualisieren, sobald die nächste Debian-Version herauskommt. (In einigen Fällen, normalerweise für Sicherheitsupdates, werden auch Backports aus der instabilen Debian-Distribution erstellt.)