Please make ati-drivers depend on kernel < 2.6.33 With 2.6.33 it bails out with firegl_public.c:31:28: error: linux/autoconf.h: No such file or directory firegl_public.c:166:30: error: linux/utsrelease.h: No such file or directory ... (It builds and runs fine with kernel 2.6.32-gentoo-r7) Reproducible: Always
Could you complain to ati upstream about it too ? Anyway, in 2.6.33, those headers are not linux/*, but generated/*.
dup of http://bugs.gentoo.org/show_bug.cgi?id=306761 ? There is also a patch for 2.6.33
*** Bug 306761 has been marked as a duplicate of this bug. ***
For me the patch attached to http://bugs.gentoo.org/show_bug.cgi?id=306761 only solves half of the problem. I still get these errors: /var/tmp/portage/x11-drivers/ati-drivers-10.2/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c: In function '__ke__cmpxchg': /var/tmp/portage/x11-drivers/ati-drivers-10.2/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1473: error: variable or field '__ret' declared void /var/tmp/portage/x11-drivers/ati-drivers-10.2/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1473: error: variable or field '__old' declared void /var/tmp/portage/x11-drivers/ati-drivers-10.2/work/common/lib/modules/fglrx/build_mod/2.6.x/firegl_public.c:1473: error: variable or field '__new' declared void
Correction: The patch worked great. It looks like I applied it on a wrong copy; silly me...
Fixed in tree (I made the patch myself and only then realized someone posted one here). + 28 Feb 2010; Fabio Erculiani <lxnay@gentoo.org> + +files/ati-drivers-2.6.33.patch, ati-drivers-10.1.ebuild, + ati-drivers-10.2.ebuild, + +files/ati-drivers-fix_compilation-bug-297322.patch: + add 2.6.33 kernel support and really close bug 297322 +