<div dir="ltr"><div><div>I ran into the same thing...  Do you by chance have '--with-dri-driverdir=' in your configure command?<br><br></div>I had '--prefix=/usr/local' and '--with-dri-driverdir=/usr/local/dri', and removing the --with-dri-driverdir fixed my build.<br><br></div>--Aaron<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 6, 2017 at 7:48 PM, Grazvydas Ignotas <span dir="ltr"><<a href="mailto:notasas@gmail.com" target="_blank">notasas@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This causes a strange build failure for me:<br>
<br>
make[7]: Entering directory '/home/notaz/src/radeon/mesa/<wbr>src/mesa/drivers/dri'<br>
make[7]: Nothing to be done for 'install-exec-am'.<br>
 /bin/mkdir -p '/opt/xorg/lib/dri/'<br>
 /bin/bash ../../../../libtool   --mode=install /usr/bin/install -c<br>
<a href="http://mesa_dri_drivers.la" rel="noreferrer" target="_blank">mesa_dri_drivers.la</a> '/opt/xorg/lib/dri/'<br>
libtool:   error: error: cannot install '<a href="http://mesa_dri_drivers.la" rel="noreferrer" target="_blank">mesa_dri_drivers.la</a>' to a<br>
directory not ending in /opt/xorg/lib/dri/<br>
Makefile:651: recipe for target 'install-driLTLIBRARIES' failed<br>
<br>
And no it's not a missed "make clean" that google might suggest, I've<br>
long learned to use "git clean -fdx" before building mesa...<br>
<br>
Gražvydas<br>
<div><div class="h5"><br>
<br>
On Fri, Apr 28, 2017 at 4:14 PM, Emil Velikov <<a href="mailto:emil.l.velikov@gmail.com">emil.l.velikov@gmail.com</a>> wrote:<br>
> From: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>><br>
><br>
> Analogous to previous commit. Check with the extensive commit<br>
> description and bug report referenced.<br>
><br>
> Cc: <a href="mailto:mesa-stable@lists.freedesktop.org">mesa-stable@lists.freedesktop.<wbr>org</a><br>
> Signed-off-by: Emil Velikov <<a href="mailto:emil.velikov@collabora.com">emil.velikov@collabora.com</a>><br>
> ---<br>
>  src/mesa/drivers/dri/Makefile.<wbr>am | 16 +++++++++-------<br>
>  1 file changed, 9 insertions(+), 7 deletions(-)<br>
><br>
> diff --git a/src/mesa/drivers/dri/<wbr>Makefile.am b/src/mesa/drivers/dri/<wbr>Makefile.am<br>
> index 1c6dd08a85d..fb0fc3258bf 100644<br>
> --- a/src/mesa/drivers/dri/<wbr>Makefile.am<br>
> +++ b/src/mesa/drivers/dri/<wbr>Makefile.am<br>
> @@ -6,12 +6,9 @@ MEGADRIVERS_DEPS =<br>
><br>
>  SUBDIRS+=common<br>
><br>
> -# On Android, we need to explicitly link to libglapi.so.<br>
> -if HAVE_ANDROID<br>
>  if HAVE_SHARED_GLAPI<br>
>  SHARED_GLAPI_LIB = $(top_builddir)/src/mapi/<wbr>shared-glapi/<a href="http://libglapi.la" rel="noreferrer" target="_blank">libglapi.la</a><br>
>  endif<br>
> -endif<br>
><br>
>  if HAVE_I915_DRI<br>
>  SUBDIRS += i915<br>
> @@ -59,10 +56,15 @@ driinclude_HEADERS = \<br>
>  nodist_EXTRA_mesa_dri_drivers_<wbr>la_SOURCES = dummy.cpp<br>
>  mesa_dri_drivers_la_SOURCES =<br>
>  mesa_dri_drivers_la_LDFLAGS = \<br>
> -        -module -avoid-version -shared -shrext .so \<br>
> -        $(BSYMBOLIC) \<br>
> -        $(GC_SECTIONS) \<br>
> -        $()<br>
> +       -shared \<br>
> +       -shrext .so \<br>
> +       -module \<br>
> +       -no-undefined \<br>
> +       -avoid-version \<br>
> +       $(BSYMBOLIC) \<br>
> +       $(GC_SECTIONS) \<br>
> +       $(LD_NO_UNDEFINED)<br>
> +<br>
>  mesa_dri_drivers_la_LIBADD = \<br>
>          ../../<a href="http://libmesa.la" rel="noreferrer" target="_blank">libmesa.la</a> \<br>
>          common/<a href="http://libmegadriver_stub.la" rel="noreferrer" target="_blank">libmegadriver_stub.la</a> \<br>
> --<br>
> 2.12.1<br>
><br>
> ______________________________<wbr>_________________<br>
</div></div>> mesa-dev mailing list<br>
> <a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
______________________________<wbr>_________________<br>
mesa-dev mailing list<br>
<a href="mailto:mesa-dev@lists.freedesktop.org">mesa-dev@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/mesa-dev" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/mesa-dev</a><br>
</blockquote></div><br></div>