Guest addition failed with VB 5.2 on Centos 7.4

Discussions about using Linux guests in VirtualBox.

Guest addition failed with VB 5.2 on Centos 7.4

Postby mn » 11. Nov 2017, 16:52

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   Expand viewCollapse view
/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?
mn
 
Posts: 63
Joined: 17. Feb 2013, 21:33

Re: Guest addition failed with VB 5.2 on Centos 7.4

Postby bfeider » 20. Nov 2017, 22:58

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.
bfeider
 
Posts: 2
Joined: 20. Nov 2017, 22:39

Re: Guest addition failed with VB 5.2 on Centos 7.4

Postby mn » 21. Nov 2017, 09:30

There is an update for the addition iso. Please go to the web site and download the latest iso separately.
mn
 
Posts: 63
Joined: 17. Feb 2013, 21:33


Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 16 guests