ошибка сборки ati-drivers
cheerfulboy 13 февраля, 2009 - 22:51
* Preparing fglrx module make HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.27-gentoo-r8 KDIR=/usr/src/linux kmod_build make -C /usr/src/linux M=/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x modules make[1]: Entering directory `/usr/src/linux-2.6.27-gentoo-r8' CC [M] /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘KCL_SetPageNoCache’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1161: ошибка: implicit declaration of function ‘change_page_attr’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘KCL_ProcessIsTerminated’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1192: ошибка: implicit declaration of function ‘find_task_by_pid’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1192: предупреждение: assignment makes pointer from integer without a cast /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘firegl_put_user_ptr’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1594: предупреждение: присваивание преобразует указатель в целое без приведения типа /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘KCL_PosixSecurityCapGetEffectiveVector’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1888: ошибка: implicit declaration of function ‘cap_t’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘KCL_PosixSecurityCapSetEffectiveVector’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1896: ошибка: некорректная левая часть в присваивании /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘__ke_check_pci’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1951: предупреждение: функция, переменная или тип ‘pci_find_slot’ будет исключен(а) в будущих версиях (декларация в include/linux/pci.h:545) /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘__ke_get_vm_phys_addr’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2392: ошибка: ‘NOPAGE_SIGBUS’ undeclared (first use in this function) /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2392: ошибка: (Each undeclared identifier is reported only once /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2392: ошибка: for each function it appears in.) /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘__ke_get_vm_page_table’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2414: ошибка: ‘NOPAGE_SIGBUS’ undeclared (first use in this function) /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘KCL_TestAndClearPageDirtyFlag’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2542: ошибка: ‘NOPAGE_SIGBUS’ undeclared (first use in this function) /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘__ke_flush_cache’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2718: ошибка: слишком много аргументов в вызове функции ‘smp_call_function’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘__ke_pci_find_slot’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2840: предупреждение: функция, переменная или тип ‘pci_find_slot’ будет исключен(а) в будущих версиях (декларация в include/linux/pci.h:545) /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘__ke_unregister_ioctl32_conversion’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2972: предупреждение: оператор ‘return’ <значение> в функции возвращающей void /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: На верхнем уровне: /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3548: ошибка: неизвестное поле ‘nopage’ в инициализаторе /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3548: предупреждение: initialization from incompatible pointer type /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3566: ошибка: неизвестное поле ‘nopage’ в инициализаторе /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3566: предупреждение: initialization from incompatible pointer type /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3573: ошибка: неизвестное поле ‘nopage’ в инициализаторе /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3573: предупреждение: initialization from incompatible pointer type /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3580: ошибка: неизвестное поле ‘nopage’ в инициализаторе /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3580: предупреждение: initialization from incompatible pointer type /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3587: ошибка: неизвестное поле ‘nopage’ в инициализаторе /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3587: предупреждение: initialization from incompatible pointer type /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3594: ошибка: неизвестное поле ‘nopage’ в инициализаторе /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3594: предупреждение: initialization from incompatible pointer type /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3601: ошибка: неизвестное поле ‘nopage’ в инициализаторе /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3601: предупреждение: initialization from incompatible pointer type /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3610: ошибка: неизвестное поле ‘nopage’ в инициализаторе /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3610: предупреждение: initialization from incompatible pointer type /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘KCL_CallFuncOnOtherCpus’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4330: ошибка: слишком много аргументов в вызове функции ‘smp_call_function’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘KCL_enable_pat’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4537: ошибка: слишком много аргументов в вызове функции ‘smp_call_function’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘KCL_disable_pat’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:4555: ошибка: слишком много аргументов в вызове функции ‘smp_call_function’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: В функции ‘KAS_SlabCache_Initialize’ /tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:5219: предупреждение: приведение указателя к целому другого размера make[2]: *** [/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Ошибка 1 make[1]: *** [_module_/tmp/portage/x11-drivers/ati-drivers-8.471.3/work/common/lib/modules/fglrx/build_mod/2.6.x] Ошибка 2 make[1]: Leaving directory `/usr/src/linux-2.6.27-gentoo-r8' make: *** [kmod_build] Ошибка 2 * * ERROR: x11-drivers/ati-drivers-8.471.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3304: Called linux-mod_src_compile * environment, line 2508: 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=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.27-gentoo-r8 KDIR=/usr/src/linux kmod_build * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/tmp/portage/x11-drivers/ati-drivers-8.471.3/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/x11-drivers/ati-drivers-8.471.3/temp/environment'. * >>> Failed to emerge x11-drivers/ati-drivers-8.471.3, Log file: >>> '/tmp/portage/x11-drivers/ati-drivers-8.471.3/temp/build.log' * Messages for package x11-drivers/ati-drivers-8.471.3: * * ERROR: x11-drivers/ati-drivers-8.471.3 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3304: Called linux-mod_src_compile * environment, line 2508: 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=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.27-gentoo-r8 KDIR=/usr/src/linux kmod_build * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/tmp/portage/x11-drivers/ati-drivers-8.471.3/temp/build.log'. * The ebuild environment file is located at '/tmp/portage/x11-drivers/ati-drivers-8.471.3/temp/environment'. *
# lspci | grep -i radeon 01:00.0 VGA compatible controller: ATI Technologies Inc RV570 [Radeon X1950 Pro] (rev 9a) 01:00.1 Display controller: ATI Technologies Inc RV570 [Radeon X1950 Pro] (secondary) (rev 9a)
»
- Для комментирования войдите или зарегистрируйтесь
байан
байан.... новое ядро, а драйвер текущий, или ядро более старое ставь или разсмаскируцй более новые версии драйверов... я бы выбрал второе
проблема сборок драйверов ати с новыми ядрами известный баг