From: bugzilla-daemon@freedesktop.org
Subject: [Bug 106561] ./libdrm_macros.h:26:5: error: 'HAVE_VISIBILITY' is not
defined, evaluates to 0 [-Werror,-Wundef]
Date: Fri, 18 May 2018 15:49:26 +0000
Message-ID:
References:
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="===============0215735798=="
Return-path:
Received: from culpepper.freedesktop.org (culpepper.freedesktop.org
[131.252.210.165])
by gabe.freedesktop.org (Postfix) with ESMTP id 85C766EE0F
for ; Fri, 18 May 2018 15:49: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
--===============0215735798==
Content-Type: multipart/alternative; boundary="15266585660.FC66CAe.8363"
Content-Transfer-Encoding: 7bit
--15266585660.FC66CAe.8363
Date: Fri, 18 May 2018 15:49: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=3D106561
--- Comment #1 from Eric Engestrom ---
Hi Tomasz,
I found this file; is that what you used to configure and compile libdrm?
https://abf.io/openmandriva/libdrm/blob/master/libdrm.spec
You seem to be using autotools, which is deprecated and will one day go awa=
y;
you should convert to Meson eventually, although I don't think this would
change anything with regards to your issue here.
We have a short page explaining how to use Meson on the Mesa website:
https://mesa3d.org/meson.html
The errors you're seeing are very strange; HAVE_VISIBILITY and UDEV are alw=
ays
defined (by the build system) as far as I can tell, and the enum conversion
warnings are technically correct (although the value are identical, so it
should be trivial to fix), but this code hasn't been touched since 2009/199=
9.
Has any previous version of libdrm ever built in your build/packaging syste=
m?
For the last error, vasprintf() is a GNU extension, so I'm not surprised it=
's
not working with clang; I'll have a look next week to see if I can fix it t=
he
way we did in Mesa (src/util/u_string.h).
--=20
You are receiving this mail because:
You are the assignee for the bug.=
--15266585660.FC66CAe.8363
Date: Fri, 18 May 2018 15:49: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
Commen=
t # 1
on bug 10656=
1
from Eric Engestrom
Hi Tomasz,
I found this file; is that what you used to configure and compile libdrm?
http=
s://abf.io/openmandriva/libdrm/blob/master/libdrm.spec
You seem to be using autotools, which is deprecated and will one day go awa=
y;
you should convert to Meson eventually, although I don't think this would
change anything with regards to your issue here.
We have a short page explaining how to use Meson on the Mesa website:
https://mesa3d.org/meson.html
The errors you're seeing are very strange; HAVE_VISIBILITY and UDEV are alw=
ays
defined (by the build system) as far as I can tell, and the enum conversion
warnings are technically correct (although the value are identical, so it
should be trivial to fix), but this code hasn't been touched since 2009/199=
9.
Has any previous version of libdrm ever built in your build/packaging syste=
m?
For the last error, vasprintf() is a GNU extension, so I'm not surprised it=
's
not working with clang; I'll have a look next week to see if I can fix it t=
he
way we did in Mesa (src/util/u_string.h).
You are receiving this mail because:
- You are the assignee for the bug.
=
--15266585660.FC66CAe.8363--
--===============0215735798==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs
IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz
dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg==
--===============0215735798==--