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:
Note: I made sure all my dependency pkgs were installed, e.g. dkms, make, kernel-devel, bzip2, etc# mount /dev/cdrom /mnt/VboxAdditions/ # cd /mnt/VboxAdditions/ # ./VBoxLinuxAdditions.run
# Definitely the VBoxLinuxAdditions.run is failing ...
# Following is the snippets of the error msg from /var/log/vboxadd-setup.log
Note: this appears to be a bug with the new release. I wonder weather there is a workaround?<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>
Appreciate dedicated vbox experts give me an insight to my issue.