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)
Change History (8)
by , 12 years ago
Attachment: | vboxadd-install.log added |
---|
by , 12 years ago
comment:1 by , 12 years ago
comment:2 by , 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 , 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:5 by , 12 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
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 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
The Debian problem is covered in #11634.
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
This should successfully compile the guest modules.