Ticket #16506 (closed defect: fixed)
guest additions do not build with 4.11 kernel
Reported by: | robatino | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.1.14 |
Keywords: | Cc: | ||
Guest type: | Linux | Host type: | other |
Description
Got an error message while attempting to install guest additions in a Fedora Rawhide guest for the 4.11.0-0.rc0.git2.1.fc26.x86_64 kernel.
vboxadd.sh: failed: Look at /var/log/vboxadd-install.log to find out what went wrong.
Attachments
Change History
Changed 4 years ago by robatino
-
attachment
vboxadd-install.log
added
comment:1 Changed 4 years ago by robatino
This is while using VBoxGuestAdditions_5.1.15-113518.iso, for which the 4.10 kernel guest additions do build successfully.
comment:2 Changed 4 years ago by sergiomb
now I have this error :
/tmp/akmodsbuild.8AmbpSbw/BUILD/VirtualBox-kmod-5.1.14/_kmod_build_4.11.0-0.rc0.git9.1.fc26.x86_64/vboxsf/regops.c:540:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .fault = sf_reg_fault ^~~~~~~~~~~~ /tmp/akmodsbuild.8AmbpSbw/BUILD/VirtualBox-kmod-5.1.14/_kmod_build_4.11.0-0.rc0.git9.1.fc26.x86_64/vboxsf/regops.c:540:14: note: (near initialization for 'sf_vma_ops.fault') CC [M] /tmp/akmodsbuild.8AmbpSbw/BUILD/VirtualBox-kmod-5.1.14_kmod_build_4.11.0-0.rc0.git9.1.fc26.x86_64/vboxsf/utils.o cc1: some warnings being treated as errors
comment:3 Changed 4 years ago by robatino
Appears to work with VirtualBox 5.1.16. It wasn't clear whether it was fixed, the Changelog indicated that it was. I do see "vboxadd.sh: failed: modprobe vboxguest failed." in /var/log/VBoxGuestAdditions.log, but I think that line is always there, whether the GA build or not.
I'm not able to tell whether 4.10 builds, since I'm no longer using that kernel, but it was working earlier with the Test Build Guest Additions, so it should.
/var/log/vboxadd-install.log