[vbox-dev] Problem building with VBox additions on Oracle Linux 6.1

Leigh Hebblethwaite lHebblethwaite at transoft.com
Fri Aug 12 05:09:07 PDT 2011


I have installed Oracle Linux 6.1 as a guest under VBox 4.1. The Host OS
is Windows XP SP3.

Attempting to build the VBox additions gives:

[leigh at OracleLinuxLH VBOXADDITIONS_4.1.0_73009]$ sudo
[sudo] password for leigh: 
Verifying archive integrity... All good.
Uncompressing VirtualBox 4.1.0 Guest Additions for Linux.........
VirtualBox Guest Additions installer
Removing installed version 4.1.0 of VirtualBox Guest Additions...
Removing existing VirtualBox DKMS kernel modules           [  OK  ]
Removing existing VirtualBox non-DKMS kernel modules       [  OK  ]
Building the VirtualBox Guest Additions kernel modules
Building the main Guest Additions module                   [  OK  ]
Building the shared folder support module                  [  OK  ]
Building the OpenGL support module                         [FAILED]
(Look at /var/log/vboxadd-install.log to find out what went wrong)
Installing the Window System drivers
Installing X.Org Server 1.7 modules                        [  OK  ]
Setting up the Window System to use the Guest Additions    [  OK  ]
You may need to restart the hal service and the Window System (or just
the guest system) to enable the Guest Additions.

Installing graphics libraries and desktop services componen[  OK  ]
[leigh at OracleLinuxLH VBOXADDITIONS_4.1.0_73009]$

The OpenGL Support module fails to build.

I looked at the /var/log/vboxadd-install.log as advised. The first error
occurs here:

make -f scripts/Makefile.build obj=/tmp/vbox.0
  gcc -Wp,-MD,/tmp/vbox.0/.vboxvideo_drm.o.d  -nostdinc -isystem
/usr/lib/gcc/i686-redhat-linux/4.4.5/include -Iinclude
-I/usr/src/kernels/2.6.32-100.34.1.el6uek.i686/arch/x86/include -include
include/linux/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Wno-format-security
-fno-delete-null-pointer-checks -Os -m32 -msoft-float -mregparm=3
-freg-struct-return -mpreferred-stack-boundary=2 -march=i686
-mtune=generic -Wa,-mtune=generic32 -ffreestanding -fstack-protector
-DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare
-fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow
-Wframe-larger-than=1024 -fno-omit-frame-pointer
-fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement
-Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm
-fconserve-stack -fshort-wchar -include
-I/lib/modules/2.6.32-100.34.1.el6uek.i686/build/include -I/tmp/vbox.0/
-I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/vboxvideo/
-I/tmp/vbox.0/vboxvideo/include -I/tmp/vbox.0/vboxvideo/r0drv/linux
-D"DEBUG_HASH2=50" -c -o /tmp/vbox.0/.tmp_vboxvideo_drm.o
/tmp/vbox.0/vboxvideo_drm.c:73:22: error: drm/drmP.h: No such file or

There follow other 'drm' related errors, but I guess that they all stem
from this failure to find drm/drmP.h.

There is a copy of drmP.h in the guest system:

[leigh at OracleLinuxLH Desktop]$ sudo find / -name drmP.h
[leigh at OracleLinuxLH Desktop]$

I don't think that this directory is being searched by the compilation
having the error.

Is this a known problem? If it is then please accept my apologies.

Is there a resolution for this?

Many Thanks,


Leigh Hebblethwaite
Consultant - Transoft, part of IRIS

This email and any attachment are intended only for the use of the individual or entity to which it is directed and may contain information which is confidential.  Access, copying or re-use of information in or attached to this email by anyone else other than the intended recipient is strictly prohibited.  If you have received this communication and you are not the intended recipient or the employee or agent responsible for delivering this email to the intended recipient, please inform IRIS on telephone number 01753 212200 and then delete this email and any attachments from your system.  

IRIS makes no representation or warranty as to the absence of viruses in this email or any attachments and we may monitor emails sent to and from our server.

Any views or opinions presented in this email or attachment are solely those of the author and do not necessarily represent those of IRIS Software  Group Limited, its parent, associates, subsidiaries or affiliates, unless otherwise expressly indicated.

IRIS Software Group Limited is a Company registered in England and Wales under number 6294985 at Riding Court House, Datchet, Berkshire SL3 9JT

VAT number 678 7928 53

This message has been scanned for malware by SurfControl plc. www.surfcontrol.com

More information about the vbox-dev mailing list