Guest addition failed with VB 5.2 on Centos 7.4

Discussions about using Linux guests in VirtualBox.
Post Reply
mn
Posts: 99
Joined: 17. Feb 2013, 21:33

Guest addition failed with VB 5.2 on Centos 7.4

Post by mn »

I have installed Centos 7.4 on the recent Virtualbox 5.2. After installing the centos, I ran "yum upgrade". So the kernel upgraded to 3.10.0-693.5.2.el7.x86_64.

With the gcc-4.8.5 on the system, the Guest additional failed with these compiler errors

Code: Select all

/tmp/vbox.0/modesetting.c: In function 'hgsmi_get_mode_hints':
/tmp/vbox.0/modesetting.c:320:2: error: implicit declaration of function 'AssertPtr' [-Werror=implicit-function-declaration]
   // LogFunc(("HGSMIHeapAlloc failed\n"));
  ^
There some similar error at hgsmi_base.c:99:2

Is it possible to fix that or I have to downgrade the virtualbox?
bfeider
Posts: 2
Joined: 20. Nov 2017, 22:39

Re: Guest addition failed with VB 5.2 on Centos 7.4

Post by bfeider »

I had same issue with Oracle Linux 7.4 and tracked the possible problem to the Guest additions that ships with 5.2 being broken. I rebuilt my VM and before adding the guest additions copied an older 5.1.30 guest addition .iso file over the C:\Program Files\Oracle\VirtualBox\VBoxGuestAdditions.iso file before clicking on the Devices->Insert Guest Additions DC image... to mount the .iso CD image and re-running it. This seems to have fixed the problem for me.
mn
Posts: 99
Joined: 17. Feb 2013, 21:33

Re: Guest addition failed with VB 5.2 on Centos 7.4

Post by mn »

There is an update for the addition iso. Please go to the web site and download the latest iso separately.
Post Reply