Leigh, On Friday 12 August 2011 14:09:07 Leigh Hebblethwaite wrote: > 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@OracleLinuxLH VBOXADDITIONS_4.1.0_73009]$ sudo > ./VBoxLinuxAdditions.run > [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 > restart > the guest system) to enable the Guest Additions. > > Installing graphics libraries and desktop services componen[ OK ] > [leigh@OracleLinuxLH VBOXADDITIONS_4.1.0_73009]$ > ======================================================================== > ======= > > The OpenGL Support module fails to build.
This error is not fatal. The DRM module just failed to compile, but the other modules compiled fine and the installation succeeded. > 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 > /tmp/vbox.0/include/VBox/VBoxGuestMangling.h > -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__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 > -DVBOX -DVBOX_WITH_HGCM -DLOG_TO_BACKDOOR -DIN_MODULE -DIN_GUEST_R0 > -DRT_NO_EXPORT_SYMBOL -DRT_ARCH_X86 -DMODULE -D"KBUILD_STR(s)=#s" > -D"KBUILD_BASENAME=KBUILD_STR(vboxvideo_drm)" > -D"KBUILD_MODNAME=KBUILD_STR(vboxvideo)" -D"DEBUG_HASH=7" > -D"DEBUG_HASH2=50" -c -o /tmp/vbox.0/.tmp_vboxvideo_drm.o > /tmp/vbox.0/vboxvideo_drm.c > /tmp/vbox.0/vboxvideo_drm.c:73:22: error: drm/drmP.h: No such file or > directory > ======================================================================== > ======= > > There follow other 'drm' related errors, but I guess that they all stem > from this failure to find drm/drmP.h. Correct, the header file is just missing in the 2.6.32-100 UEK kernel sources. Therefore the compilation fails. > There is a copy of drmP.h in the guest system: You were searching in the wrong directory. The module was not built for the 2.6.32-131 kernel but for the 2.6.32-100 UEK kernel! Kind regards, Frank -- Dr.-Ing. Frank Mehnert Senior Manager Software Development Desktop Virtualization, VirtualBox ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | 71384 Weinstadt, Germany Hauptverwaltung: Riesstr. 25, D-80992 München Registergericht: Amtsgericht München, HRA 95603 Komplementärin: ORACLE Deutschland Verwaltung B.V. Hertogswetering 163/167, 3543 AS Utrecht, Niederlande Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697 Geschäftsführer: Jürgen Kunz, Marcel van de Molen, Alexander van der Ven
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
