FS#53086 - [libdrm] 2.4.75-1 header includes inexistant file

Attached to Project: Arch Linux
Opened by Joaquín Montero Salinas (joqmos) - Sunday, 26 February 2017, 02:13 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 26 February 2017, 18:00 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The xf86drm.h and xf86drmMode.h headers include drm.h, which doesn't exist. drm.h resides in libdrm/drm.h instead.

Additional info:

When one tries to compile a program that includes xf86drm.h and/or xf86drmMode.h, GCC outputs the following error message:

/usr/include/xf86drm.h:40:17: fatal error: drm.h: No such file or directory
#include <drm.h>
^

Steps to reproduce:

1. Compile a C program that includes either xf86drm.h or xf86drmMode.h.
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 26 February 2017, 18:00 GMT
Reason for closing:  Not a bug
Additional comments about closing:  You're missing an include dir. This is what pkg-config is for.

Loading...