You are not logged in.

#1 2011-01-07 18:42:35

DonVla
Member
From: Bonn, Germany
Registered: 2007-06-07
Posts: 997

[solved] Compilation problems - virtualbox module with custom 2.6.37..

Hi all
I have some problems compiling the vbox drivers on my custom kernel26-n130 (http://aur.archlinux.org/packages.php?ID=32042). From /var/log/vbox-install.log:

gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d  -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/include -I/usr/src/linux-2.6.37-N130/arch/x86/include -Iinclude
In file included from include/linux/io.h:22:0,
                 from include/linux/pci.h:54,
                 from /tmp/vbox.0/r0drv/linux/the-linux-kernel.h:99,
                 from /tmp/vbox.0/linux/SUPDrv-linux.c:32:
/usr/src/linux-2.6.37-N130/arch/x86/include/asm/io.h:45:21: fatal error: xen/xen.h: No such file or directory
compilation terminated.
...

I built the kernel without xen support. It's the same config I used with 2.6.36.2. I found a similar problem here: https://bbs.archlinux.org/viewtopic.php … 61#p871261 . I did the same as .:B:. did and commented out the  "#include <xen/xen.h>" line in  the file mentioned above. Compilation  runs fine and virtualbox seems to run with the drivers compiled this way. Though I don't think this is a very elegant way.
Any other suggestions?

Vlad

PS: Sry for the noise!
Had to install the xen header file...

Last edited by DonVla (2011-01-08 16:26:36)

Offline

Board footer

Powered by FluxBB