When compiling mesa 6.5.1 it fails to compile because it needs a newer libdrm. Emerging libdrm 2.0.2 fixed it.
Forgot the error... __________________ x86_64-pc-linux-gnu-gcc -c -I. -I../../../../../src/mesa/drivers/dri/common -Iserver -I../../../../../include -I../../../../../include/GL/internal -I../../../../../src/mesa -I../../../../../src/mesa/main -I../../../../../src/mesa/glapi -I../../../../../src/mesa/math -I../../../../../src/mesa/transform -I../../../../../src/mesa/shader -I../../../../../src/mesa/swrast -I../../../../../src/mesa/swrast_setup -I../../../../../src/egl/main -I../../../../../src/egl/drivers/dri `pkg-config --cflags libdrm` -march=k8 -O2 -pipe -fomit-frame-pointer -fno-strict-aliasing -fPIC -m64 -DGLX_USE_TLS -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DHAVE_ALIAS -DHAVE_POSIX_MEMALIGN -DUSE_X86_64_ASM -DRADEON_COMMON=1 -DRADEON_COMMON_FOR_R200 r200_context.c -o r200_context.o In file included from r200_context.c:55: r200_context.h:54:2: error: #error This driver requires a newer libdrm to compile make[6]: *** [r200_context.o] Error 1 make[6]: Leaving directory `/var/tmp/portage/mesa-6.5.1/work/Mesa-6.5.1/src/mesa/drivers/dri/r200' make[5]: *** [subdirs] Error 1 make[5]: Leaving directory `/var/tmp/portage/mesa-6.5.1/work/Mesa-6.5.1/src/mesa/drivers/dri' make[4]: *** [linux-solo] Error 2 make[4]: Leaving directory `/var/tmp/portage/mesa-6.5.1/work/Mesa-6.5.1/src/mesa' make[3]: *** [default] Error 2 make[3]: Leaving directory `/var/tmp/portage/mesa-6.5.1/work/Mesa-6.5.1/src/mesa' make[2]: *** [subdirs] Error 1 make[2]: Leaving directory `/var/tmp/portage/mesa-6.5.1/work/Mesa-6.5.1/src' make[1]: *** [default] Error 1 make[1]: Leaving directory `/var/tmp/portage/mesa-6.5.1/work/Mesa-6.5.1' make: *** [linux-dri-x86-64] Error 2 !!! ERROR: media-libs/mesa-6.5.1 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile mesa-6.5.1.ebuild, line 204: Called die !!! Build failed !!! If you need support, post the topmost build error, and the call stack if relevant.
Fixed, thanks.
*** Bug 154804 has been marked as a duplicate of this bug. ***