Собираю VirtualBox 6.1 на debian из исходников. Появляется ошибка, гугл не помог. Прошу помощи у опытных товарищей.
[code] kBuild: Linking vboxmouse_drv_15 kBuild: Linking vboxmouse_drv_14 The failing command: @g++ -c -O2 -g -pipe -ansi -Wall -Wno-unused -Wno-non-virtual-dtor -Wno-invalid-offsetof -Wno-sign-compare -Wno-unused -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -fvisibility=hidden -DVBOX_HAVE_VISIBILITY_HIDDEN -DRT_USE_VISIBILITY_DEFAULT -fdiagnostics-show-option -Wno-delete-non-virtual-dtor -fPIC -Wno-write-strings -O -pthread -m64 -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/java/src -I/usr/lib/jvm/default-java/include -I/usr/lib/jvm/default-java/include/linux -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/xpcom/glue -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/xpcom/build -I/home/user/VirtualBox-6.1.14/out/linux.amd64/release/obj/vboxjxpcom-gen/jdest -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/xpcom/build -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/xpcom/ds -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/xpcom/io -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/xpcom/base -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/xpcom/components -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/xpcom/threads -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/xpcom/proxy/src -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/xpcom/reflect/xptcall/src -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/ipc/ipcd/client/src -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/ipc/ipcd/shared/src -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/ipc/ipcd/extensions/lock/src -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/ipc/ipcd/extensions/transmngr/src -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/ipc/ipcd/extensions/dconnect/src -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/ipc/ipcd/extensions/transmngr/common -I/home/user/VirtualBox-6.1.14/out/linux.amd64/release/bin/sdk/bindings/xpcom/include -I/home/user/VirtualBox-6.1.14/out/linux.amd64/release/bin/sdk/bindings/xpcom/include/nsprpub -I/home/user/VirtualBox-6.1.14/out/linux.amd64/release/bin/sdk/bindings/xpcom/include/string -I/home/user/VirtualBox-6.1.14/out/linux.amd64/release/bin/sdk/bindings/xpcom/include/xpcom -I/home/user/VirtualBox-6.1.14/out/linux.amd64/release/bin/sdk/bindings/xpcom/include/ipcd -I/home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/java -I/home/user/VirtualBox-6.1.14/out/linux.amd64/release/obj/VBoxJXpcom/dtrace -I/home/user/VirtualBox-6.1.14/include -I/home/user/VirtualBox-6.1.14/out/linux.amd64/release -DVBOX -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_AMD64 -D__AMD64__ -DVBOX_WITH_DEBUGGER -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE="/opt/VirtualBox" -DRTPATH_APP_PRIVATE_ARCH="/opt/VirtualBox" -DRTPATH_SHARED_LIBS="/opt/VirtualBox" -DRTPATH_APP_DOCS="/opt/VirtualBox" -DMOZILLA_CLIENT=1 -DNDEBUG=1 -D_IMPL_NS_COM -DXPCOM_DLL_BASE="VBoxXPCOM" -DMOZ_DLL_SUFFIX=".so" -DIN_RING3 -DVBOX_USE_IPRT_IN_XPCOM -DVBOX_WITH_XPCOM_NAMESPACE_CLEANUP -DMOZ_PRESERVE_PIC -DEXPORT_XPTI_API -DEXPORT_XPT_API -DVBOX_WITH_XPCOM -DOSTYPE="Linux2.6" -DOSARCH="Linux" -DXP_UNIX=1 -D_GNU_SOURCE -DHAVE_VISIBILITY_ATTRIBUTE=1 -DHAVE_VA_LIST_AS_ARRAY -DHAVE_VA_COPY -DVA_COPY(a,b)=__builtin_va_copy(a,b) -Wp,-MD,/home/user/VirtualBox-6.1.14/out/linux.amd64/release/obj/VBoxJXpcom/src/nsJavaWrapper.o.dep -Wp,-MT,/home/user/VirtualBox-6.1.14/out/linux.amd64/release/obj/VBoxJXpcom/src/nsJavaWrapper.o -Wp,-MP -o /home/user/VirtualBox-6.1.14/out/linux.amd64/release/obj/VBoxJXpcom/src/nsJavaWrapper.o /home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/java/src/nsJavaWrapper.cpp kBuild: Compiling VBoxJXpcom - /home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/java/src/nsJavaWrapper.cpp In file included from /home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/java/src/nsJavaWrapper.cpp:37: /home/user/VirtualBox-6.1.14/src/libs/xpcom18a4/java/src/nsJavaInterfaces.h:40:10: fatal error: jni.h: Нет такого файла или каталога 40 | #include «jni.h» | ^~~~~~~ compilation terminated. kmk: *** [/home/user/VirtualBox-6.1.14/kBuild/footer-pass2-compiling-targets.kmk:277: /home/user/VirtualBox-6.1.14/out/linux.amd64/release/obj/VBoxJXpcom/src/nsJavaWrapper.o] Error 1 kmk: *** Waiting for unfinished jobs…. kBuild: Compiling VBoxDTraceCmd - /home/user/VirtualBox-6.1.14/out/linux.amd64/release/obj/VBoxDTraceCmd/dt_errtags.c [/code]