[Mesa-dev] Small build issue with libdrm under home since uvd commit.

Matt Turner mattst88 at gmail.com
Tue Apr 16 09:42:33 PDT 2013


On Tue, Apr 16, 2013 at 2:54 AM, Andy Furniss <andyqos at ukfsn.org> wrote:
> On one of my builds I have libdrm/mesa/xorg living under my home, normally I
> can build mesa by setting LDFLAGS and --prefix= but since the uvd commit I
> get -
>
> Making all in radeon
> make[3]: Entering directory
> `/mnt/sdb1/Src/Mesa-git/mesa/src/gallium/drivers/radeon'
>   CC       radeon_uvd.lo
> In file included from radeon_uvd.c:48:0:
> ../../winsys/radeon/drm/radeon_winsys.h:44:35: fatal error:
> libdrm/radeon_surface.h: No such file or directory
> compilation terminated.
>
> I can work around by setting CPPFLAGS but in the (distant) past this has
> proven to be problematic if some internal header gets updated as the now too
> old installed header gets used.

Looks like it's simply because LIBDRM_CFLAGS or RADEON_CFLAGS aren't
in AM_CFLAGS.


More information about the mesa-dev mailing list