On Mon, 2009-07-06 at 23:14 +0200, Marc Elser wrote: > When I try to compile the newest intel driver from git repository, I > always get a compiler error when it compiles i830_dri.o: > > i830_dri.c: In function ‘I830DRI2CreateBuffer’: > i830_dri.c:224: error: ‘struct <anonymous>’ has no member named ‘format’ > i830_dri.c: In function ‘I830DRI2ScreenInit’: > i830_dri.c:422: warning: assignment from incompatible pointer type > i830_dri.c:423: warning: assignment from incompatible pointer type > make[3]: *** [i830_dri.lo] Error 1 > make[3]: *** Waiting for unfinished jobs.... > make[2]: *** [all-recursive] Error 1 > make[1]: *** [all-recursive] Error 1 > make: *** [all] Error 2 > > Is this a bug or am I missing some packages?
You're using X server 1.6.902 which had a pre-release of some DRI2 changes which were recently fixed to resolve ABI breakage with drivers that hadn't been updated. 1.6.903 should be out shortly, or you can use the following temporary kludge: diff --git a/src/i830_dri.c b/src/i830_dri.c index 240c519..e2ad98b 100644 --- a/src/i830_dri.c +++ b/src/i830_dri.c @@ -161,6 +161,9 @@ I830DRI2CreateBuffers(DrawablePtr pDraw, unsigned int *attachments, int count) #else +#define DRI2Buffer2Ptr DRI2BufferPtr +#define DRI2Buffer2Rec DRI2BufferRec + static DRI2Buffer2Ptr I830DRI2CreateBuffer(DrawablePtr pDraw, unsigned int attachment, unsigned int format) -- keith.pack...@intel.com
signature.asc
Description: This is a digitally signed message part
------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry
-- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel