не собирается virtualbox-modules-1.6.6-r1
fxm 29 июня, 2009 - 17:26
доброе времени суток!
пытаюсь собрать virtualbox-modules-1.6.6-r1 и вот что выходит:
emerge virtualbox-modules Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-emulation/virtualbox-modules-1.6.6-r1 * vbox-kernel-module-src-1.6.6.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found kernel object directory: * /lib/modules/2.6.29-gentoo-r5/build * Found sources for kernel version: * 2.6.29-gentoo-r5 >>> Unpacking source... >>> Unpacking vbox-kernel-module-src-1.6.6.tar.bz2 to /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work >>> Source unpacked in /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work >>> Compiling source in /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv ... ln: creating symbolic link `Module.symvers': File exists * Preparing vboxdrv module make -j4 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KERN_DIR=/usr/src/linux KERNOUT=/lib/modules/2.6.29-gentoo-r5/build all make KBUILD_VERBOSE=1 -C /usr/src/linux SUBDIRS=/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv SRCROOT=/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv modules make[1]: Entering directory `/usr/src/linux-2.6.29-gentoo-r5' 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 /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/.tmp_versions ; rm -f /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/.tmp_versions/* make -f scripts/Makefile.build obj=/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/linux/.SUPDrv-linux.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -Iinclude -I/usr/src/linux-2.6.29-gentoo-r5/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -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=i686 -Wa,-mtune=generic32 -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 -Iarch/x86/include/asm/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -I/usr/src/linux/include -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/ -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/include -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_X86 -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 /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/linux/SUPDrv-linux.o /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/linux/SUPDrv-linux.c i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/.SUPDRVShared.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -Iinclude -I/usr/src/linux-2.6.29-gentoo-r5/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -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=i686 -Wa,-mtune=generic32 -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 -Iarch/x86/include/asm/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -I/usr/src/linux/include -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/ -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/include -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_X86 -DUSE_NEW_OS_INTERFACE_FOR_MM -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(SUPDRVShared)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/SUPDRVShared.o /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/SUPDRVShared.c i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/.alloc-r0drv.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -Iinclude -I/usr/src/linux-2.6.29-gentoo-r5/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -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=i686 -Wa,-mtune=generic32 -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 -Iarch/x86/include/asm/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -I/usr/src/linux/include -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/ -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/include -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_X86 -DUSE_NEW_OS_INTERFACE_FOR_MM -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(alloc_r0drv)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/alloc-r0drv.o /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/alloc-r0drv.c i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/.initterm-r0drv.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -Iinclude -I/usr/src/linux-2.6.29-gentoo-r5/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -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=i686 -Wa,-mtune=generic32 -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 -Iarch/x86/include/asm/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -I/usr/src/linux/include -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/ -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/include -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_X86 -DUSE_NEW_OS_INTERFACE_FOR_MM -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(initterm_r0drv)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/initterm-r0drv.o /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/initterm-r0drv.c i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/linux/.mp-r0drv-linux.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -Iinclude -I/usr/src/linux-2.6.29-gentoo-r5/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -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=i686 -Wa,-mtune=generic32 -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 -Iarch/x86/include/asm/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -I/usr/src/linux/include -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/ -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/include -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_X86 -DUSE_NEW_OS_INTERFACE_FOR_MM -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(mp_r0drv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/linux/mp-r0drv-linux.o /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/linux/mp-r0drv-linux.c i686-pc-linux-gnu-gcc -Wp,-MD,/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/linux/.alloc-r0drv-linux.o.d -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/include -Iinclude -I/usr/src/linux-2.6.29-gentoo-r5/arch/x86/include -include include/linux/autoconf.h -D__KERNEL__ -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=i686 -Wa,-mtune=generic32 -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 -Iarch/x86/include/asm/mach-default -fno-stack-protector -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fwrapv -I/usr/src/linux/include -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/ -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/include -I/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/linux -D__KERNEL__ -DMODULE -DRT_OS_LINUX -DIN_RING0 -DIN_RT_R0 -DIN_SUP_R0 -DVBOX -DRT_WITH_VBOX -DCONFIG_VBOXDRV_AS_MISC -DRT_ARCH_X86 -DUSE_NEW_OS_INTERFACE_FOR_MM -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(alloc_r0drv_linux)" -D"KBUILD_MODNAME=KBUILD_STR(vboxdrv)" -c -o /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/linux/alloc-r0drv-linux.o /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/r0drv/linux/alloc-r0drv-linux.c /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/linux/SUPDrv-linux.c: In function ‘VBoxDrvLinuxCreate’: /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/linux/SUPDrv-linux.c:772: error: ‘struct task_struct’ has no member named ‘euid’ /var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/linux/SUPDrv-linux.c:773: error: ‘struct task_struct’ has no member named ‘egid’ make[2]: *** [/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv/linux/SUPDrv-linux.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [_module_/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/work/vboxdrv] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.29-gentoo-r5' make: *** [vboxdrv] Error 2 * * ERROR: app-emulation/virtualbox-modules-1.6.6-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3252: Called linux-mod_src_compile * environment, line 2512: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KERN_DIR=/usr/src/linux KERNOUT=/lib/modules/2.6.29-gentoo-r5/build all * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/temp/environment'. * >>> Failed to emerge app-emulation/virtualbox-modules-1.6.6-r1, Log file: >>> '/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/temp/build.log' * Messages for package app-emulation/virtualbox-modules-1.6.6-r1: * * ERROR: app-emulation/virtualbox-modules-1.6.6-r1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3252: Called linux-mod_src_compile * environment, line 2512: Called die * The specific snippet of code: * eval "emake HOSTCC=\"$(tc-getBUILD_CC)\" CROSS_COMPILE=${CHOST}- LDFLAGS=\"$(get_abi_LDFLAGS)\" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} " || die "Unable to emake HOSTCC="$(tc-getBUILD_CC)" CROSS_COMPILE=${CHOST}- LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}"; * The die message: * Unable to emake HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KERN_DIR=/usr/src/linux KERNOUT=/lib/modules/2.6.29-gentoo-r5/build all * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-1.6.6-r1/temp/environment'. *
куда копать? =)
»
- Для комментирования войдите или зарегистрируйтесь
виноват... не увидел, что эта
виноват... не увидел, что эта тему уже обсуждалась....
хммм... при ближашем
хммм... при ближашем рассмотрение выяснолось, что то решение не прокатывает =)
Плохо искали. Где то
Плохо искали. Где то пробегало, мол, virtualbox-ose-1.6.6 с ядром 2.6.29 не соберется.
Попробуйте версию новее.
Нащяльника, мая сервира паставиль, фрибизьдя инсталя сделаль, апачи сабраль, пыхапе патключиль, сапускаю, а ано - ажамбех пашамбе эшельбе шайтанама!