From: bugzilla-daemon@freedesktop.org Subject: [Bug 99972] xf86drm.h:40:17: error: drm.h: No such file or directory Date: Sun, 26 Feb 2017 14:22:27 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0247665500==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [IPv6:2610:10:20:722:a800:ff:fe98:4b55]) by gabe.freedesktop.org (Postfix) with ESMTP id B278A6E29C for ; Sun, 26 Feb 2017 14:22:26 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============0247665500== Content-Type: multipart/alternative; boundary="14881189460.6BEe.12434"; charset="UTF-8" --14881189460.6BEe.12434 Date: Sun, 26 Feb 2017 14:22:26 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D99972 Joaqu=C3=ADn Montero Salinas changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |NOTABUG Status|NEW |RESOLVED --- Comment #2 from Joaqu=C3=ADn Montero Salinas --- (In reply to Emil Velikov from comment #1) > Me again ...=20 >=20 > There is some contradiction in your statement - "drm.h" doesn't exist. > "drm.h" does exist in X :-P >=20 > But seriously, sounds like want to read-up on pkg-config [1]. >=20 > In a nut-shell: gcc `pkg-config --cflags --libs libdrm` foo.c bar.c -o bi= nary >=20 >=20 > [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 --=20 You are receiving this mail because: You are the assignee for the bug.= --14881189460.6BEe.12434 Date: Sun, 26 Feb 2017 14:22:26 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated Joaqu=C3=ADn Montero Salinas changed bug 99972<= /a>
What Removed Added
Resolution --- NOTABUG
Status NEW RESOLVED

Comment= # 2 on bug 99972<= /a> from Joaqu=C3=ADn Montero Salinas
(In reply to Emil Velikov from comment #1)
> Me again ...=20
>=20
> There is some contradiction in your statement - "drm.h" does=
n't exist.
> "drm.h" does exist in X :-P
>=20
> But seriously, sounds like want to read-up on pkg-config [1].
>=20
> In a nut-shell: gcc `pkg-config --cflags --libs libdrm` foo.c bar.c -o=
 binary
>=20
>=20
> [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.
= --14881189460.6BEe.12434-- --===============0247665500== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============0247665500==--