VirtualBox

Ticket #10756 (closed defect: fixed)

Opened 22 months ago

Last modified 13 months ago

VBoxGuestAdditions fails for compile vboxvideo_drm.c

Reported by: profkonyn Owned by:
Priority: major Component: guest additions
Version: VirtualBox 4.1.18 Keywords: opengl, video, guest additions
Cc: Guest type: Linux
Host type: Windows

Description

When installing VBoxGuestAdditions on a CentOS 6.3 x86_64 guest on a Windows 7 x64 host, the installer fails with

Building the OpenGL support module [FAILED]

The kernel information for the guest system is: Linux xxx 2.6.32-279.1.1.el6.x86_64 #1 SMP Tue Jul 10 13:47:21 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

An extract from the build log file: (see attachment) /tmp/vbox.0/vboxvideo_drm.c:114: warning: braces around scalar initializer /tmp/vbox.0/vboxvideo_drm.c:114: warning: (near initialization for ‘driver.fops’) /tmp/vbox.0/vboxvideo_drm.c:115: error: field name not in record or union initializer

Attachments

vboxadd-install.log Download (156.2 KB) - added by profkonyn 22 months ago.
VBox.log Download (96.1 KB) - added by profkonyn 22 months ago.

Change History

Changed 22 months ago by profkonyn

Changed 22 months ago by profkonyn

comment:1 Changed 21 months ago by frank

Thanks for the report. You can find the fix in r42164. You can apply this fix manually to the guest module and after that execute

/etc/init.d/vboxadd setup

This should successfully compile the guest modules.

comment:2 Changed 21 months ago by michael

Or you can try this test build from the stable branch (usual disclaimer applies):

 http://www.virtualbox.org/download/testcase/VBoxGuestAdditions_4.1.19-79161.iso

comment:3 Changed 21 months ago by st222

Expanding on the above, the following commands can be used:

cd /usr/src/vboxguest-4.1.18/vboxvideo
sudo mv vboxvideo_drm.c vboxvideo_drm.c.orig
sudo svn export -r 42164 https://www.virtualbox.org/svn/vbox/trunk/src/VBox/Additions/linux/drm/vboxvideo_drm.c
sudo /etc/init.d/vboxadd setup

comment:4 Changed 20 months ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fixed in VBox 4.1.20.

comment:5 Changed 13 months ago by decaf

  • Status changed from closed to reopened
  • Resolution fixed deleted

This bug also affects Debian 6.0 Backports 3.2.x kernel.

Debian 7.0 fix:  http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1110037.html

Kernel installed from  http://backports.debian.org

comment:6 Changed 13 months ago by frank

  • Status changed from reopened to closed
  • Resolution set to fixed

The Debian problem is covered in #11634.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use