Re: [Xorg] ATI driver fails to build on non-DRI platforms
Eric Anholt <[email protected]>
| Newsgroups | gmane.comp.freedesktop.release-wranglers,gmane.comp.freedesktop.xorg |
|---|---|
| Message-ID | <1092213514.22897.5.camel@leguin> |
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 [email protected] http://people.freebsd.org/~anholt/ [email protected]