|
发表于 2009-10-14 19:44:27
|
显示全部楼层
VirtualBox 3.0.8 r53138 installer, built 2009-10-02T09:30:22Z.
Testing system setup...
System setup appears correct.
Removing previous installation of VirtualBox 3.0.8 r53138 from /opt/VirtualBox
./routines.sh: line 314: /etc/rc.d/rc.vboxnet: 没有那个文件或目录
Stopping VirtualBox kernel module ...done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxdrv/3.0.8/source ->
/usr/src/vboxdrv-3.0.8
DKMS: add Completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=2.6.31-smp -C /lib/modules/2.6.31-smp/build M=/var/lib/dkms/vboxdrv/3.0.8/build....(bad exit status: 2)
Error! Bad return status for module build on kernel: 2.6.31-smp (i686)
Consult the make.log in the build directory
/var/lib/dkms/vboxdrv/3.0.8/build/ for more information.
Failed to install using DKMS, attempting to install without
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.31-smp/build SUBDIRS=/tmp/vbox.5 SRCROOT=/tmp/vbox.5 modules
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /tmp/vbox.5/.tmp_versions ; rm -f /tmp/vbox.5/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.5
gcc -Wp,-MD,/tmp/vbox.5/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib/gcc/i686-magic-linux/4.4.0/include -Iinclude -I/lib/modules/2.6.31-smp/build/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 -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -fstack-protector -fstack-protector-all -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 -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -I/lib/modules/2.6.31-smp/build/include -I/tmp/vbox.5/ -I/tmp/vbox.5/include -I/tmp/vbox.5/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DVBOX_WITH_HARDENING -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_X86 -DVBOX_WITH_64_BITS_GUESTS -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.5/linux/.tmp_SUPDrv-linux.o /tmp/vbox.5/linux/SUPDrv-linux.c
/tmp/vbox.5/linux/SUPDrv-linux.c: 在函数‘vboxdrvLinuxUid’中:
/tmp/vbox.5/linux/SUPDrv-linux.c:370: 错误:‘struct task_struct’没有名为‘uid’的成员
/tmp/vbox.5/linux/SUPDrv-linux.c: 在函数‘vboxdrvLinuxGid’中:
/tmp/vbox.5/linux/SUPDrv-linux.c:379: 错误:‘struct task_struct’没有名为‘gid’的成员
/tmp/vbox.5/linux/SUPDrv-linux.c: 在函数‘vboxdrvLinuxEuid’中:
/tmp/vbox.5/linux/SUPDrv-linux.c:388: 错误:‘struct task_struct’没有名为‘euid’的成员
make[2]: *** [/tmp/vbox.5/linux/SUPDrv-linux.o] 错误 1
make[1]: *** [_module_/tmp/vbox.5] 错误 2
make: *** [vboxdrv] 错误 2 |
|