[SOLVED] xf86-video-virtualbox-4.1.12 не собирается

При попытке собрать virtualbox-guest-additions, а именно xf86-video-virtualbox-4.1.12, появляется следующая ошибка.. Сам virtualbox собитается без проблем что с исходников что с бинарика. Посоветуйте решение.

CXX     RuntimeGuestR0 - {C}/common/alloc/alloc.cpp
In file included from /var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/src/VBox/Runtime/common/alloc/alloc.cpp:38:0:
/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/include/iprt/string.h: In function ‘char* RTLatin1PutCp(char*, RTUNICP)’:
/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/include/iprt/string.h:1405:5: error: invalid conversion from ‘void*’ to ‘char*’ [-fpermissive]
kmk: *** [/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/out/linux.x86/release/obj/RuntimeGuestR0/common/alloc/alloc.o] Error 1
The failing command:
@g++ -c -O2 -nostdinc -iwithprefix include -include /lib/modules/3.5.0-gentoo/build/include/generated/autoconf.h -Wall -Wextra -Wno-missing-field-initializers -Wno-unused -Wno-trigraphs -fdiagnostics-show-option -Wno-sign-compare -fno-stack-protector -O2 -mtune=generic -fno-omit-frame-pointer -fno-strict-aliasing -fno-common -include /var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/include/VBox/VBoxGuestMangling.h -mpreferred-stack-boundary=2 -msoft-float -fno-exceptions -fno-rtti -include /var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/include/VBox/VBoxGuestMangling.h -I/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/src/VBox/Runtime/r0drv/linux -I/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/src/VBox/Runtime -I/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/src/VBox/Runtime/include -I/lib/modules/3.5.0-gentoo/build/include -I/lib/modules/3.5.0-gentoo/build/include/asm-i386/mach-default -I/lib/modules/3.5.0-gentoo/build/include/asm-x86/mach-default -I/lib/modules/3.5.0-gentoo/build/arch/x86/include -I/lib/modules/3.5.0-gentoo/build/arch/x86/include/asm/mach-default -I/lib/modules/3.5.0-gentoo/build/arch/x86/include/generated -I/lib/modules/3.5.0-gentoo/build/include -I/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/include -I/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/out/linux.x86/release -DVBOX -DVBOX_WITH_DEBUGGER -DVBOX_OSE -DVBOX_WITH_64_BITS_GUESTS -DVBOX_WITH_HARDENING -DRTPATH_APP_PRIVATE=\"/opt/VirtualBox\" -DRT_OS_LINUX -D_FILE_OFFSET_BITS=64 -DRT_ARCH_X86 -D__X86__ -D__KERNEL__ -DMODULE -DIN_RING0 -DIN_RT_R0 -DIN_GUEST -DIN_GUEST_R0 -DIN_RT_R0 -DRT_WITH_VBOX -DRT_WITHOUT_NOCRT_WRAPPERS -DRT_NO_EXPORT_SYMBOL -DMODULE -DKBUILD_MODNAME=KBUILD_STR\(vboxdrv\) -DKBUILD_BASENAME=KBUILD_STR\(vboxdrv\) -DIN_SUP_R0 -Wp,-MD,/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/out/linux.x86/release/obj/RuntimeGuestR0/common/alloc/alloc.o.dep -Wp,-MT,/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/out/linux.x86/release/obj/RuntimeGuestR0/common/alloc/alloc.o -Wp,-MP -o /var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/out/linux.x86/release/obj/RuntimeGuestR0/common/alloc/alloc.o /var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/src/VBox/Runtime/common/alloc/alloc.cpp
emake failed
 * ERROR: x11-drivers/xf86-video-virtualbox-4.1.12 faixf86-video-virtualbox-4.1.12led (compile phase):
 *   kmk failed
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 5687:  Called die
 * The specific snippet of code:
 *           MAKE="kmk" emake TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" || die "kmk failed";
 * 
 * If you need support, post the output of `emerge --info '=x11-drivers/xf86-video-virtualbox-4.1.12'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/xf86-video-virtualbox-4.1.12'`.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/src/VBox/Runtime'
 * S: '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12'

>>> Failed to emerge x11-drivers/xf86-video-virtualbox-4.1.12, Log file:

>>>  '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/temp/build.log'

 * Messages for package x11-drivers/xf86-video-virtualbox-4.1.12:

 * ERROR: x11-drivers/xf86-video-virtualbox-4.1.12 failed (compile phase):
 *   kmk failed
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_compile
 *   environment, line 5687:  Called die
 * The specific snippet of code:
 *           MAKE="kmk" emake TOOL_YASM_AS=yasm KBUILD_PATH="${S}/kBuild" || die "kmk failed";
 * 
 * If you need support, post the output of `emerge --info '=x11-drivers/xf86-video-virtualbox-4.1.12'`,
 * the complete build log and the output of `emerge -pqv '=x11-drivers/xf86-video-virtualbox-4.1.12'`.
 * The complete build log is located at '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/temp/environment'.
 * Working directory: '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12/src/VBox/Runtime'
 * S: '/var/tmp/portage/x11-drivers/xf86-video-virtualbox-4.1.12/work/VirtualBox-4.1.12'

Возможно у вас слишком свежее ядро...

Если ядро 3.5.0, то ставте virtualbox-4.1.18

у меня ядро 3.5.0

Так и есть, у меня ядро 3.5.0 сейчас попробую, спасибо.

Все работает, спасибо

поставил замаскированную 4.1.18 и все собралось как по маслу, спасибо :)

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

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