#1961 closed defect (invalid)
Install of Guest Additions 1.6.4 on guest Fedora 10 fails
Reported by: | Jerry Williams | Owned by: | |
---|---|---|---|
Component: | guest additions | Version: | VirtualBox 1.6.4 |
Keywords: | Fedora 10 | Cc: | |
Guest type: | Linux | Host type: | Windows |
Description (last modified by )
Host is Windows Vista 64-bit. Guest is Fedora 10 i386. kernel-2.6.27-0.244.rc2.git1.fc10.i686 https://bugzilla.redhat.com/show_bug.cgi?id=459183 It should also passing a -Iinclude/asm/mach-whatever
# cat vboxadd-install.log
Installing VirtualBox 1.6.4 Guest Additions, built Tue Jul 29 20:13:59 CEST 2008 Testing the setup of the guest system Building a test kernel module... make KBUILD_VERBOSE=1 -C /lib/modules/2.6.27-0.244.rc2.git1.fc10.i686/build SUBDIRS=/tmp/selfgz312716198/module/test SRCROOT=/tmp/selfgz312716198/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/selfgz312716198/module/test/.tmp_versions ; rm -f /tmp/selfgz312716198/module/test/.tmp_versions/* make -f scripts/Makefile.build obj=/tmp/selfgz312716198/module/test gcc -Wp,-MD,/tmp/selfgz312716198/module/test/.test.o.d -nostdinc -isystem /usr/lib/gcc/i386-redhat-linux/4.3.1/include -D__KERNEL__ -Iinclude -I/usr/src/kernels/2.6.27-0.244.rc2.git1.fc10.i686/arch/x86/include -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Os -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -mtune=generic -mtune=generic -ffreestanding -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 -Iinclude/asm-x86/mach-generic -Iinclude/asm-x86/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -g -pg -Wdeclaration-after-statement -Wno-pointer-sign -I/lib/modules/2.6.27-0.244.rc2.git1.fc10.i686/build/include -I/tmp/selfgz312716198/module/test/ -I/tmp/selfgz312716198/module/test/include -I/tmp/selfgz312716198/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_HGCM -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(test)" -D"KBUILD_MODNAME=KBUILD_STR(vboxadd_test)" -c -o /tmp/selfgz312716198/module/test/test.o /tmp/selfgz312716198/module/test/test.c In file included from include/asm/smp.h:12, from include/linux/smp.h:28, from include/linux/topology.h:33, from include/linux/mmzone.h:683, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from /tmp/selfgz312716198/module/test/test.c:11: include/asm/mpspec.h:9:25: error: mach_mpspec.h: No such file or directory In file included from include/asm/smp.h:12, from include/linux/smp.h:28, from include/linux/topology.h:33, from include/linux/mmzone.h:683, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from /tmp/selfgz312716198/module/test/test.c:11: include/asm/mpspec.h:39: error: ‘MAX_MP_BUSSES’ undeclared here (not in a function) In file included from include/asm/smp.h:15, from include/linux/smp.h:28, from include/linux/topology.h:33, from include/linux/mmzone.h:683, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from /tmp/selfgz312716198/module/test/test.c:11: include/asm/io_apic.h:149: error: ‘MAX_IRQ_SOURCES’ undeclared here (not in a function) In file included from include/linux/smp.h:28, from include/linux/topology.h:33, from include/linux/mmzone.h:683, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from /tmp/selfgz312716198/module/test/test.c:11: include/asm/smp.h:187:28: error: mach_apicdef.h: No such file or directory In file included from include/linux/smp.h:28, from include/linux/topology.h:33, from include/linux/mmzone.h:683, from include/linux/gfp.h:4, from include/linux/kmod.h:22, from include/linux/module.h:13, from /tmp/selfgz312716198/module/test/test.c:11: include/asm/smp.h: In function ‘hard_smp_processor_id’: include/asm/smp.h:191: error: implicit declaration of function ‘GET_APIC_ID’ make[2]: *** [/tmp/selfgz312716198/module/test/test.o] Error 1 make[1]: *** [_module_/tmp/selfgz312716198/module/test] Error 2 make: *** [vboxadd_test] Error 2 Building the test kernel module failed. Giving up due to the problems mentioned above.
Change History (3)
comment:1 by , 16 years ago
Description: | modified (diff) |
---|
comment:2 by , 16 years ago
Would it be possible for someone to pop into #fedora-kernel on irc.freenode.org?
comment:3 by , 16 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
Actually this is definitely a packaging bug. I've just downloaded that rpm package and compiled the module against these headers as well. The kernel Makefile adds -Iinclude/asm-x86/mach-generic -Iinclude/asm-x86/mach-default
to the include directory search path (this can be seen in your log as well) but this directory is not packaged. Instead, the package contains only the asm
directory which should actually be a symbolic link to asm-x86 in that case. So this is definitely a bug of the rpm package.
Closing.
I'm not sure if this is a bug in VirtualBox. The include directories are taken from the kernel config.