[Xorg] ATI driver fails to build on non-DRI platforms
Eric Anholt
eta at lclark.edu
Wed Aug 11 01:38:34 PDT 2004
On Wed, 2004-08-11 at 00:50, Alan Coopersmith wrote:
> I haven't had a chance to look into what change broke it, but
> after pulling over from Xorg head today, the ATI drivers no longer
> build on Solaris x86 (which doesn't use DRI).
>
> Specifically, the failures are:
> "radeon_render.c", line 438: undefined struct/union member: CPStarted
> "radeon_render.c", line 746: undefined struct/union member: CPStarted
>
> The problem is simply that radeon.h defines CPStarted inside an
> #ifdef XF86DRI block, but radeon_render.c uses them without wrapping
> inside ifdef's.
>
> Can someone who knows this code please fix?
http://freedesktop.org/bugzilla/show_bug.cgi?id=922
See the current patch for a build fix. I'll test this out and commit
tomorrow I hope.
--
Eric Anholt eta at lclark.edu
http://people.freebsd.org/~anholt/ anholt at FreeBSD.org
More information about the xorg
mailing list