Danke, stragic-it!
Ich habe virtualbox-4.3 über synaptic deinstalliert: Paket vollständig entfernt. Anschließend habe ich mit "sudo apt-get install dkms" dieses installiert. Es kam die Antwort, dass die neueste Version schon installiert sei.
Dann habe ich virtualbox-4.3 neu installiert und "sudo /etc/init.d/vboxdrv setup" ausgeführt. Dennoch erscheint folgende Fehlermeldung:
marionleuschner@marionleuschner-SATELLITE-C660:~$ sudo /etc/init.d/vboxdrv setup[sudo] password for marionleuschner:
Stopping VirtualBox kernel modules ...done.
Uninstalling old VirtualBox DKMS kernel modules ...done.
Trying to register the VirtualBox kernel modules using DKMSError! Bad return status for module build on kernel: 3.13.0-43-generic (x86_64)
Consult /var/lib/dkms/vboxhost/4.3.20/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)
marionleuschner@marionleuschner-SATELLITE-C660:~$
"/var/lib/dkms/vboxhost/4.3.20/build/make.log" zeigt an:
DKMS make.log for vboxhost-4.3.20 for kernel 3.13.0-43-generic (x86_64)
Do 18. Dez 18:00:50 CET 2014
make: Gehe in Verzeichnis '/usr/src/linux-headers-3.13.0-43-generic'
LD /var/lib/dkms/vboxhost/4.3.20/build/built-in.o
LD /var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/built-in.o
CC [M] /var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/linux/SUPDrv-linux.o
In file included from /var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/VBox/types.h:30:0,
from /var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/linux/../SUPDrvInternal.h:35,
from /var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/linux/SUPDrv-linux.c:31:
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/types.h:231:1: error: unknown type name ‘__uint128_t’
typedef __uint128_t uint128_t;
^
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/types.h:250:1: error: unknown type name ‘__int128_t’
typedef __int128_t int128_t;
^
In file included from /var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/cpuset.h:31:0,
from /var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/VBox/sup.h:33,
from /var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/linux/../SUPDrvInternal.h:36,
from /var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/linux/SUPDrv-linux.c:31:
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h: In function ‘ASMAtomicXchgPtr’:
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h:511:71: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return (void *)ASMAtomicXchgU64((volatile uint64_t *)(void *)ppv, (uint64_t)pv);
^
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h:511:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
return (void *)ASMAtomicXchgU64((volatile uint64_t *)(void *)ppv, (uint64_t)pv);
^
In file included from /var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/cpuset.h:31:0,
from /var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/VBox/sup.h:33,
from /var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/linux/../SUPDrvInternal.h:36,
from /var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/linux/SUPDrv-linux.c:31:
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h: In function ‘ASMAtomicXchgR0Ptr’:
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h:566:74: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return (RTR0PTR)ASMAtomicXchgU64((volatile uint64_t *)(void *)ppvR0, (uint64_t)pvR0);
^
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h:566:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
return (RTR0PTR)ASMAtomicXchgU64((volatile uint64_t *)(void *)ppvR0, (uint64_t)pvR0);
^
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h: In function ‘ASMAtomicCmpXchgPtrVoid’:
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h:923:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return ASMAtomicCmpXchgU64((volatile uint64_t *)(void *)ppv, (uint64_t)pvNew, (uint64_t)pvOld);
^
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h:923:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return ASMAtomicCmpXchgU64((volatile uint64_t *)(void *)ppv, (uint64_t)pvNew, (uint64_t)pvOld);
^
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h: In function ‘ASMAtomicCmpXchgExPtrVoid’:
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h:1279:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return ASMAtomicCmpXchgExU64((volatile uint64_t *)(void *)ppv, (uint64_t)pvNew, (uint64_t)pvOld, (uint64_t *)ppvOld);
^
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h:1279:85: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return ASMAtomicCmpXchgExU64((volatile uint64_t *)(void *)ppv, (uint64_t)pvNew, (uint64_t)pvOld, (uint64_t *)ppvOld);
^
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h: In function ‘ASMAtomicReadPtr’:
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h:1791:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
return (void *)ASMAtomicReadU64((volatile uint64_t *)(void *)ppv);
^
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h: In function ‘ASMAtomicUoReadPtr’:
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h:1832:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
return (void *)ASMAtomicUoReadU64((volatile uint64_t *)(void *)ppv);
^
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h: In function ‘ASMAtomicWritePtrVoid’:
/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/include/iprt/asm.h:2218:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
ASMAtomicWriteU64((volatile uint64_t *)(void *)ppv, (uint64_t)pv);
^
make[2]: *** [/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv/linux/SUPDrv-linux.o] Fehler 1
make[1]: *** [/var/lib/dkms/vboxhost/4.3.20/build/vboxdrv] Fehler 2
make: *** [_module_/var/lib/dkms/vboxhost/4.3.20/build] Fehler 2
make: Verlasse Verzeichnis '/usr/src/linux-headers-3.13.0-43-generic'
"/var/log/vbox-install.log" zeigt an:
Uninstalling modules from DKMS
removing old DKMS module vboxhost version 4.3.20
------------------------------
Deleting module version: 4.3.20
completely from the DKMS tree.
------------------------------
Done.
Attempting to install using DKMS
Creating symlink /var/lib/dkms/vboxhost/4.3.20/source ->
/usr/src/vboxhost-4.3.20
DKMS: add completed.
Kernel preparation unnecessary for this kernel. Skipping...
Building module:
cleaning build area....
make KERNELRELEASE=3.13.0-43-generic -C /lib/modules/3.13.0-43-generic/build M=/var/lib/dkms/vboxhost/4.3.20/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.13.0-43-generic/build modules
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/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/x86_64-linux-gnu/4.8/include -I/usr/src/linux-headers-3.13.0-43-generic/arch/x86/include -Iarch/x86/include/generated -Iinclude -I/usr/src/linux-headers-3.13.0-43-generic/arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I/usr/src/linux-headers-3.13.0-43-generic/include/uapi -Iinclude/generated/uapi -include /usr/src/linux-headers-3.13.0-43-generic/include/linux/kconfig.h -Iubuntu/include -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 -mno-mmx -mno-sse -fno-pic -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 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -Wframe-larger-than=1024 -Wno-unused-but-set-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fno-var-tracking-assignments -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -DCC_HAVE_ASM_GOTO -include /tmp/vbox.0/include/VBox/SUPDrvMangling.h -I/lib/modules/3.13.0-43-generic/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 -Wno-declaration-after-statement -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/.tmp_SUPDrv-linux.o /tmp/vbox.0/linux/SUPDrv-linux.c
In file included from /tmp/vbox.0/include/VBox/types.h:30:0,
from /tmp/vbox.0/linux/../SUPDrvInternal.h:35,
from /tmp/vbox.0/linux/SUPDrv-linux.c:31:
/tmp/vbox.0/include/iprt/types.h:231:1: error: unknown type name ‘__uint128_t’
typedef __uint128_t uint128_t;
^
/tmp/vbox.0/include/iprt/types.h:250:1: error: unknown type name ‘__int128_t’
typedef __int128_t int128_t;
^
In file included from /tmp/vbox.0/include/iprt/cpuset.h:31:0,
from /tmp/vbox.0/include/VBox/sup.h:33,
from /tmp/vbox.0/linux/../SUPDrvInternal.h:36,
from /tmp/vbox.0/linux/SUPDrv-linux.c:31:
/tmp/vbox.0/include/iprt/asm.h: In function ‘ASMAtomicXchgPtr’:
/tmp/vbox.0/include/iprt/asm.h:511:71: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return (void *)ASMAtomicXchgU64((volatile uint64_t *)(void *)ppv, (uint64_t)pv);
^
/tmp/vbox.0/include/iprt/asm.h:511:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
return (void *)ASMAtomicXchgU64((volatile uint64_t *)(void *)ppv, (uint64_t)pv);
^
In file included from /tmp/vbox.0/include/iprt/cpuset.h:31:0,
from /tmp/vbox.0/include/VBox/sup.h:33,
from /tmp/vbox.0/linux/../SUPDrvInternal.h:36,
from /tmp/vbox.0/linux/SUPDrv-linux.c:31:
/tmp/vbox.0/include/iprt/asm.h: In function ‘ASMAtomicXchgR0Ptr’:
/tmp/vbox.0/include/iprt/asm.h:566:74: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return (RTR0PTR)ASMAtomicXchgU64((volatile uint64_t *)(void *)ppvR0, (uint64_t)pvR0);
^
/tmp/vbox.0/include/iprt/asm.h:566:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
return (RTR0PTR)ASMAtomicXchgU64((volatile uint64_t *)(void *)ppvR0, (uint64_t)pvR0);
^
/tmp/vbox.0/include/iprt/asm.h: In function ‘ASMAtomicCmpXchgPtrVoid’:
/tmp/vbox.0/include/iprt/asm.h:923:66: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return ASMAtomicCmpXchgU64((volatile uint64_t *)(void *)ppv, (uint64_t)pvNew, (uint64_t)pvOld);
^
/tmp/vbox.0/include/iprt/asm.h:923:83: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return ASMAtomicCmpXchgU64((volatile uint64_t *)(void *)ppv, (uint64_t)pvNew, (uint64_t)pvOld);
^
/tmp/vbox.0/include/iprt/asm.h: In function ‘ASMAtomicCmpXchgExPtrVoid’:
/tmp/vbox.0/include/iprt/asm.h:1279:68: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return ASMAtomicCmpXchgExU64((volatile uint64_t *)(void *)ppv, (uint64_t)pvNew, (uint64_t)pvOld, (uint64_t *)ppvOld);
^
/tmp/vbox.0/include/iprt/asm.h:1279:85: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
return ASMAtomicCmpXchgExU64((volatile uint64_t *)(void *)ppv, (uint64_t)pvNew, (uint64_t)pvOld, (uint64_t *)ppvOld);
^
/tmp/vbox.0/include/iprt/asm.h: In function ‘ASMAtomicReadPtr’:
/tmp/vbox.0/include/iprt/asm.h:1791:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
return (void *)ASMAtomicReadU64((volatile uint64_t *)(void *)ppv);
^
/tmp/vbox.0/include/iprt/asm.h: In function ‘ASMAtomicUoReadPtr’:
/tmp/vbox.0/include/iprt/asm.h:1832:12: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
return (void *)ASMAtomicUoReadU64((volatile uint64_t *)(void *)ppv);
^
/tmp/vbox.0/include/iprt/asm.h: In function ‘ASMAtomicWritePtrVoid’:
/tmp/vbox.0/include/iprt/asm.h:2218:57: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
ASMAtomicWriteU64((volatile uint64_t *)(void *)ppv, (uint64_t)pv);
^
make[2]: *** [/tmp/vbox.0/linux/SUPDrv-linux.o] Fehler 1
make[1]: *** [_module_/tmp/vbox.0] Fehler 2
make: *** [vboxdrv] Fehler 2
Kannst du mir noch weiter helfen?