Bug 71572 - Build fails due to missing include path to <drm.h>
Summary: Build fails due to missing include path to <drm.h>
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: 1.3.0
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-13 12:01 UTC by Enrico Scholz
Modified: 2013-11-25 04:02 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Enrico Scholz 2013-11-13 12:01:53 UTC
| In file included from launcher-util.c:44:0:
| /srv/projects/.../usr/include/xf86drm.h:40:17: fatal error: drm.h: No such file or directory
|  #include <drm.h>
| compilation terminated.
| make[4]: *** [fbdev_backend_la-launcher-util.lo] Error 1


The searchpath which is necessary to include <drm.h> is in
DRM_COMPOSITOR_CFLAGS and in SETBACKLIGHT_CFLAGS.  None of them is used to build fbdev_backend
Comment 1 Kristian Høgsberg 2013-11-25 04:02:48 UTC
Should be fixed in

commit d2c9d8af50351bd2e1385cfa056eda44f06d19c5
Author: Kristian Høgsberg <krh@bitplanet.net>
Date:   Sun Nov 24 14:37:07 2013 -0800

    configure.ac: Make libdrm optional in weston-launch
    
    If libdrm is available, weston-launch and launcer-util.c will support
    getting the drm device and setting and dropping drm master, otherwise
    we'll only support getting input devices.

on weston master.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.