* [Bug 99972] xf86drm.h:40:17: error: drm.h: No such file or directory
@ 2017-02-26 13:36 bugzilla-daemon
2017-02-26 13:51 ` bugzilla-daemon
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2017-02-26 13:36 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 960 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99972
Bug ID: 99972
Summary: xf86drm.h:40:17: error: drm.h: No such file or
directory
Product: DRI
Version: unspecified
Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: libdrm
Assignee: dri-devel@lists.freedesktop.org
Reporter: joqmos@gmail.com
In libdrm-2.4.75, xf86drm.h and xf86drmMode.h include drm.h, which doesn't
exist.
drm.h and friends are installed in /usr/local/include/libdrm.
When compiling a C program that includes xf86dri.h with GCC, the following
error message appears:
/usr/include/xf86drm.h:40:17: fatal error: drm.h: No such file or directory
#include <drm.h>
^
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2249 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread* [Bug 99972] xf86drm.h:40:17: error: drm.h: No such file or directory
2017-02-26 13:36 [Bug 99972] xf86drm.h:40:17: error: drm.h: No such file or directory bugzilla-daemon
@ 2017-02-26 13:51 ` bugzilla-daemon
2017-02-26 14:22 ` bugzilla-daemon
2017-02-26 14:39 ` bugzilla-daemon
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2017-02-26 13:51 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 528 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99972
--- Comment #1 from Emil Velikov <emil.l.velikov@gmail.com> ---
Me again ...
There is some contradiction in your statement - "drm.h" doesn't exist. "drm.h"
does exist in X :-P
But seriously, sounds like want to read-up on pkg-config [1].
In a nut-shell: gcc `pkg-config --cflags --libs libdrm` foo.c bar.c -o binary
[1] https://people.freedesktop.org/~dbn/pkg-config-guide.html
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1420 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug 99972] xf86drm.h:40:17: error: drm.h: No such file or directory
2017-02-26 13:36 [Bug 99972] xf86drm.h:40:17: error: drm.h: No such file or directory bugzilla-daemon
2017-02-26 13:51 ` bugzilla-daemon
@ 2017-02-26 14:22 ` bugzilla-daemon
2017-02-26 14:39 ` bugzilla-daemon
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2017-02-26 14:22 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1087 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99972
Joaquín Montero Salinas <joqmos@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |NOTABUG
Status|NEW |RESOLVED
--- Comment #2 from Joaquín Montero Salinas <joqmos@gmail.com> ---
(In reply to Emil Velikov from comment #1)
> Me again ...
>
> There is some contradiction in your statement - "drm.h" doesn't exist.
> "drm.h" does exist in X :-P
>
> But seriously, sounds like want to read-up on pkg-config [1].
>
> In a nut-shell: gcc `pkg-config --cflags --libs libdrm` foo.c bar.c -o binary
>
>
> [1] https://people.freedesktop.org/~dbn/pkg-config-guide.html
Me again...
Totally forgot about pkg-config, thought I could get away with just tacking a
-ldrm at the end of my compilation line.
Sorry for wasting your time, again :-P
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2820 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread* [Bug 99972] xf86drm.h:40:17: error: drm.h: No such file or directory
2017-02-26 13:36 [Bug 99972] xf86drm.h:40:17: error: drm.h: No such file or directory bugzilla-daemon
2017-02-26 13:51 ` bugzilla-daemon
2017-02-26 14:22 ` bugzilla-daemon
@ 2017-02-26 14:39 ` bugzilla-daemon
2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2017-02-26 14:39 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 378 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=99972
Christian König <deathsimple@vodafone.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1109 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-02-26 14:39 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-26 13:36 [Bug 99972] xf86drm.h:40:17: error: drm.h: No such file or directory bugzilla-daemon
2017-02-26 13:51 ` bugzilla-daemon
2017-02-26 14:22 ` bugzilla-daemon
2017-02-26 14:39 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.