#1 Le 04/05/2020, à 18:26
- LukePerp
[Abandonné] Additions invité mauvaise version
Bonjour,
J'ai l'habitude d'utiliser virtualbox depuis des années et j'ai fait des tutos dessus. Pourtant, depuis la sortie de 20.04, j'ai un petit soucis. Sous Ubuntu 18.04, j'ai créé une vm de 20.04 avec virtualbox 5.2.34. Lorsque j'installe les additions invité 5.2.34 dans la vm 20.04, l'opération de se termine par une erreur mais les additions invité sont installés, en mauvaise version. En redémarrant la vm, les additions invité sont installés mais il s'agit de la version 6.1.6 au lieu de 5.2.34. J'ai désinstallé et refait plusieurs fois l'opération, mais sans succès, je n'arrive pas à installer la bonne version des additions invité. J'ai également downgradé les additions invité suivant des tutos, mais sans succès, les additions invité reste sur 6.1.6. Je veux la meme version des additions invité que mon virtualbox, parce que ces additions installées (6.1.6) provoquent un léger lag avec la souris et un affichage pas très réactif. Lors de l'installation des additions invité 5.2.34 dans la vm, j'ai :
sudo apt install build-essential dkms
...
--2020-05-04 19:12:36-- http://download.virtualbox.org/virtualbox/5.2.34/VBoxGuestAdditions_5.2.34.iso
Résolution de download.virtualbox.org (download.virtualbox.org)… 104.80.20.37
Connexion à download.virtualbox.org (download.virtualbox.org)|104.80.20.37|:80… connecté.
requête HTTP transmise, en attente de la réponse… 200 OK
Taille : 49661952 (47M) [application/octet-stream]
Enregistre : «VBoxGuestAdditions.iso»
VBoxGuestAdditions.iso 100%[========================================>] 47,36M 2,69MB/s ds 17s
2020-05-04 19:12:53 (2,86 MB/s) - «VBoxGuestAdditions.iso» enregistré [49661952/49661952]
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.34 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.34 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel
modules. This may take a while.
VirtualBox Guest Additions: To build modules for other installed kernels, run
VirtualBox Guest Additions: /sbin/rcvboxadd quicksetup <version>
VirtualBox Guest Additions: Building the modules for kernel 5.4.0-26-generic.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what
went wrong
VirtualBox Guest Additions: Running kernel modules will not be replaced until
the system is restarted
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: Building the modules for kernel 5.4.0-26-generic.
VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what
went wrong
Du coup, j'ai ouvert le fichier log, ça donne :
utilisateur@utilisateur-VirtualBox:~$ cat /var/log/vboxadd-setup.log
Building the main Guest Additions module for kernel 5.4.0-26-generic.
Error building the module. Build output follows.
make V=1 CONFIG_MODULE_SIG= -C /lib/modules/5.4.0-26-generic/build M=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j3 modules
make[1]: warning: -j3 forced in submake: resetting jobserver mode.
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)
make -f ./scripts/Makefile.build obj=/tmp/vbox.0 \
single-build= \
need-builtin=1 need-modorder=1
gcc -Wp,-MD,/tmp/vbox.0/.VBoxGuest-linux.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -Wno-declaration-after-statement -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h -fno-pie -I./include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxguest/ -I/tmp/vbox.0/vboxguest/include -I/tmp/vbox.0/vboxguest/r0drv/linux -D__KERNEL__ -DMODULE -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -DKBUILD_BASENAME='"VBoxGuest_linux"' -DKBUILD_MODNAME='"vboxguest"' -c -o /tmp/vbox.0/VBoxGuest-linux.o /tmp/vbox.0/VBoxGuest-linux.c
gcc -Wp,-MD,/tmp/vbox.0/.VBoxGuest.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -Wno-declaration-after-statement -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h -fno-pie -I./include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxguest/ -I/tmp/vbox.0/vboxguest/include -I/tmp/vbox.0/vboxguest/r0drv/linux -D__KERNEL__ -DMODULE -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -DKBUILD_BASENAME='"VBoxGuest"' -DKBUILD_MODNAME='"vboxguest"' -c -o /tmp/vbox.0/VBoxGuest.o /tmp/vbox.0/VBoxGuest.c
gcc -Wp,-MD,/tmp/vbox.0/.VBoxGuestR0LibGenericRequest.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -Wno-declaration-after-statement -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h -fno-pie -I./include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxguest/ -I/tmp/vbox.0/vboxguest/include -I/tmp/vbox.0/vboxguest/r0drv/linux -D__KERNEL__ -DMODULE -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -DKBUILD_BASENAME='"VBoxGuestR0LibGenericRequest"' -DKBUILD_MODNAME='"vboxguest"' -c -o /tmp/vbox.0/VBoxGuestR0LibGenericRequest.o /tmp/vbox.0/VBoxGuestR0LibGenericRequest.c
/tmp/vbox.0/VBoxGuest.c: In function ‘vgdrvCheckIfVmmReqIsAllowed’:
/tmp/vbox.0/VBoxGuest.c:2060:16: warning: this statement may fall through [-Wimplicit-fallthrough=]
2060 | if (pSession->fUserSession)
| ^
/tmp/vbox.0/VBoxGuest.c:2062:9: note: here
2062 | case kLevel_AllUsers:
| ^~~~
gcc -Wp,-MD,/tmp/vbox.0/.VBoxGuestR0LibHGCMInternal.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/9/include -I./arch/x86/include -I./arch/x86/include/generated -I./include -I./arch/x86/include/uapi -I./arch/x86/include/generated/uapi -I./include/uapi -I./include/generated/uapi -include ./include/linux/kconfig.h -Iubuntu/include -include ./include/linux/compiler_types.h -D__KERNEL__ -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -Werror=implicit-function-declaration -Werror=implicit-int -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -DCONFIG_X86_X32_ABI -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_AVX512=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -Wno-sign-compare -fno-asynchronous-unwind-tables -mindirect-branch=thunk-extern -mindirect-branch-register -fno-jump-tables -fno-delete-null-pointer-checks -Wno-frame-address -Wno-format-truncation -Wno-format-overflow -Wno-address-of-packed-member -O2 --param=allow-store-data-races=0 -Wframe-larger-than=1024 -fstack-protector-strong -Wno-unused-but-set-variable -Wimplicit-fallthrough -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -mrecord-mcount -mfentry -DCC_USING_FENTRY -flive-patching=inline-clone -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wno-stringop-truncation -fno-strict-overflow -fno-merge-all-constants -fmerge-constants -fno-stack-check -fconserve-stack -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -fmacro-prefix-map=./= -fcf-protection=none -Wno-packed-not-aligned -Wno-declaration-after-statement -include /tmp/vbox.0/include/VBox/VBoxGuestMangling.h -fno-pie -I./include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxguest/ -I/tmp/vbox.0/vboxguest/include -I/tmp/vbox.0/vboxguest/r0drv/linux -D__KERNEL__ -DMODULE -DVBOX -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_MODULE -DRT_WITH_VBOX -DVBGL_VBOXGUEST -DVBOX_WITH_HGCM -DRT_ARCH_AMD64 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -DKBUILD_BASENAME='"VBoxGuestR0LibHGCMInternal"' -DKBUILD_MODNAME='"vboxguest"' -c -o /tmp/vbox.0/VBoxGuestR0LibHGCMInternal.o /tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c
In file included from ././include/linux/compiler_types.h:59,
from <command-line>:
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c: In function ‘vbglR0HGCMInternalPreprocessCall’:
./include/linux/compiler_attributes.h:200:41: error: expected ‘)’ before ‘__attribute__’
200 | # define fallthrough __attribute__((__fallthrough__))
| ^~~~~~~~~~~~~
/tmp/vbox.0/include/iprt/cdefs.h:1116:48: note: in expansion of macro ‘fallthrough’
1116 | # define RT_FALL_THROUGH() __attribute__((fallthrough))
| ^~~~~~~~~~~
/tmp/vbox.0/include/iprt/cdefs.h:1123:33: note: in expansion of macro ‘RT_FALL_THROUGH’
1123 | #define RT_FALL_THRU() RT_FALL_THROUGH()
| ^~~~~~~~~~~~~~~
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c:271:17: note: in expansion of macro ‘RT_FALL_THRU’
271 | RT_FALL_THRU();
| ^~~~~~~~~~~~
In file included from /tmp/vbox.0/include/iprt/types.h:29,
from /tmp/vbox.0/VBoxGuestR0LibInternal.h:33,
from /tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c:33:
/tmp/vbox.0/include/iprt/cdefs.h:1116:60: error: expected identifier or ‘(’ before ‘)’ token
1116 | # define RT_FALL_THROUGH() __attribute__((fallthrough))
| ^
/tmp/vbox.0/include/iprt/cdefs.h:1123:33: note: in expansion of macro ‘RT_FALL_THROUGH’
1123 | #define RT_FALL_THRU() RT_FALL_THROUGH()
| ^~~~~~~~~~~~~~~
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c:271:17: note: in expansion of macro ‘RT_FALL_THRU’
271 | RT_FALL_THRU();
| ^~~~~~~~~~~~
In file included from ././include/linux/compiler_types.h:59,
from <command-line>:
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c: In function ‘vbglR0HGCMInternalInitCall’:
./include/linux/compiler_attributes.h:200:41: error: expected ‘)’ before ‘__attribute__’
200 | # define fallthrough __attribute__((__fallthrough__))
| ^~~~~~~~~~~~~
/tmp/vbox.0/include/iprt/cdefs.h:1116:48: note: in expansion of macro ‘fallthrough’
1116 | # define RT_FALL_THROUGH() __attribute__((fallthrough))
| ^~~~~~~~~~~
/tmp/vbox.0/include/iprt/cdefs.h:1123:33: note: in expansion of macro ‘RT_FALL_THROUGH’
1123 | #define RT_FALL_THRU() RT_FALL_THROUGH()
| ^~~~~~~~~~~~~~~
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c:545:17: note: in expansion of macro ‘RT_FALL_THRU’
545 | RT_FALL_THRU();
| ^~~~~~~~~~~~
In file included from /tmp/vbox.0/include/iprt/types.h:29,
from /tmp/vbox.0/VBoxGuestR0LibInternal.h:33,
from /tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c:33:
/tmp/vbox.0/include/iprt/cdefs.h:1116:60: error: expected identifier or ‘(’ before ‘)’ token
1116 | # define RT_FALL_THROUGH() __attribute__((fallthrough))
| ^
/tmp/vbox.0/include/iprt/cdefs.h:1123:33: note: in expansion of macro ‘RT_FALL_THROUGH’
1123 | #define RT_FALL_THRU() RT_FALL_THROUGH()
| ^~~~~~~~~~~~~~~
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c:545:17: note: in expansion of macro ‘RT_FALL_THRU’
545 | RT_FALL_THRU();
| ^~~~~~~~~~~~
In file included from ././include/linux/compiler_types.h:59,
from <command-line>:
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c: In function ‘vbglR0HGCMInternalCopyBackResult’:
./include/linux/compiler_attributes.h:200:41: error: expected ‘)’ before ‘__attribute__’
200 | # define fallthrough __attribute__((__fallthrough__))
| ^~~~~~~~~~~~~
/tmp/vbox.0/include/iprt/cdefs.h:1116:48: note: in expansion of macro ‘fallthrough’
1116 | # define RT_FALL_THROUGH() __attribute__((fallthrough))
| ^~~~~~~~~~~
/tmp/vbox.0/include/iprt/cdefs.h:1123:33: note: in expansion of macro ‘RT_FALL_THROUGH’
1123 | #define RT_FALL_THRU() RT_FALL_THROUGH()
| ^~~~~~~~~~~~~~~
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c:812:17: note: in expansion of macro ‘RT_FALL_THRU’
812 | RT_FALL_THRU();
| ^~~~~~~~~~~~
In file included from /tmp/vbox.0/include/iprt/types.h:29,
from /tmp/vbox.0/VBoxGuestR0LibInternal.h:33,
from /tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c:33:
/tmp/vbox.0/include/iprt/cdefs.h:1116:60: error: expected identifier or ‘(’ before ‘)’ token
1116 | # define RT_FALL_THROUGH() __attribute__((fallthrough))
| ^
/tmp/vbox.0/include/iprt/cdefs.h:1123:33: note: in expansion of macro ‘RT_FALL_THROUGH’
1123 | #define RT_FALL_THRU() RT_FALL_THROUGH()
| ^~~~~~~~~~~~~~~
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c:812:17: note: in expansion of macro ‘RT_FALL_THRU’
812 | RT_FALL_THRU();
| ^~~~~~~~~~~~
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c: In function ‘vbglR0HGCMInternalPreprocessCall’:
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c:259:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
259 | if (!VBGLR0_CAN_USE_PHYS_PAGE_LIST(/*a_fLocked =*/ true))
| ^
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c:273:13: note: here
273 | case VMMDevHGCMParmType_LinAddr_In:
| ^~~~
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c: In function ‘vbglR0HGCMInternalInitCall’:
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c:539:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
539 | if (!VBGLR0_CAN_USE_PHYS_PAGE_LIST(/*a_fLocked =*/ true))
| ^
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c:547:13: note: here
547 | case VMMDevHGCMParmType_LinAddr_In:
| ^~~~
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c: In function ‘vbglR0HGCMInternalCopyBackResult’:
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c:807:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
807 | if (!VBGLR0_CAN_USE_PHYS_PAGE_LIST(/*a_fLocked =*/ true))
| ^
/tmp/vbox.0/VBoxGuestR0LibHGCMInternal.c:814:13: note: here
814 | case VMMDevHGCMParmType_LinAddr_Out:
| ^~~~
make[2]: *** [scripts/Makefile.build:275: /tmp/vbox.0/VBoxGuestR0LibHGCMInternal.o] Error 1
make[2]: *** Attente des tâches non terminées....
make[1]: *** [Makefile:1719: /tmp/vbox.0] Error 2
make: *** [/tmp/vbox.0/Makefile.include.footer:100: vboxguest] Error 2
utilisateur@utilisateur-VirtualBox:~$
Je n'arrive pas à installer la bonne version des additions invités, c'est à dire la version de mon virtualbox : 5.2.34
Pourriez-vous m'aide svp ?
Dernière modification par LukePerp (Le 15/05/2020, à 09:50)
Gamer inside - Ubuntu Mate dernière LTS - Intel i5, 16 Go - Dual boot Windows - Ethereum user
Hors ligne
#2 Le 08/05/2020, à 17:10
- noje
Re : [Abandonné] Additions invité mauvaise version
De mon côté l’installation c’est déroulé mieux que pour toi, le message d’erreur à la fin de l’installation est très fréquent et souvent n’impact en rien le chargement des modules et l’utilisation des fonctionnalités supplémentaires offertes.
Ton kernel est annoncé comme étant le 5.4.0-26-generic, est-ce que ta distribution à été mise à jour, mon noyau est le « 5.4.0-29-generic ».
Dans ton fichier log par contre il semble manquer ce fichier « compiler_attributes.h », mentionné à trois reprises.
Ce fichier est fourni par les headers du noyau qui sont nécessaire pour la compilation, chez moi un locate montre que ce fichier est bien lié aux packages des headers du noyau.
bash-5.0$ locate compiler_attributes.h
/usr/src/linux-headers-5.4.0-26/include/linux/compiler_attributes.h
/usr/src/linux-headers-5.4.0-28/include/linux/compiler_attributes.h
/usr/src/linux-headers-5.4.0-29/include/linux/compiler_attributes.h
Est-ce que tu as bien les fichiers headers propres à ton noyau installé ?
apt list --installed | grep headers
Si tu n’as pas dans les retours une mention : « linux-headers-5.4.0-26-generic» avec [installé] dedans.
Installe les headers.
sudo apt install linux-headers-5.4.0-26-generic
Regarde si ça solutionne mais ça devrait être le cas, à moins qu’autre chose ne coince, ce qui est le cas si ce package est présent.
Redit si ça solutionne en retour…
Dernière modification par noje (Le 08/05/2020, à 17:12)
- LTS 18.04 & 22.04 - jwm - cwm - zsh
Les seules vraies erreurs sont celles que nous commettons à répétition.
Les autres sont des occasions d'apprentissage. (Dalaï Lama)
Hors ligne
#3 Le 08/05/2020, à 21:16
- LukePerp
Re : [Abandonné] Additions invité mauvaise version
Merci de t'y intéresser. Je n'ai pas fait les mises à jour pour certaines raisons. Voici le retour :
utilisateur@utilisateur-VirtualBox:~$ apt list --installed | grep headers
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
linux-5.4-headers-5.4.0-12/now 5.4.0-12.15 all [installé, local]
linux-headers-5.4.0-12-generic/now 5.4.0-12.15 amd64 [installé, local]
linux-headers-5.4.0-18-generic/now 5.4.0-18.22 amd64 [installé, local]
linux-headers-5.4.0-18/now 5.4.0-18.22 all [installé, local]
linux-headers-5.4.0-26-generic/focal,now 5.4.0-26.30 amd64 [installé, automatique]
linux-headers-5.4.0-26/focal,focal,now 5.4.0-26.30 all [installé, automatique]
linux-headers-generic/focal,now 5.4.0.26.32 amd64 [installé]
utilisateur@utilisateur-VirtualBox:~$ sudo apt install linux-headers-5.4.0-26-generic
[sudo] Mot de passe de utilisateur :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
linux-headers-5.4.0-26-generic est déjà la version la plus récente (5.4.0-26.30).
linux-headers-5.4.0-26-generic passé en « installé manuellement ».
0 mis à jour, 0 nouvellement installés, 0 à enlever et 0 non mis à jour.
utilisateur@utilisateur-VirtualBox:~$ lsmod | grep -io vboxguest | xargs modinfo | grep -iw version
version: 6.1.6_Ubuntu r137129
utilisateur@utilisateur-VirtualBox:~$ sudo /usr/sbin/VBoxService --version
5.2.34r133893
utilisateur@utilisateur-VirtualBox:~$
Dernière modification par LukePerp (Le 08/05/2020, à 21:19)
Gamer inside - Ubuntu Mate dernière LTS - Intel i5, 16 Go - Dual boot Windows - Ethereum user
Hors ligne
#4 Le 09/05/2020, à 03:35
- noje
Re : [Abandonné] Additions invité mauvaise version
Bon ce n'est pas des messages d'erreurs, j'ai les mêmes et tu as les headers de ton noyau installés :
./include/linux/compiler_attributes.h:200:41: error: expected ‘)’ before ‘__attribute__’
200 | # define fallthrough __attribute__((__fallthrough__))
| ^~~~~~~~~~~~~
Le même retour que toi au niveau de la version en interrogation des modules:
bash-5.0$ lsmod | grep -io vboxguest | xargs modinfo | grep -iw version
version: 6.1.6_Ubuntu r13712
9
Par contre c'est bien la version 5.2.34 qui est présente dans /opt
bash-5.0$ ls /opt/
VBoxGuestAdditions-5.2.34
Pour le moment aucun souci particulier rencontré lors de mon utilisation tout semble fonctionner, hormis peut-être le fait que runasroot.sh et l'autorun.sh ne fonctionnaient pas et que j'ai du ajouter mon utilisateur dans le groupe vboxsf manuellement pour accéder aux partages de dossier.
Vais regarder ce qui ce passe et si cette version 6.1.16 est normal ou non....
Dernière modification par noje (Le 09/05/2020, à 03:35)
- LTS 18.04 & 22.04 - jwm - cwm - zsh
Les seules vraies erreurs sont celles que nous commettons à répétition.
Les autres sont des occasions d'apprentissage. (Dalaï Lama)
Hors ligne
#5 Le 15/05/2020, à 09:49
- LukePerp
Re : [Abandonné] Additions invité mauvaise version
Je passe le sujet en abandonné car j'ai mis à niveau mon OS de 18.04 à 20.04 et du coup, virtualbox est passé à 6.1.6. Les additions invités installés sont donc bien 6.1.6 et je n'ai donc plus l'anomalie de mon premier Post.
Gamer inside - Ubuntu Mate dernière LTS - Intel i5, 16 Go - Dual boot Windows - Ethereum user
Hors ligne