Skip to contentSkip to conversation

r300g: mesa master fails to build - missing depend to libdrm >=2.4.19

DISCUSSION Sedat Dilek 1 participant 1 message Mar 23, 2010

lore
Share & tools
lore
#0 lore raw

Hi,

I was trying to compile latest mesa master GIT:

commit 2a3accb
r300g: fix glean occlusion query test

Unfortunately, the build breaks (see below "investigations"). I suspect the cause is I have here Debian's libdrm-2.4.18 installed. "radeon: add square-tiling flag" in [1] was post-2.4.18. So the depends should be bumped to libdrm >=2.4.19.

[configure.ac]
...
-LIBDRM_RADEON_REQUIRED=2.4.17
+LIBDRM_RADEON_REQUIRED=2.4.19
...
[/configure.ac]

Kind Regards,
- Sedat -

[1] http://cgit.freedesktop.org/mesa/drm/commit/?id=4b6f70f20cbaccb18f122e87ac0d471356b01a59

----- INVESTIGATIONS -----

[build.log]
...
ccache gcc -c -I. -I../../../../../../src/gallium/include -I../../../../../../src/gallium/auxiliary -I../../../../../../src/gallium/drivers
-I../../../../../../src/gallium/drivers/r300 -I/usr/include/drm -g
-O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing -g -fPIC -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DDEBUG -DHAVE_POSIX_MEMALIGN -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS radeon_r300.c -o radeon_r300.o radeon_drm_buffer.c: In function 'radeon_drm_bufmgr_set_tiling':
radeon_drm_buffer.c:319: error: 'RADEON_BO_FLAGS_MICRO_TILE_SQUARE' undeclared (first use in this function) radeon_drm_buffer.c:319: error: (Each undeclared identifier is reported only once
radeon_drm_buffer.c:319: error: for each function it appears in.) make[5]: *** [radeon_drm_buffer.o] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/home/sd/src/mesa/mesa/src/gallium/winsys/drm/radeon/core' make[4]: *** [default] Error 1
make[4]: Leaving directory `/home/sd/src/mesa/mesa/src/gallium/winsys/drm/radeon' make[3]: *** [default] Error 1
make[3]: Leaving directory `/home/sd/src/mesa/mesa/src/gallium/winsys/drm' make[2]: *** [default] Error 1
make[2]: Leaving directory `/home/sd/src/mesa/mesa/src/gallium/winsys' make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/sd/src/mesa/mesa/src'
make: *** [default] Error 1
[/build.log]
----- EOT -----

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev