Building a test kernel module failed. See the log file /var/log/vboxadd-install.log

O. Sinclair o.sinclair at gmail.com
Thu Nov 12 13:58:11 UTC 2009


Zareh Kezelguezian wrote:
> hi guys, i am new in linux i installed Kubuntu and updated it to 9.10.
> when i am installing the vboxguest additions i receive this message.
> 
> zareh at zareh-laptop:/cdrom$ sudo ./VBoxLinuxAdditions-x86.run
> Verifying archive integrity... All good.
> Uncompressing VirtualBox 3.0.10 Guest Additions for Linux
> installation................................................................................................................................................................................................................................
> VirtualBox 3.0.10 Guest Additions installation
> Building a test kernel module failed.  See the log file
> /var/log/vboxadd-install.log
> for more details.
> Problems were found which would prevent the Guest Additions from installing.
> Please correct these problems and try again.
> 
> and then write this to see the error:
> 
> zareh at zareh-laptop:/var/log$ cat ./vboxadd-install.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...
> 
> make KBUILD_VERBOSE=1 -C /lib/modules/2.6.28-11-generic/build
> SUBDIRS=/tmp/selfgz18060/module/test
> SRCROOT=/tmp/selfgz18060/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)
> mkdir -p /tmp/selfgz18060/module/test/.tmp_versions ; rm -f
> /tmp/selfgz18060/module/test/.tmp_versions/*
> make -f scripts/Makefile.build obj=/tmp/selfgz18060/module/test
>   gcc -Wp,-MD,/tmp/selfgz18060/module/test/.test.o.d  -nostdinc
> -isystem /usr/lib/gcc/i486-linux-gnu/4.3.3/include -D__KERNEL__
> -Iinclude  -I/usr/src/linux-headers-2.6.28-11-generic/arch/x86/include
> -include include/linux/autoconf.h -Iubuntu/include  -Wall -Wundef
> -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
> -Werror-implicit-function-declaration -O2 -m32 -msoft-float
> -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2
> -march=i586 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -pipe
> -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx
> -mno-sse2 -mno-3dnow -Iarch/x86/include/asm/mach-default
> -fno-stack-protector -fno-omit-frame-pointer
> -fno-optimize-sibling-calls -Wdeclaration-after-statement
> -Wno-pointer-sign -fwrapv
> -I/lib/modules/2.6.28-11-generic/build/include
> -I/tmp/selfgz18060/module/test/ -I/tmp/selfgz18060/module/test/include
> -I/tmp/selfgz18060/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/selfgz18060/module/test/.tmp_test.o
> /tmp/selfgz18060/module/test/test.c
> /tmp/selfgz18060/module/test/test.c: In function ‘init’:
> /tmp/selfgz18060/module/test/test.c:18: internal compiler error:
> Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <file:///usr/share/doc/gcc-4.3/README.Bugs> for instructions.
> make[2]: *** [/tmp/selfgz18060/module/test/test.o] Error 1
> make[1]: *** [_module_/tmp/selfgz18060/module/test] Error 2
> make: *** [vboxadd_test] Error 2
> 
> Building the test kernel module vboxadd_test failed.
> Giving up due to the problems mentioned above.
> 
> 
> 
> what should i do to make it run?
> can someone help me please, thank you :)
> 
maybe a stupid question but are you installing a build of VBox for 
Karmic and not an earlier release?






More information about the kubuntu-users mailing list