autotools build error CC tegra_screen.lo In file included from tegra_screen.c:33: /usr/include/xf86drm.h:40:10: fatal error: drm.h: No such file or directory #include <drm.h> ^~~~~~~ commit f1374805a86d0d506557e61efbc09e23caa7a038 Author: Eric Engestrom <eric.engestrom@intel.com> Date: Tue Feb 12 18:18:03 2019 +0000 drm-uapi: use local files, not system libdrm There was an issue recently caused by the system header being included by mistake, so let's just get rid of this include path and always explicitly #include "drm-uapi/FOO.h" Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Kristian H. Kristensen <hoegsberg@chromium.org>
*** This bug has been marked as a duplicate of bug 109645 ***
Actually not really a duplicate; although the issue was shown by the same commit (f1374805a86d0), this bug report is for the bug that was there in the autotools config and the other is for the bug that was in the meson config. Both should be fixed by this MR: https://gitlab.freedesktop.org/mesa/mesa/merge_requests/270
Fixed by: commit f84f833981286b2955f40f98e4beeecbcc67a69b Author: Eric Engestrom <eric.engestrom@intel.com> Date: Tue Feb 19 11:18:07 2019 +0000 tegra/autotools: add missing libdrm cflags Fixes: f1374805a86d0d506557 "drm-uapi: use local files, not system libdrm" Bug: https://bugs.freedesktop.org/show_bug.cgi?id=109647 Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.