Bug 1950273 - fatal error: drm.h: No such file or directory
Summary: fatal error: drm.h: No such file or directory
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: libdrm
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-16 09:39 UTC by MartinKG
Modified: 2021-04-26 09:44 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-26 09:44:37 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description MartinKG 2021-04-16 09:39:50 UTC
Description of problem:
when compiling vdr-mpv-1.2.1 on F34
https://github.com/ua0lnj/vdr-plugin-mpv/archive/refs/tags/v1.2.1.tar.gz
i get this error message: "fatal error: drm.h: No such file or directory"

Version-Release number of selected component (if applicable):
vdr-mpv-1.2.1

How reproducible:
compile the sources of vdr-mpv-1.2.1

Actual results:
"fatal error: drm.h: No such file or directory"

Expected results:
compiling w/o problems

Additional info:

can be solved by changing line 43 in /usr/include/xf86drmMode.h:

#include <drm.h>
to
#include <libdrm/drm.h>

Comment 1 MartinKG 2021-04-26 09:44:37 UTC
solved by adding `$ pkg-config --cflags libdrm` to compilation flags.


Note You need to log in before you can comment on or make changes to this bug.