VirtualBox

Opened 12 years ago

Closed 12 years ago

#10756 closed defect (fixed)

VBoxGuestAdditions fails for compile vboxvideo_drm.c

Reported by: profkonyn Owned by:
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 (2)

vboxadd-install.log (156.2 KB ) - added by profkonyn 12 years ago.
VBox.log (96.1 KB ) - added by profkonyn 12 years ago.

Download all attachments as: .zip

Change History (8)

by profkonyn, 12 years ago

Attachment: vboxadd-install.log added

by profkonyn, 12 years ago

Attachment: VBox.log added

comment:1 by Frank Mehnert, 12 years ago

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 by Michael Thayer, 12 years ago

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 by steve, 12 years ago

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 by Frank Mehnert, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in VBox 4.1.20.

comment:5 by decaf, 12 years ago

Resolution: fixed
Status: closedreopened

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

Debian 7.0 fix: http://www.mail-archive.com/[email protected]/msg1110037.html

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

comment:6 by Frank Mehnert, 12 years ago

Resolution: fixed
Status: reopenedclosed

The Debian problem is covered in #11634.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette