Emerging ati-drivers has worked fine up until I started to use 2.6.11 kernels. I now get this: -------------------- >>> Source unpacked. * Building the DRM module... make: Entering directory `/usr/src/linux-2.6.11-gentoo-r2' CC [M] /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/agp3.o CC [M] /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/nvidia-agp.o CC [M] /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/agpgart_be.o /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/agpgart_be.c: In function `x86_64_insert_memory': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/agpgart_be.c:3804: warning: integer constant is too large for "long" type /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/agpgart_be.c: In function `agp_find_supported_device': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/agpgart_be.c:6527: warning: unused variable `cap_ptr' /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/agpgart_be.c: In function `__fgl_agp_init': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/agpgart_be.c:7612: warning: `pm_register' is deprecated (declared at include/linux/pm.h:106) /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/agpgart_be.c: In function `__fgl_agp_cleanup': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/agpgart_be.c:7622: warning: `pm_unregister_all' is deprecated (declared at include/linux/pm.h:116) /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/agpgart_be.c: At top level: /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/agpgart_be.c:6508: warning: `agp_check_supported_device' defined but not used CC [M] /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/i7505-agp.o CC [M] /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.o /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `firegl_stub_putminor': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:504: warning: `inter_module_put' is deprecated (declared at include/linux/module.h: 578) /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:506: warning: `inter_module_unregister' is deprecated (declared at include/linux/mo dule.h:574) /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `firegl_stub_register': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:526: warning: `inter_module_register' is deprecated (declared at include/linux/modu le.h:573) /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:557: warning: `inter_module_put' is deprecated (declared at include/linux/module.h: 578) /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `__ke_get_vm_phys_addr': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:1579: warning: passing arg 1 of `pmd_offset' from incompatible pointer type /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `do_vm_shm_nopage': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2074: warning: passing arg 1 of `pmd_offset' from incompatible pointer type /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `__ke_vm_phys_addr_str': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2445: warning: passing arg 1 of `pmd_offset' from incompatible pointer type /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: At top level: /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2533: warning: initialization from incompatible pointer type /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `__ke_vm_map': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2594: warning: implicit declaration of function `remap_page_range' /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: At top level: /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2748: error: parse error before '*' token /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2748: warning: type defaults to `int' in declaration of `drm_agp_module_stub' /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2748: warning: data definition has no type or storage class /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `__ke_agpgart_available': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2890: error: `drm_agp_t' undeclared (first use in this function) /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2890: error: (Each undeclared identifier is reported only once /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2890: error: for each function it appears in.) /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2890: error: parse error before ')' token /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2911: error: request for member `free_memory' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2913: error: request for member `free_memory' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2916: error: request for member `allocate_memory' in something not a structure or u nion /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2918: error: request for member `allocate_memory' in something not a structure or u nion /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2921: error: request for member `bind_memory' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2923: error: request for member `bind_memory' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2926: error: request for member `unbind_memory' in something not a structure or uni on /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2928: error: request for member `unbind_memory' in something not a structure or uni on /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2931: error: request for member `enable' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2933: error: request for member `enable' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2936: error: request for member `acquire' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2938: error: request for member `acquire' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2941: error: request for member `release' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2943: error: request for member `release' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2946: error: request for member `copy_info' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:2948: error: request for member `copy_info' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `__ke_agp_uninit': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3019: warning: `inter_module_put' is deprecated (declared at include/linux/module.h :578) /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `__ke_agp_free_memory': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3052: error: request for member `free_memory' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3053: error: request for member `free_memory' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `__ke_agp_allocate_memory': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3062: error: request for member `allocate_memory' in something not a structure or u nion /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3063: error: request for member `allocate_memory' in something not a structure or u nion /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `__ke_agp_bind_memory': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3073: error: request for member `bind_memory' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3074: error: request for member `bind_memory' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `__ke_agp_unbind_memory': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3084: error: request for member `unbind_memory' in something not a structure or uni on /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3085: error: request for member `unbind_memory' in something not a structure or uni on /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `__ke_agp_enable': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3095: error: request for member `enable' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3097: error: request for member `enable' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `__ke_agp_acquire': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3143: error: request for member `acquire' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3144: error: request for member `acquire' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `__ke_agp_release': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3154: error: request for member `release' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3155: error: request for member `release' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c: In function `__ke_agp_copy_info': /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3168: error: request for member `copy_info' in something not a structure or union /var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.c:3175: error: request for member `copy_info' in something not a structure or union make[1]: *** [/var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod/firegl_public.o] Error 1 make: *** [_module_/var/tmp/portage/ati-drivers-8.8.25/work/lib/modules/fglrx/build_mod] Error 2 make: Leaving directory `/usr/src/linux-2.6.11-gentoo-r2' * DRM module not built -------------------- and as per bug #84653, the emerge continues successfully even though the module failed to compile. I'm using the following: x11-base/xorg-x11-6.8.0-r4 sys-kernel/gentoo-dev-sources-2.6.11-r2 I need to use 2.6.11 for WBSD support ( http://drzeus.cx/ ). Reproducible: Always Steps to Reproduce: Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r2 i686) ================================================================= System uname: 2.6.11-gentoo-r2 i686 mobile AMD Athlon(tm) XP-M 2800+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 9 2005, 17:16:33)] distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r3, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O3 -mno-sse2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -mno-sse2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv usersandbox" GENTOO_MIRRORS="ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.0.2/gentoo-portage" USE="x86 3dnow 3dnowex S3TC X X509 acpi acpi4linux activefilter alsa atm avi berkdb bitmap-fonts bluetooth bootsplash cdr chroot crypt cups curl dhcp directfb divx4linux dv dvd dvdread edl encode evms2 faac faad fam fbcon ffmpeg flac font-server foomaticdb freetype gd gdbm gif gimpprint gtk gtk2 gtkhtml icq ieee1394 imagemagick imap imlib ipv6 irda jabber java javascript jbig jikes jp2 jpeg libg++ libwww lzo lzw lzw-tiff maildir maildrop matroska mikmod mmx mmx2 mng mp3 mpeg mppe-mppc msn mysql ncurses net nls oggvorbis opengl pam pcmcia pda pdf pdflib perl pic pie png pnp ppds python qt quicktime radeon readline rtc samba sdl slang speex spell sse ssl svg tcpd tga theora tiff transcode truetype truetype-fonts type1-fonts usb v4l v4l2 wmf xine xml xml2 xmms xpm xrandr xv xvid yv12 zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
you are using a ~x86 kernel, please use the ~x86 ati-drivers ebuild.
Fair point, thanks.