|
log:
Installing VirtualBox 3.0.10 Guest Additions, built Thu Oct 29 14:19:56 CET 2009
Testing the setup of the guest system
Building test kernel module vboxadd_test...
Makefile:25: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
grep: /usr/src/linux/include/linux/version.h: 没有那个文件或目录
make KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/tmp/selfgz817817767/module/test SRCROOT=/tmp/selfgz817817767/module/test 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)
ERROR: Kernel configuration is invalid.
include/linux/autoconf.h or include/config/auto.conf are missing.
Run 'make oldconfig && make prepare' on kernel src to fix it.
mkdir -p /tmp/selfgz817817767/module/test/.tmp_versions ; rm -f /tmp/selfgz817817767/module/test/.tmp_versions/*
WARNING: Symbol version dump /usr/src/linux-2.6.31.5-0.1/Module.symvers
is missing; modules will have no dependencies and modversions.
make -f scripts/Makefile.build obj=/tmp/selfgz817817767/module/test
/tmp/selfgz817817767/module/test/Makefile:25: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
grep: /usr/src/linux/include/linux/version.h: 没有那个文件或目录
gcc -Wp,-MD,/tmp/selfgz817817767/module/test/.test.o.d -nostdinc -isystem /usr/lib/gcc/i586-suse-linux/4.4/include -Iinclude -I/usr/src/linux-2.6.31.5-0.1/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 -m64 -mno-red-zone -mcmodel=kernel -maccumulate-outgoing-args -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fomit-frame-pointer -I/usr/src/linux/include -I/tmp/selfgz817817767/module/test/ -I/tmp/selfgz817817767/module/test/include -I/tmp/selfgz817817767/module/test/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -D_X86_ -DIN_RT_R0 -DIN_SUP_R0 -DVBGL_VBOXGUEST -DVBGL_HGCM -DVBOX_WITH_HGCM -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(test)" -D"KBUILD_MODNAME=KBUILD_STR(vboxadd_test)" -c -o /tmp/selfgz817817767/module/test/test.o /tmp/selfgz817817767/module/test/test.c
/tmp/selfgz817817767/module/test/test.c:1: error: code model ‘kernel’ not supported in the 32 bit mode
/tmp/selfgz817817767/module/test/test.c:1: sorry, unimplemented: 64-bit mode not compiled in
make[2]: *** [/tmp/selfgz817817767/module/test/test.o] 错误 1
make[1]: *** [_module_/tmp/selfgz817817767/module/test] 错误 2
make: *** [vboxadd_test] 错误 2
Building the test kernel module vboxadd_test failed.
Giving up due to the problems mentioned above. |
|