When I try to launch, while running xfce under Fedora 16, I get
an error box with suggestions, but they don't help.
[bttth@Hbsk3 ~]$ VirtualBox
WARNING: The vboxdrv kernel module is not loaded. Either there is no
module
available for the current kernel (3.2.2-1.fc16.x86_64) or it
failed to
load. Please recompile the kernel module and install it by
sudo /etc/init.d/vboxdrv setup
You will not be able to start VMs until this problem is fixed.
Qt WARNING: QFont::setPixelSize: Pixel size <= 0 (0)
Qt WARNING: QFont::setPixelSize: Pixel size <= 0 (0)
Qt WARNING: QFont::setPixelSize: Pixel size <= 0 (0)
Qt WARNING: QFont::setPixelSize: Pixel size <= 0 (0)
Qt WARNING: QFont::setPixelSize: Pixel size <= 0 (0)
Qt WARNING: QFont::setPixelSize: Pixel size <= 0 (0)
Qt WARNING: QFont::setPixelSize: Pixel size <= 0 (0)
[and so on till I hit ^C]
Becoming root, and running yum install dkms, is OK; but
[root@Hbsk3 ~]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules [ OK ]
Uninstalling old VirtualBox DKMS kernel modules [ OK ]
Trying to register the VirtualBox kernel modules using DKMSError! Bad
return status for module build on kernel: 3.2.2-1.fc16.x86_64 (x86_64)
Consult /var/lib/dkms/vboxhost/4.1.8/build/make.log for more information.
[FAILED]
(Failed, trying without DKMS)
Recompiling VirtualBox kernel modules [FAILED]
(Look at /var/log/vbox-install.log to find out what went wrong)
[root@Hbsk3 ~]#
So I go to that log
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.1.8
------------------------------
Deleting module version: 4.1.8
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.1.8/source ->
/usr/src/vboxhost-4.1.8
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=3.2.2-1.fc16.x86_64 -C /lib/
modules/3.2.2-1.fc16.x86_64/build M=/var/lib/dkms/vboxhost/4.1.8/build....
(bad exit status: 2)
Failed to install using DKMS, attempting to install without
make KBUILD_VERBOSE=1 SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0
CONFIG_MODULE_SIG= -C /lib/modules/3.2.2-1.fc16.x86_64/build modules
/usr/src/kernels/3.2.2-1.fc16.x86_64/arch/x86/Makefile:81: stack
protector enabled but no compiler support
make[1]: gcc: Command not found
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 -I/
usr/src/kernels/3.2.2-1.fc16.x86_64/arch/x86/include -Iarch/x86/include/
generated -Iinclude -include /usr/src/kernels/3.2.2-1.fc16.x86_64/
include/linux/kconfig.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 -pipe -Wno-sign-
compare -fno-asynchronous-unwind-tables -fno-omit-frame-pointer -fno-
optimize-sibling-calls -g -pg -include /tmp/vbox.0/include/VBox/
SUPDrvMangling.h -I/lib/modules/3.2.2-1.fc16.x86_64/build/include -I/tmp/
vbox.0/ -I/tmp/vbox.0/include -I/tmp/vbox.0/r0drv/linux -I/tmp/vbox.0/
vboxdrv/ -I/tmp/vbox.0/vboxdrv/include -I/tmp/vbox.0/vboxdrv/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_AMD64 -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
/bin/sh: gcc: command not found
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Error 127
make[1]: *** [_module_/tmp/vbox.0] Error 2
make: *** [vboxdrv] Error 2
All of that is way over my head. So what now??
--
Beartooth Staffwright, Not Quite Clueless Linux Power User
I have precious (very precious!) little idea where up is.