Собрал новое ядро (2.6.32), затем стал пересобирать модули (virtualbox-modules и broadcom-sta). Модуль виртуалбокса собрался, а вот wl (broadcom-sta) нет.
Версия broadcom-sta: 5.10.91.9.3-r1
build.log: http://dpaste.com/128578/
bugs.gentoo.org чист, гугл тоже.
>>> Compiling source in /var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/work ...
ln: создание символьной ссылки `Module.symvers': Файл существует
* Preparing wl module
make -j3 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= -C /usr/src/linux M=/var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/work wl.ko
make: Entering directory `/usr/src/linux-2.6.32-gentoo'
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/work/src/wl/sys/wl_linux.o
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/work/src/shared/linux_osl.o
CC [M] /var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/work/src/wl/sys/wl_iw.o
/var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/work/src/wl/sys/wl_linux.c: В функции ‘wl_free’:
/var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/work/src/wl/sys/wl_linux.c:707: ошибка: неявная декларация функции ‘schedule’
make[1]: *** [/var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/work/src/wl/sys/wl_linux.o] Ошибка 1
make[1]: *** Ожидание завершения заданий...
make: *** [wl.ko] Ошибка 2
make: Leaving directory `/usr/src/linux-2.6.32-gentoo'
*
* ERROR: net-wireless/broadcom-sta-5.10.91.9.3-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3404: Called linux-mod_src_compile
* environment, line 2634: 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= -C /usr/src/linux M=/var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/work wl.ko
*
* 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/net-wireless/broadcom-sta-5.10.91.9.3-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/temp/environment'.
*
>>> Failed to emerge net-wireless/broadcom-sta-5.10.91.9.3-r1, Log file:
>>> '/var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/temp/build.log'
* Messages for package net-wireless/broadcom-sta-5.10.91.9.3-r1:
*
* ERROR: net-wireless/broadcom-sta-5.10.91.9.3-r1 failed.
* Call stack:
* ebuild.sh, line 49: Called src_compile
* environment, line 3404: Called linux-mod_src_compile
* environment, line 2634: 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= -C /usr/src/linux M=/var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/work wl.ko
*
* 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/net-wireless/broadcom-sta-5.10.91.9.3-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-wireless/broadcom-sta-5.10.91.9.3-r1/temp/environment'.
*