Martin Gansser wrote on 2021/04/26 17:37:
Hi,
when compiling [1] vdr-mpv on fc34, i get this error message:
/usr/include/xf86drmMode.h:43:10: fatal error: drm.h: No such file or directory
I already opened a buzilla ticket [2] but still no response.
I can be solve this error by changing line 43 in /usr/include/xf86drmMode.h:
#include <drm.h>
to
#include <libdrm/drm.h>
[1] https://martinkg.fedorapeople.org/ErrorReports/vdr-mpv.spec
[2] https://bugzilla.redhat.com/show_bug.cgi?id=1950273
Regards
Martin
/usr/include/xf86drmMode.h is in libdrm-devel , so I guess
you should add `$ pkg-config --cflags libdrm` to compilation flags.
$ pkg-config --cflags libdrm
-I/usr/include/libdrm
Regards,
Mamoru
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it:
https://pagure.io/fedora-infrastructure