Page 1 of 1

VBoxGuestAdditions_5.2.22 fails

Posted: 25. Dec 2018, 23:26
by virtron
My Host is MS Windows 10 system, where I have VirtualBox running.
I recently upgraded to vbox 5.2.22 and noticed my <Devices> - <Install Guest Additons ... > don't work

I did the following to run the Guest additions in from command line:

1. made sure the <Settings> <Storage> <VBoxGuestAdditions_5.2.22.iso> is selected.

2. Then in the guest VM, which is CentOS 7 I manually mounted the cd:
# mount /dev/cdrom /mnt/VboxAdditions/
# cd /mnt/VboxAdditions/
# ./VBoxLinuxAdditions.run
Note: I made sure all my dependency pkgs were installed, e.g. dkms, make, kernel-devel, bzip2, etc
# Definitely the VBoxLinuxAdditions.run is failing ...
# Following is the snippets of the error msg from /var/log/vboxadd-setup.log
<snip>
[root@client20 log]# tail -15 vboxadd-setup.log
                 from /tmp/vbox.0/vbox_mode.c:35:
include/drm/drm_encoder.h:221:35: note: expected ‘struct drm_file *’ but argument is of type ‘int’
 static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev,
                                   ^
/tmp/vbox.0/vbox_mode.c:358:3: error: too few arguments to function ‘drm_encoder_find’
   return drm_encoder_find(connector->dev, enc_id);
   ^
In file included from /tmp/vbox.0/vbox_drv.h:89:0,
                 from /tmp/vbox.0/vbox_mode.c:35:
include/drm/drm_encoder.h:221:35: note: declared here
 static inline struct drm_encoder *drm_encoder_find(struct drm_device *dev,
                                   ^
make[2]: *** [/tmp/vbox.0/vbox_mode.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxvideo] Error 2
<snip>
Note: this appears to be a bug with the new release. I wonder weather there is a workaround?
Appreciate dedicated vbox experts give me an insight to my issue.

Re: VBoxGuestAdditions_5.2.22 fails

Posted: 26. Dec 2018, 18:00
by socratis
Try the latest 5.2.x test build from https://www.virtualbox.org/wiki/Testbuilds