[Intel-gfx] Compilation of dri2 branch

Li Peng peng.li at linux.intel.com
Wed Nov 19 01:51:16 CET 2008


Yeah, it fails because of a merge from master, but you can try the
commit "3dd7f0f9423bb891bc99cd3b77dc3d57e057a7ef", it works.

Peng

On Tue, 2008-11-18 at 20:34 +0100, Hanno Böck wrote:
> Hi,
> 
> I just saw that the dri2 branch got an update a few days ago. I tried to 
> compile it, but it fails.
> 
> Do I need a branch of something else? xorg-server, mesa and libdrm are all 
> from git.
> 
> make[4]: Entering directory 
> `/var/tmp/portage/x11-drivers/xf86-video-intel-9999/work/xf86-video-intel-9999/src'
> ../doltcompile 
> x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/include/xorg -I/usr/include/pixman-1    -I/usr/include/drm   -Wall -Wpointer-arith -Wstrict-prototypes     -Wmissing-prototypes -Wmissing-declarations     -Wnested-externs -fno-strict-aliasing -I/usr/include/xorg -I/usr/include/pixman-1   -I/usr/include/drm   -I/usr/include/X11/dri -I../uxa -DI830_XV -DI830_USE_XAA -DI830_USE_EXA -O2 -march=core2 -pipe -MT 
> i810_driver.lo -MD -MP -MF .deps/i810_driver.Tpo -c -o i810_driver.lo 
> i810_driver.c
> In file included from i830.h:738,
>                  from i810_driver.c:88:
> i830_batchbuffer.h: In function 'intel_batch_space':
> i830_batchbuffer.h:42: error: 'struct _I830Rec' has no member named 'batch_bo'
> i830_batchbuffer.h:42: error: 'struct _I830Rec' has no member 
> named 'batch_used'
> i830_batchbuffer.h: In function 'intel_batch_require_space':
> i830_batchbuffer.h:48: error: 'struct _I830Rec' has no member named 'batch_bo'
> i830_batchbuffer.h: In function 'intel_batch_emit_dword':
> i830_batchbuffer.h:56: error: 'struct _I830Rec' has no member 
> named 'batch_ptr'
> i830_batchbuffer.h:58: error: 'struct _I830Rec' has no member 
> named 'batch_ptr'
> i830_batchbuffer.h:58: error: 'struct _I830Rec' has no member 
> named 'batch_used'
> i830_batchbuffer.h:59: error: 'struct _I830Rec' has no member 
> named 'batch_used'
> i830_batchbuffer.h: In function 'intel_batch_emit_reloc':
> i830_batchbuffer.h:70: error: 'struct _I830Rec' has no member 
> named 'batch_ptr'
> i830_batchbuffer.h:70: error: 'struct _I830Rec' has no member 
> named 'batch_used'
> i830_batchbuffer.h:71: error: 'struct _I830Rec' has no member named 'batch_bo'
> i830_batchbuffer.h:71: error: 'struct _I830Rec' has no member 
> named 'batch_used'
> i830_batchbuffer.h:73: error: 'struct _I830Rec' has no member 
> named 'batch_used'
> i830_batchbuffer.h: In function 'intel_batch_emit_reloc_pixmap':
> i830_batchbuffer.h:85: error: 'struct _I830Rec' has no member 
> named 'batch_ptr'
> i830_batchbuffer.h:94: error: 'struct _I830Rec' has no member 
> named 'batch_ptr'
> i830_batchbuffer.h:94: error: 'struct _I830Rec' has no member 
> named 'batch_used'
> i830_batchbuffer.h:95: error: 'struct _I830Rec' has no member 
> named 'batch_used'
> make[4]: *** [i810_driver.lo] Error 1
> 
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx




More information about the Intel-gfx mailing list