livecd / # emerge ati-drivers Calculating dependencies... done! >>> Verifying ebuild Manifests... >>> Emerging (1 of 1) x11-drivers/ati-drivers-8.40.4 to / * ati-driver-installer-8.40.4-x86.x86_64.run RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking ati-driver-installer-8.40.4-x86.x86_64.run ;-) ... [ ok ] * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.24-gentoo-r3 >>> Unpacking source... Warning: target directory exists /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work Verifying archive integrity... All good. Uncompressing ATI Proprietary Linux Driver-8.40.4.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. * Converting 2.6.x/Makefile to use M= instead of SUBDIRS= ... [ ok ] >>> Unpacking ./../common/usr/src/ati/fglrx_sample_source.tgz to /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/extra * Applying ati-drivers-8.40.4-warnings.patch ... [ ok ] * Applying ati-drivers-2.6.23.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work ... * Preparing fglrx module make -C /usr/src/linux M=/var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x modules make[1]: Entering directory `/usr/src/linux-2.6.24-gentoo-r3' CC [M] /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_compat_alloc_user_space': /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1815: error: implicit declaration of function 'compat_alloc_user_space' /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1815: warning: return makes pointer from integer without a cast /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_check_pci': /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1858: warning: 'pci_find_slot' is deprecated (declared at include/linux/pci.h:493) /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_pci_find_slot': /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2724: warning: 'pci_find_slot' is deprecated (declared at include/linux/pci.h:493) /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_register_ioctl32_conversion': /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2850: error: implicit declaration of function 'register_ioctl32_conversion' /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_unregister_ioctl32_conversion': /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:2857: error: implicit declaration of function 'unregister_ioctl32_conversion' /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke_pte_phys_addr_str': /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3412: warning: too few arguments for format /var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:3412: warning: too few arguments for format make[2]: *** [/var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o] Error 1 make[1]: *** [_module_/var/tmp/portage/x11-drivers/ati-drivers-8.40.4/work/common/lib/modules/fglrx/build_mod/2.6.x] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.24-gentoo-r3' make: *** [kmod_build] Error 2 * * ERROR: x11-drivers/ati-drivers-8.40.4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3244: Called linux-mod_src_compile * environment, line 2453: Called die * The specific snippet of code: * emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}."; * The die message: * Unable to make GCC_VER_MAJ=4 KVER=2.6.24-gentoo-r3 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 '/var/tmp/portage/x11-drivers/ati-drivers-8.40.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.40.4/temp/environment'. * * Messages for package x11-drivers/ati-drivers-8.40.4: * * ERROR: x11-drivers/ati-drivers-8.40.4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 3244: Called linux-mod_src_compile * environment, line 2453: Called die * The specific snippet of code: * emake HOSTCC="$(tc-getBUILD_CC)" CC="$(get-KERNEL_CC)" LDFLAGS="$(get_abi_LDFLAGS)" ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS} || die "Unable to make ${BUILD_FIXES} ${BUILD_PARAMS} ${BUILD_TARGETS}."; * The die message: * Unable to make GCC_VER_MAJ=4 KVER=2.6.24-gentoo-r3 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 '/var/tmp/portage/x11-drivers/ati-drivers-8.40.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-8.40.4/temp/environment'. * livecd / #