* Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 2.6.30-gentoo-r4 * You have DRM support built in to the kernel * Direct rendering will not work. * * Please note that this driver supports only graphic cards based on * r600 chipset and newer. * This represent the ATI Radeon HD series at this moment. * * If your card is older then usage of x11-drivers/xf86-video-ati * as replacement is highly recommended. Rather than staying with * old versions of this driver. * For migration informations please reffer to: * http://www.gentoo.org/proj/en/desktop/x/x11/ati-migration-guide.xml * >>> Unpacking source... >>> Source unpacked in /var/tmp/portage/x11-drivers/ati-drivers-9.11/work >>> Preparing source in /var/tmp/portage/x11-drivers/ati-drivers-9.11/work ... * Applying ati-drivers-xen.patch ...  [ ok ] * Applying ati-powermode-opt-path-2.patch ...  [ ok ] * 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-9.11/work/extra >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-drivers/ati-drivers-9.11/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-drivers/ati-drivers-9.11/work ... * Preparing fglrx module make -j14 HOSTCC=i686-pc-linux-gnu-gcc CROSS_COMPILE=i686-pc-linux-gnu- LDFLAGS= GCC_VER_MAJ=4 KVER=2.6.30-gentoo-r4 KDIR=/usr/src/linux kmod_build make -C /usr/src/linux M=/var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x modules make[1]: Entering directory `/usr/src/linux-2.6.30-gentoo-r4' CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_acpi.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_agp.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_ioctl.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_io.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_pci.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_str.o CC [M] /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_wait.o /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c: In function 'KCL_DEBUG_Print': /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:96: warning: format not a string literal and no format arguments /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c: In function '__ke_printk': /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/kcl_debug.c:157: warning: format not a string literal and no format arguments In file included from /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:450: /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h: In function 'FGLDRM__vma_info': /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/drm_proc.h:497: warning: format '%08lx' expects type 'long unsigned int', but argument 5 has type 'phys_addr_t' /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function 'KCL_MapPageToPfn': /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1592: warning: unused variable 'bus_addr' LD [M] /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.o Building modules, stage 2. MODPOST 1 modules CC /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.mod.o LD [M] /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/lib/modules/fglrx/build_mod/2.6.x/fglrx.ko make[1]: Leaving directory `/usr/src/linux-2.6.30-gentoo-r4' * Building fgl_glxgears ... In file included from fgl_glxgears.c:81: /var/tmp/portage/x11-drivers/ati-drivers-9.11/work/common/usr/include/GL/glATI.h:3762:1: warning: "GL_ATI_texture_env_combine3" redefined In file included from /usr/include/GL/gl.h:2155, from /usr/include/GL/glu.h:38, from fgl_glxgears.c:64: /usr/include/GL/glext.h:8078:1: warning: this is the location of the previous definition  [ ok ] * Building fglrx_gamma lib ... fglrx_gamma.c:19:34: error: X11/extensions/XTest.h: No such file or directory * ERROR: x11-drivers/ati-drivers-9.11 failed: * fglrx_gamma lib build failed * * Call stack: * ebuild.sh, line 55: Called src_compile * environment, line 3824: Called die * The specific snippet of code: * "$(tc-getCC)" -shared -fpic -o libfglrx_gamma.so.1.0 ${CFLAGS} ${LDFLAGS} -DXF86MISC -Wl,-soname,libfglrx_gamma.so.1.0 fglrx_gamma.c -lXext || die "fglrx_gamma lib build failed"; * * If you need support, post the output of 'emerge --info =x11-drivers/ati-drivers-9.11', * the complete build log and the output of 'emerge -pqv =x11-drivers/ati-drivers-9.11'. * The complete build log is located at '/var/log/portage/build/x11-drivers/ati-drivers-9.11:20091125-214008.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-drivers/ati-drivers-9.11/temp/environment'. * S: '/var/tmp/portage/x11-drivers/ati-drivers-9.11/work'