Virtualbox

core ~ # emerge virtualbox-bin

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) app-emulation/virtualbox-modules-3.1.6
 * vbox-kernel-module-src-3.1.6.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...  [ ok ]
 * checking ebuild checksums ;-) ...                                     [ ok ]
 * checking auxfile checksums ;-) ...                                    [ ok ]
 * checking miscfile checksums ;-) ...                                   [ ok ]
 * CPV:  app-emulation/virtualbox-modules-3.1.6
 * REPO: gentoo
 * USE:  elibc_glibc kernel_linux userland_GNU x86
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.32.8-calculate/build
 * Found sources for kernel version:
 *     2.6.32.8-calculate
>>> Unpacking source...
>>> Unpacking vbox-kernel-module-src-3.1.6.tar.bz2 to /var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work
>>> Source unpacked in /var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work
>>> Preparing source in /var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work ...
>>> Source prepared.
>>> Configuring source in /var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work ...
>>> Source configured.
>>> Compiling source in /var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work ...
ln: создание символьной ссылки `Module.symvers': Файл существует
 * Preparing vboxdrv module
make -j1 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= KERN_DIR=/usr/src/linux KERNOUT=/lib/modules/2.6.32.8-calculate/build all 
*** Building 'vboxdrv' module ***
make[1]: Entering directory `/var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work/vboxdrv'
make KBUILD_VERBOSE= -C /usr/src/linux SUBDIRS=/var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work/vboxdrv SRCROOT=/var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work/vboxdrv modules
make[2]: Entering directory `/usr/src/linux-2.6.32.8-calculate'

  WARNING: Symbol version dump /usr/src/linux-2.6.32.8-calculate/Module.symvers
           is missing; modules will have no dependencies and modversions.

  CC [M]  /var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work/vboxdrv/linux/SUPDrv-linux.o
In file included from include/linux/gfp.h:4,
                 from include/linux/slab.h:12,
                 from /var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work/vboxdrv/linux/../SUPDrvInternal.h:105,
                 from /var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work/vboxdrv/linux/SUPDrv-linux.c:37:
include/linux/mmzone.h:18:26: error: linux/bounds.h: Нет такого файла или каталога
include/linux/mmzone.h:258:5: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
                 from include/linux/slab.h:12,
                 from /var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work/vboxdrv/linux/../SUPDrvInternal.h:105,
                 from /var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work/vboxdrv/linux/SUPDrv-linux.c:37:
include/linux/mmzone.h:300: ошибка: ‘MAX_NR_ZONES’ не описан в этой области (не в функции)
In file included from /var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work/vboxdrv/r0drv/linux/the-linux-kernel.h:82,
                 from /var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work/vboxdrv/linux/SUPDrv-linux.c:38:
include/linux/mm.h:454:63: warning: "NR_PAGEFLAGS" is not defined
include/linux/mm.h:502:62: warning: "NR_PAGEFLAGS" is not defined
make[3]: *** [/var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work/vboxdrv/linux/SUPDrv-linux.o] Ошибка 1
make[2]: *** [_module_/var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work/vboxdrv] Ошибка 2
make[2]: Leaving directory `/usr/src/linux-2.6.32.8-calculate'
make[1]: *** [vboxdrv] Ошибка 2
make[1]: Leaving directory `/var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work/vboxdrv'
make: *** [all] Ошибка 2
 * ERROR: app-emulation/virtualbox-modules-3.1.6 failed:
 *   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.32.8-calculate/build all
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3637:  Called linux-mod_src_compile
 *   environment, line 2690:  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}";
 * 
 * If you need support, post the output of 'emerge --info =app-emulation/virtualbox-modules-3.1.6',
 * the complete build log and the output of 'emerge -pqv =app-emulation/virtualbox-modules-3.1.6'.
 * The complete build log is located at '/var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/temp/environment'.
 * S: '/var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work'

>>> Failed to emerge app-emulation/virtualbox-modules-3.1.6, Log file:

>>>  '/var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/temp/build.log'

 * Messages for package app-emulation/virtualbox-modules-3.1.6:

 * ERROR: app-emulation/virtualbox-modules-3.1.6 failed:
 *   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.32.8-calculate/build all
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3637:  Called linux-mod_src_compile
 *   environment, line 2690:  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}";
 * 
 * If you need support, post the output of 'emerge --info =app-emulation/virtualbox-modules-3.1.6',
 * the complete build log and the output of 'emerge -pqv =app-emulation/virtualbox-modules-3.1.6'.
 * The complete build log is located at '/var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/temp/build.log'.
 * The ebuild environment file is located at '/var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/temp/environment'.
 * S: '/var/calculate/tmp/portage/app-emulation/virtualbox-modules-3.1.6/work'

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
e]

как решить ?

WARNING: Symbol version dump

 WARNING: Symbol version dump /usr/src/linux-2.6.32.8-calculate/Module.symvers
           is missing; modules will have no dependencies and modversions.

я бы начал с этого ;)

cd /usr/src/linux
make prepare
make modules_install

Удачи ;)

知る者は言わず言う者は知らず
"Бабло, побеждает даже зло"

Настройки просмотра комментариев

Выберите нужный метод показа комментариев и нажмите "Сохранить установки".