problema ricompilare modulo VBox

Nessuna risposta
Ritratto di Riccardo1986
Riccardo1986
(Monster)
Offline
Monster
Iscritto: 27/10/2007
Messaggi: 302

ciao ragazzi, dopo aver installato il nuovo kernel, ho provato a ricompilare il mdulo, come ho fatto sugli altri pc, processo andato a buon fine,sul mio invece dà errore....vi posto il log xkè sinceramente nn comprendo il motivo

PC-Riky:/home/riky # cat /var/log/vbox-install.log
make KBUILD_VERBOSE=1 -C /lib/modules/2.6.22.16-0.1-default/build SUBDIRS=/tmp/vbox.15 SRCROOT=/tmp/vbox.15 modules
make[1]: Entering directory `/usr/src/linux-2.6.22.16-0.1-obj/x86_64/default'
make -C ../../../linux-2.6.22.16-0.1 O=../linux-2.6.22.16-0.1-obj/x86_64/default modules
make -C /usr/src/linux-2.6.22.16-0.1-obj/x86_64/default \
KBUILD_SRC=/usr/src/linux-2.6.22.16-0.1 \
KBUILD_EXTMOD="/tmp/vbox.15" -f /usr/src/linux-2.6.22.16-0.1/Makefile 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/vbox.15/.tmp_versions
rm -f /tmp/vbox.15/.tmp_versions/*
make -f /usr/src/linux-2.6.22.16-0.1/scripts/Makefile.build obj=/tmp/vbox.15
gcc -Wp,-MD,/tmp/vbox.15/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib64/gcc/x86_64-suse-linux/4.2.1/include -D__KERNEL__ -Iinclude -Iinclude2 -I/usr/src/linux-2.6.22.16-0.1/include -include include/linux/autoconf.h -I/tmp/vbox.15 -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -Werror-implicit-function-declaration -fno-strict-aliasing -fno-common -Os -mtune=generic -m64 -mno-red-zone -mcmodel=kernel -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -funit-at-a-time -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -I/lib/modules/2.6.22.16-0.1-default/build/include -I/tmp/vbox.15/ -I/tmp/vbox.15/include -I/tmp/vbox.15/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_AMD64 -DUSE_NEW_OS_INTERFACE_FOR_MM -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDrv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /tmp/vbox.15/linux/.tmp_SUPDrv-linux.o /tmp/vbox.15/linux/SUPDrv-linux.c
In file included from /tmp/vbox.15/linux/SUPDrv-linux.c:36:
/usr/src/linux-2.6.22.16-0.1/include/linux/fs.h:1597:34: warning: no newline at end of file
/usr/src/linux-2.6.22.16-0.1/include/linux/fs.h:269:1: error: unterminated #ifdef
/usr/src/linux-2.6.22.16-0.1/include/linux/fs.h:1:1: error: unterminated #ifndef
In file included from /usr/src/linux-2.6.22.16-0.1/include/linux/mm.h:5,
from /tmp/vbox.15/linux/SUPDrv-linux.c:37:
/usr/src/linux-2.6.22.16-0.1/include/linux/capability.h:19: error: two or more data types in declaration specifiers
/usr/src/linux-2.6.22.16-0.1/include/linux/capability.h:19: warning: useless storage class specifier in empty declaration
In file included from /usr/src/linux-2.6.22.16-0.1/include/linux/mm.h:14,
from /tmp/vbox.15/linux/SUPDrv-linux.c:37:
/usr/src/linux-2.6.22.16-0.1/include/linux/fs.h:1597:34: warning: no newline at end of file
/usr/src/linux-2.6.22.16-0.1/include/linux/fs.h:269:1: error: unterminated #ifdef
/usr/src/linux-2.6.22.16-0.1/include/linux/fs.h:1:1: error: unterminated #ifndef
In file included from /usr/src/linux-2.6.22.16-0.1/include/linux/pagemap.h:8,
from /tmp/vbox.15/linux/SUPDrv-linux.c:38:
/usr/src/linux-2.6.22.16-0.1/include/linux/fs.h:1597:34: warning: no newline at end of file
/usr/src/linux-2.6.22.16-0.1/include/linux/fs.h:269:1: error: unterminated #ifdef
/usr/src/linux-2.6.22.16-0.1/include/linux/fs.h:1:1: error: unterminated #ifndef
In file included from /usr/src/linux-2.6.22.16-0.1/include/linux/highmem.h:4,
from /usr/src/linux-2.6.22.16-0.1/include/linux/pagemap.h:10,
from /tmp/vbox.15/linux/SUPDrv-linux.c:38:
/usr/src/linux-2.6.22.16-0.1/include/linux/fs.h:1597:34: warning: no newline at end of file
/usr/src/linux-2.6.22.16-0.1/include/linux/fs.h:269:1: error: unterminated #ifdef
/usr/src/linux-2.6.22.16-0.1/include/linux/fs.h:1:1: error: unterminated #ifndef
make[4]: *** [/tmp/vbox.15/linux/SUPDrv-linux.o] Error 1
make[3]: *** [_module_/tmp/vbox.15] Error 2
make[2]: *** [modules] Error 2
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.22.16-0.1-obj/x86_64/default'
make: *** [vboxdrv] Error 2
PC-Riky:/home/riky #

ho provato a dare anke questi 2 comandi (o almeno che parevano tali segnati nel log) ma nulla:
Run 'make oldconfig && make prepare' on kernel src

vi ringrazio Laughing

I5660 P7P55D PRO GTX 560TI 4GB DDR3 PINNACLE 300i ASUS VENTO