You are not logged in.
Pages: 1
I upgraded Virtualbox from 4.0.10 to 4.0.12 and I am receiving an error when trying to compile the module by /etc/rc.d/vboxdrv setup.
The contents of /var/log/vbox-install.log are :
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.39-ARCH/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/generated/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.0/.tmp_versions ; rm -f /tmp/vbox.0/.tmp_versions/*
make -f scripts/Makefile.build obj=/tmp/vbox.0
gcc -Wp,-MD,/tmp/vbox.0/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.6.1/include -I/usr/src/linux-2.6.39-ARCH/arch/x86/include -Iinclude -include include/generated/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 -maccumulate-outgoing-args -Wa,-mtune=generic32 -ffreestanding -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=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 -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DCC_HAVE_ASM_GOTO -I/lib/modules/2.6.39-ARCH/build/include -I/tmp/vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/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.0/linux/SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
In file included from /tmp/vbox.0/include/VBox/types.h:34:0,
from /tmp/vbox.0/linux/../SUPDrvInternal.h:39,
from /tmp/vbox.0/linux/SUPDrv-linux.c:37:
/tmp/vbox.0/include/iprt/types.h:87:30: fatal error: linux/autoconf.h: No such file or directory
compilation terminated.
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 1
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2
Where do I start to repair this?
Thank You
Last edited by glenn69 (2011-07-18 17:57:37)
Offline
3.0.12? this version is way to old to support 2.6.39 kernel
Give what you have. To someone, it may be better than you dare to think.
Offline
Sorry typo...should read from 4.0.10 to 4.0.12. I will edit the original post.
Thanks
Offline
I tried downgrading back to Virtualbox 4.0.10 and the error remains, however that version was working fine prior to the upgrade attempt.
Offline
yes, try to reinstall kernel26-headers
Give what you have. To someone, it may be better than you dare to think.
Offline
Re-installing the headers did not help.
Last edited by glenn69 (2011-07-18 18:26:14)
Offline
There was aproblem with glibc versions after 2.12.1-2 breaking virtualbox. I tried downgrading glibc, but binutils and gcc-libs depend upon it. gcc depends upon gcc-libs...and so on.
Offline
I downgraded to glibc 2.12.1-2 and am still having the same problem. That was not a fix.
Offline
Any relationship to post #340 from this thread: https://bbs.archlinux.org/viewtopic.php … 73#p962073
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
I had a breakthrough, although I'm not sure what it means...other than Virtualbox now runs again.
Here's what I did:
downgraded glibc to 2.12.1-2 ( and any other files with dependencies. gcc, gcc-libs, binutils )
still had no luck compiling module
then I downgraded back to Virtualbox 4.0.10 again with the downgraded glibc
..and it worked. Hopefully someone can make some sense of it for the rest of us.
Summation: Virtualbox 4.0.12 did not compile with glibc at 2.12.1-2 or at its most current version
Virtualbox 4.0.10 would not compile with a current version of glibc ( >2.12.1-2)
..but VB 4.0.10 did compile fine with glibc downgraded to 2.12.1-2
Last edited by glenn69 (2011-07-18 20:13:00)
Offline
...and this is only for i686?
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
@glenn69 you are way of. The current modules compile fine with latest gcc/glibc. There is some inconsistency in your system related to kernel headers.
linux/autoconf.h is from an old kernel but i don't get it why is using this include instead of include/generated/autoconf.h
did you mess with /usr/src/linux-2.6.39-ARCH ?
Give what you have. To someone, it may be better than you dare to think.
Offline
I am getting a similar error. I just installed a fresh arch32 (updated) in virtualbox (4.04, OSX) and running the supplied virtualbox guest additions installer threw up the error. I haven't tried with the latest iso from community (4.08).
Offline
Just for info, the installation was OK for kernel26-lts. I had problems with the vboxvideo driver so in the end I opted to just use pacman -S virtualbox-archlinux-additions. All is fine.
Offline
... I had problems with the vboxvideo driver so in the end I opted to just use pacman -S virtualbox-archlinux-additions. All is fine.
@stryder - that IS the preferred method. I don't understand why you would try to circumvent pacman in the first place.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
@graysky - yeah. Have been using the virtualbox iso for a long long time - never had problems till now. And the provided additions are only for kernel26 and not kernel26-lts. So it is not a complete solution.
Offline
@glenn69 you are way of. The current modules compile fine with latest gcc/glibc. There is some inconsistency in your system related to kernel headers.
linux/autoconf.h is from an old kernel but i don't get it why is using this include instead of include/generated/autoconf.h
did you mess with /usr/src/linux-2.6.39-ARCH ?
I have not made any changes. Any suggestions of how I could find out where the inconsistency is?
Thank you
Offline
Same problem here, tried creating a symlink linux/autonf.h --> ../generated/autoconf.h with no results. Any ideas?
Offline
Pages: 1