Problem compiling guest additions, 5.2.0, on Centos 7

Discussions about using Linux guests in VirtualBox.

Problem compiling guest additions, 5.2.0, on Centos 7

Postby heitkergm » 18. Oct 2017, 19:54

Code: Select all   Expand viewCollapse view
/tmp/vbox.0/hgsmi_base.c: In function ‘hgsmi_send_caps_info’:
/tmp/vbox.0/hgsmi_base.c:99:2: error: implicit declaration of function ‘AssertRC’ [-Werror=implicit-function-declaration]
  AssertRC(p->rc);^M
  ^
cc1: some warnings being treated as errors
make[2]: *** [/tmp/vbox.0/hgsmi_base.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxvideo] Error 2

That's the same error I complained about during the beta program... No one seemed to listen then.

Please investigate and repair ASAP.
Last edited by socratis on 21. Oct 2017, 00:01, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
heitkergm
 
Posts: 12
Joined: 15. Jul 2014, 15:06

Re: Problem compiling guest additions, 5.2.0, on Centos 7

Postby heitkergm » 18. Oct 2017, 20:01

Well, when I deleted the 5.2.0 guest software on the Centos 7 guest, I was able to successfully install the 5.1.30 guest additions (after I found the download for the .iso file).
heitkergm
 
Posts: 12
Joined: 15. Jul 2014, 15:06

Re: Problem compiling guest additions, 5.2.0, on Centos 7

Postby heitkergm » 18. Oct 2017, 20:02

The Centos 7 guest is fully updated and current, running 7.4 and patched up to today...
heitkergm
 
Posts: 12
Joined: 15. Jul 2014, 15:06

Re: Problem compiling guest additions, 5.2.0, on Centos 7

Postby joeman » 18. Oct 2017, 23:47

I just upgraded my Oracle Enterprise Linux 7.4 VM from VBox 5.1.30 (which has been working fine) to VBox 5.2 and am seeing the same issue described above:
Code: Select all   Expand viewCollapse view
/tmp/vbox.0/hgsmi_base.c: In function ‘hgsmi_send_caps_info’:
/tmp/vbox.0/hgsmi_base.c:99:2: error: implicit declaration of function ‘AssertRC’ [-Werror=implicit-function-declaration]
  AssertRC(p->rc);
  ^
/tmp/vbox.0/modesetting.c: In function ‘hgsmi_get_mode_hints’:
/tmp/vbox.0/modesetting.c:330:2: error: implicit declaration of function ‘AssertPtr’ [-Werror=implicit-function-declaration]
   // LogFunc(("HGSMIHeapAlloc failed\n"));
  ^
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[2]: *** [/tmp/vbox.0/hgsmi_base.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [/tmp/vbox.0/modesetting.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxvideo] Error 2
Creating user for the Guest Additions.
Creating udev rule for the Guest Additions kernel module.

Any ideas? I suppose I could just install the 5.1.30 Guest Additions again.
Last edited by socratis on 21. Oct 2017, 00:01, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
joeman
 
Posts: 4
Joined: 22. Sep 2011, 14:42
Primary OS: Linux other
VBox Version: OSE other
Guest OSses: Windows 7, Oracle Enterprise Linux, Mint Linux, CentOS Linux

Re: Problem compiling guest additions, 5.2.0, on Centos 7

Postby heitkergm » 19. Oct 2017, 01:32

That`s what I did, reinstall 5.1.30 guest additions. THAT worked fine.
heitkergm
 
Posts: 12
Joined: 15. Jul 2014, 15:06

Re: Problem compiling guest additions, 5.2.0, on Centos 7

Postby heitkergm » 19. Oct 2017, 01:33

Oh, while I remember, CentOS 7 is a open-source rebuild of RHEL7. Oracle Linux is an opinionated rebuild of the open-source part of RHEL7. All 3 of these should fail in the same way...
heitkergm
 
Posts: 12
Joined: 15. Jul 2014, 15:06

Cannot install GuestAdditions_5.2.1 on CentOS 7

Postby Simple07 » 19. Oct 2017, 05:27

Installed CentOS 7 with the latest updates on VirtualBox-5.2.0-118431-Win.exe, Extension_Pack-5.2.0-118431. But the installation of VBoxGuestAdditions_5.2.0 or 5.2.1 fails.

Removed VirtualBox-5.2.0-118431-Win and installed VirtualBox-5.1.30-118389-Win with Extension_Pack-5.1.30-118389, then the installation of VBoxGuestAdditions_5.1.30-118389 on CentOS 7 is successful.

Removed VirtualBox-5.1.30-118389-Win and reinstalled VirtualBox-5.2.0-118431-Win, CentOS 7 is displaying fine. In fact a reinstallation of VBoxGuestAdditions-5.1.30-118389 again is successful.

Attached vboxadd-setup.log
Attachments
vboxadd-setup.zip
vboxadd-setup.log
(6.58 KiB) Downloaded 32 times
Simple07
 
Posts: 80
Joined: 5. Nov 2014, 16:05

Re: Cannot install GuestAdditions_5.2.1 on CentOS 7

Postby Zann » 19. Oct 2017, 09:15

I am having similar issues with Ubuntu GNOME 16.04.3 and Ubuntu 17.10 Beta 2 guests:

Code: Select all   Expand viewCollapse view
zann@poop:~$ grep fail /var/log/vboxadd-setup.log
scripts/Makefile.build:294: recipe for target '/tmp/vbox.0/hgsmi_base.o' failed
Makefile:1524: recipe for target '_module_/tmp/vbox.0' failed
/tmp/vbox.0/Makefile.include.footer:97: recipe for target 'vboxvideo' failed

-Z.
Zann
 
Posts: 1
Joined: 19. Oct 2017, 09:06

Re: Problem compiling guest additions, 5.2.0, on Centos 7

Postby socratis » 19. Oct 2017, 17:21

@Simple07, zann
I merged your posts with an existing thread dealing with the same issue. Please use the search functionality in the future, it saves me a lot of time... ;)
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12649
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Problem compiling guest additions, 5.2.0, on Centos 7

Postby Simple07 » 20. Oct 2017, 22:57

I tried VBoxGuestAdditions_5.2.1-118447.iso first where I got message with some error, then tried VBoxGuestAdditions_5.2.1-118452.iso, then again VBoxGuestAdditions_5.2.1-118447.iso and there is the text results:

Result of installing GuestAdditions_5.2.1-118452:
Code: Select all   Expand viewCollapse view
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.1 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.1 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: modprobe vboxsf failed
Press Return to close this window...

Result of installing GuestAdditions_5.2.1-118447 again:
Code: Select all   Expand viewCollapse view
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.1 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.1 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting.
Press Return to close this window...

The system is now running Guest Additions 118447 and it seems to be working fine.
Last edited by socratis on 21. Oct 2017, 00:00, edited 1 time in total.
Reason: Enclosed the information in [code] tag for better readability
Simple07
 
Posts: 80
Joined: 5. Nov 2014, 16:05

Re: Problem compiling guest additions, 5.2.0, on Centos 7

Postby socratis » 20. Oct 2017, 23:59

I don't know why I didn't move this topic from "Using VirtualBox" to the "Linux Guests" section. Correcting now...

Glad you got it going 'Simple07'...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12649
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Problem compiling guest additions, 5.2.0, on Centos 7

Postby JoergK » 23. Oct 2017, 14:07

Hello,
I'm running a RHEL 7.4 guest on a Win10 host. I was able to install the VBoxGuestAdditions_5.2.1-118447 without any error message. But after rebooting the system I'm suffering the same problem described in: https://forums.virtualbox.org/viewtopic.php?f=3&t=84198&p=404681#p404681

So I reverted the VM to a snapshot with GA installed from the BETA2. This seems to work for me at this point.
JoergK
 
Posts: 14
Joined: 25. Aug 2017, 09:37

Re: Problem compiling guest additions, 5.2.0, on Centos 7

Postby prana » 23. Oct 2017, 14:38

Simple07 wrote:I tried VBoxGuestAdditions_5.2.1-118447.iso first where I got message with some error, then tried VBoxGuestAdditions_5.2.1-118452.iso, then again VBoxGuestAdditions_5.2.1-118447.iso and there is the text results:

Result of installing GuestAdditions_5.2.1-118452:
Code: Select all   Expand viewCollapse view
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.1 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.1 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting.
VirtualBox Guest Additions: modprobe vboxsf failed
Press Return to close this window...

Result of installing GuestAdditions_5.2.1-118447 again:
Code: Select all   Expand viewCollapse view
Verifying archive integrity... All good.
Uncompressing VirtualBox 5.2.1 Guest Additions for Linux........
VirtualBox Guest Additions installer
Removing installed version 5.2.1 of VirtualBox Guest Additions...
Copying additional installer modules ...
Installing additional modules ...
VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules.
VirtualBox Guest Additions: Running kernel modules will not be replaced until the system is restarted
VirtualBox Guest Additions: Starting.
Press Return to close this window...

The system is now running Guest Additions 118447 and it seems to be working fine.


I'm having the same modprobe issue with all the GA 5.2 versions on Ubuntu 17.10 guest on Windows 10 host.
I've tried it your way also, but no luck :(

In such a scenario, how can a bidirectional copy/paste between host and guest can work?
Thanks.

prana.
prana
 
Posts: 1
Joined: 23. Oct 2017, 14:13

Re: Problem compiling guest additions, 5.2.0, on Centos 7

Postby shades_aus » 24. Oct 2017, 02:49

I second this issue on Ubuntu 17.10 Guest.
Windows guest runs 100% CPU and only the Direct 3D option when installing drivers works. The experimental Alpha Blending verison doesn't work. (W7, XP) guests.

Note* If I click on the X to close the window, I get the option box come up for me to select
. Save the machine state
. Send the shutdown signal
. power off the machine.

In the background, I get the Paused screen graphics for the GUI, just like normal.
If I then close this box, that Graphic now stays instead fo a black screen.

I have attempted to downgrade from 5.2.1 + VBoxGuestAdditions_5.2.1-118452.iso
however even
VirtualBox-5.1.26-117224-Win.exe + Oracle_VM_VirtualBox_Extension_Pack-5.1.26-117224 isn't working anymore. I have installed via root from the shell.
The shell works still so, it maybe be the 3D section??

- Just downgraded to 5.1.24 for both my Ubuntu and Centos 7 guest VMs running under Windows. Neither work with GUI.
shades_aus
 
Posts: 6
Joined: 20. Apr 2015, 03:37

Re: Problem compiling guest additions, 5.2.0, on Centos 7

Postby Riot Nrrrd™ » 24. Oct 2017, 10:27

Just wanted to add a "Me too" to this thread. CentOS 7.3 Guest on 5.2.0 Mac OS X Sierra host.

But it's worse for me - after the failed installation, rebooting the CentOS 7.3 Guest results in the guest OS freezing up a couple of minutes after it finishes booting.

I can log in and I had time to unmount the Guest Additions ISO image and ... boom, locked up. Happened three times in a row. I guess my CentOS 7.3 install is hosed now. Thanks a lot! :x
Riot Nrrrd™
 
Posts: 28
Joined: 1. Apr 2012, 01:15

Next

Return to Linux Guests

Who is online

Users browsing this forum: No registered users and 12 guests