Making install in src
make[1]: Entering directory '/home/gfx/intel-graphics/mesa/src'
updating git_sha1.h
make  install-recursive
make[2]: Entering directory '/home/gfx/intel-graphics/mesa/src'
Making install in .
make[3]: Entering directory '/home/gfx/intel-graphics/mesa/src'
make[4]: Entering directory '/home/gfx/intel-graphics/mesa/src'
make[4]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/opt/X11R7/include/GL'
 /usr/bin/install -c -m 644 ../include/GL/gl.h ../include/GL/glext.h ../include/GL/glcorearb.h ../include/GL/gl_mangle.h '/opt/X11R7/include/GL'
 /bin/mkdir -p '/opt/X11R7/include/GL'
 /usr/bin/install -c -m 644 ../include/GL/glx.h ../include/GL/glxext.h ../include/GL/glx_mangle.h '/opt/X11R7/include/GL'
 /bin/mkdir -p '/opt/X11R7/lib/x86_64-linux-gnu/pkgconfig'
 /usr/bin/install -c -m 644 mesa/gl.pc '/opt/X11R7/lib/x86_64-linux-gnu/pkgconfig'
make[4]: Leaving directory '/home/gfx/intel-graphics/mesa/src'
make[3]: Leaving directory '/home/gfx/intel-graphics/mesa/src'
Making install in gtest
make[3]: Entering directory '/home/gfx/intel-graphics/mesa/src/gtest'
make[4]: Entering directory '/home/gfx/intel-graphics/mesa/src/gtest'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/gfx/intel-graphics/mesa/src/gtest'
make[3]: Leaving directory '/home/gfx/intel-graphics/mesa/src/gtest'
Making install in util
make[3]: Entering directory '/home/gfx/intel-graphics/mesa/src/util'
make  install-recursive
make[4]: Entering directory '/home/gfx/intel-graphics/mesa/src/util'
Making install in .
make[5]: Entering directory '/home/gfx/intel-graphics/mesa/src/util'
make[6]: Entering directory '/home/gfx/intel-graphics/mesa/src/util'
 /bin/mkdir -p '/opt/X11R7/etc'
 /usr/bin/install -c -m 644 drirc '/opt/X11R7/etc'
make[6]: Nothing to be done for 'install-data-am'.
make[6]: Leaving directory '/home/gfx/intel-graphics/mesa/src/util'
make[5]: Leaving directory '/home/gfx/intel-graphics/mesa/src/util'
Making install in xmlpool
make[5]: Entering directory '/home/gfx/intel-graphics/mesa/src/util/xmlpool'
make  install-am
make[6]: Entering directory '/home/gfx/intel-graphics/mesa/src/util/xmlpool'
make[7]: Entering directory '/home/gfx/intel-graphics/mesa/src/util/xmlpool'
make[7]: Nothing to be done for 'install-exec-am'.
make[7]: Nothing to be done for 'install-data-am'.
make[7]: Leaving directory '/home/gfx/intel-graphics/mesa/src/util/xmlpool'
make[6]: Leaving directory '/home/gfx/intel-graphics/mesa/src/util/xmlpool'
make[5]: Leaving directory '/home/gfx/intel-graphics/mesa/src/util/xmlpool'
Making install in tests/hash_table
make[5]: Entering directory '/home/gfx/intel-graphics/mesa/src/util/tests/hash_table'
make[6]: Entering directory '/home/gfx/intel-graphics/mesa/src/util/tests/hash_table'
make[6]: Nothing to be done for 'install-exec-am'.
make[6]: Nothing to be done for 'install-data-am'.
make[6]: Leaving directory '/home/gfx/intel-graphics/mesa/src/util/tests/hash_table'
make[5]: Leaving directory '/home/gfx/intel-graphics/mesa/src/util/tests/hash_table'
Making install in tests/string_buffer
make[5]: Entering directory '/home/gfx/intel-graphics/mesa/src/util/tests/string_buffer'
make[6]: Entering directory '/home/gfx/intel-graphics/mesa/src/util/tests/string_buffer'
make[6]: Nothing to be done for 'install-exec-am'.
make[6]: Nothing to be done for 'install-data-am'.
make[6]: Leaving directory '/home/gfx/intel-graphics/mesa/src/util/tests/string_buffer'
make[5]: Leaving directory '/home/gfx/intel-graphics/mesa/src/util/tests/string_buffer'
make[4]: Leaving directory '/home/gfx/intel-graphics/mesa/src/util'
make[3]: Leaving directory '/home/gfx/intel-graphics/mesa/src/util'
Making install in mapi/glapi/gen
make[3]: Entering directory '/home/gfx/intel-graphics/mesa/src/mapi/glapi/gen'
make  install-am
make[4]: Entering directory '/home/gfx/intel-graphics/mesa/src/mapi/glapi/gen'
make[5]: Entering directory '/home/gfx/intel-graphics/mesa/src/mapi/glapi/gen'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mapi/glapi/gen'
make[4]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mapi/glapi/gen'
make[3]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mapi/glapi/gen'
Making install in mapi
make[3]: Entering directory '/home/gfx/intel-graphics/mesa/src/mapi'
make  install-recursive
make[4]: Entering directory '/home/gfx/intel-graphics/mesa/src/mapi'
make[5]: Entering directory '/home/gfx/intel-graphics/mesa/src/mapi'
make[6]: Entering directory '/home/gfx/intel-graphics/mesa/src/mapi'
 /bin/mkdir -p '/opt/X11R7/lib/x86_64-linux-gnu'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   shared-glapi/libglapi.la es1api/libGLESv1_CM.la es2api/libGLESv2.la '/opt/X11R7/lib/x86_64-linux-gnu'
libtool: install: /usr/bin/install -c shared-glapi/.libs/libglapi.so.0.0.0 /opt/X11R7/lib/x86_64-linux-gnu/libglapi.so.0.0.0
libtool: install: (cd /opt/X11R7/lib/x86_64-linux-gnu && { ln -s -f libglapi.so.0.0.0 libglapi.so.0 || { rm -f libglapi.so.0 && ln -s libglapi.so.0.0.0 libglapi.so.0; }; })
libtool: install: (cd /opt/X11R7/lib/x86_64-linux-gnu && { ln -s -f libglapi.so.0.0.0 libglapi.so || { rm -f libglapi.so && ln -s libglapi.so.0.0.0 libglapi.so; }; })
libtool: install: /usr/bin/install -c shared-glapi/.libs/libglapi.lai /opt/X11R7/lib/x86_64-linux-gnu/libglapi.la
libtool: warning: relinking 'es1api/libGLESv1_CM.la'
libtool: install: (cd /home/gfx/intel-graphics/mesa/src/mapi; /bin/bash "/home/gfx/intel-graphics/mesa/libtool"  --silent --tag CC --mode=relink gcc -pthread -Werror=pointer-arith -Werror=vla -fvisibility=hidden -g -O2 -Wall -Werror=implicit-function-declaration -Werror=missing-prototypes -Wmissing-prototypes -fno-math-errno -fno-trapping-math -std=c99 -no-undefined -version-number 1:1 -Wl,--gc-sections -Wl,--no-undefined -L/opt/X11R7/lib -o es1api/libGLESv1_CM.la -rpath /opt/X11R7/lib/x86_64-linux-gnu es1api_libGLESv1_CM_la-entry.lo -L/opt/X11R7/lib/x86_64-linux-gnu -ldrm -lm -lpthread -pthread -ldl shared-glapi/libglapi.la )
libtool: install: /usr/bin/install -c es1api/.libs/libGLESv1_CM.so.1.1.0T /opt/X11R7/lib/x86_64-linux-gnu/libGLESv1_CM.so.1.1.0
libtool: install: (cd /opt/X11R7/lib/x86_64-linux-gnu && { ln -s -f libGLESv1_CM.so.1.1.0 libGLESv1_CM.so.1 || { rm -f libGLESv1_CM.so.1 && ln -s libGLESv1_CM.so.1.1.0 libGLESv1_CM.so.1; }; })
libtool: install: (cd /opt/X11R7/lib/x86_64-linux-gnu && { ln -s -f libGLESv1_CM.so.1.1.0 libGLESv1_CM.so || { rm -f libGLESv1_CM.so && ln -s libGLESv1_CM.so.1.1.0 libGLESv1_CM.so; }; })
libtool: install: /usr/bin/install -c es1api/.libs/libGLESv1_CM.lai /opt/X11R7/lib/x86_64-linux-gnu/libGLESv1_CM.la
libtool: warning: relinking 'es2api/libGLESv2.la'
libtool: install: (cd /home/gfx/intel-graphics/mesa/src/mapi; /bin/bash "/home/gfx/intel-graphics/mesa/libtool"  --silent --tag CC --mode=relink gcc -pthread -Werror=pointer-arith -Werror=vla -fvisibility=hidden -g -O2 -Wall -Werror=implicit-function-declaration -Werror=missing-prototypes -Wmissing-prototypes -fno-math-errno -fno-trapping-math -std=c99 -no-undefined -version-number 2 -Wl,--gc-sections -Wl,--no-undefined -L/opt/X11R7/lib -o es2api/libGLESv2.la -rpath /opt/X11R7/lib/x86_64-linux-gnu es2api_libGLESv2_la-entry.lo -L/opt/X11R7/lib/x86_64-linux-gnu -ldrm -lm -lpthread -pthread -ldl shared-glapi/libglapi.la )
libtool: install: /usr/bin/install -c es2api/.libs/libGLESv2.so.2.0.0T /opt/X11R7/lib/x86_64-linux-gnu/libGLESv2.so.2.0.0
libtool: install: (cd /opt/X11R7/lib/x86_64-linux-gnu && { ln -s -f libGLESv2.so.2.0.0 libGLESv2.so.2 || { rm -f libGLESv2.so.2 && ln -s libGLESv2.so.2.0.0 libGLESv2.so.2; }; })
libtool: install: (cd /opt/X11R7/lib/x86_64-linux-gnu && { ln -s -f libGLESv2.so.2.0.0 libGLESv2.so || { rm -f libGLESv2.so && ln -s libGLESv2.so.2.0.0 libGLESv2.so; }; })
libtool: install: /usr/bin/install -c es2api/.libs/libGLESv2.lai /opt/X11R7/lib/x86_64-linux-gnu/libGLESv2.la
libtool: finish: PATH="/opt/X11R7/bin:/opt/X11R7/bin:/home/gfx/bin:/home/gfx/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/sbin" ldconfig -n /opt/X11R7/lib/x86_64-linux-gnu
----------------------------------------------------------------------
Libraries have been installed in:
   /opt/X11R7/lib/x86_64-linux-gnu

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/opt/X11R7/include/GLES2'
 /usr/bin/install -c -m 644 ../../include/GLES2/gl2.h ../../include/GLES2/gl2ext.h ../../include/GLES2/gl2platform.h '/opt/X11R7/include/GLES2'
 /bin/mkdir -p '/opt/X11R7/include/GLES3'
 /usr/bin/install -c -m 644 ../../include/GLES3/gl3.h ../../include/GLES3/gl31.h ../../include/GLES3/gl32.h ../../include/GLES3/gl3ext.h ../../include/GLES3/gl3platform.h '/opt/X11R7/include/GLES3'
 /bin/mkdir -p '/opt/X11R7/include/GLES'
 /usr/bin/install -c -m 644 ../../include/GLES/egl.h ../../include/GLES/gl.h ../../include/GLES/glext.h ../../include/GLES/glplatform.h '/opt/X11R7/include/GLES'
 /bin/mkdir -p '/opt/X11R7/include/KHR'
 /usr/bin/install -c -m 644 ../../include/KHR/khrplatform.h '/opt/X11R7/include/KHR'
 /bin/mkdir -p '/opt/X11R7/lib/x86_64-linux-gnu/pkgconfig'
 /usr/bin/install -c -m 644 es1api/glesv1_cm.pc es2api/glesv2.pc '/opt/X11R7/lib/x86_64-linux-gnu/pkgconfig'
make[6]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mapi'
make[5]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mapi'
make[4]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mapi'
make[3]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mapi'
Making install in compiler
make[3]: Entering directory '/home/gfx/intel-graphics/mesa/src/compiler'
make  install-am
make[4]: Entering directory '/home/gfx/intel-graphics/mesa/src/compiler'
make[5]: Entering directory '/home/gfx/intel-graphics/mesa/src/compiler'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/home/gfx/intel-graphics/mesa/src/compiler'
make[4]: Leaving directory '/home/gfx/intel-graphics/mesa/src/compiler'
make[3]: Leaving directory '/home/gfx/intel-graphics/mesa/src/compiler'
Making install in egl/wayland/wayland-drm
make[3]: Entering directory '/home/gfx/intel-graphics/mesa/src/egl/wayland/wayland-drm'
make  install-am
make[4]: Entering directory '/home/gfx/intel-graphics/mesa/src/egl/wayland/wayland-drm'
make[5]: Entering directory '/home/gfx/intel-graphics/mesa/src/egl/wayland/wayland-drm'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/home/gfx/intel-graphics/mesa/src/egl/wayland/wayland-drm'
make[4]: Leaving directory '/home/gfx/intel-graphics/mesa/src/egl/wayland/wayland-drm'
make[3]: Leaving directory '/home/gfx/intel-graphics/mesa/src/egl/wayland/wayland-drm'
Making install in intel
make[3]: Entering directory '/home/gfx/intel-graphics/mesa/src/intel'
make  install-am
make[4]: Entering directory '/home/gfx/intel-graphics/mesa/src/intel'
make[5]: Entering directory '/home/gfx/intel-graphics/mesa/src/intel'
make[5]: Leaving directory '/home/gfx/intel-graphics/mesa/src/intel'
make[4]: Leaving directory '/home/gfx/intel-graphics/mesa/src/intel'
make[3]: Leaving directory '/home/gfx/intel-graphics/mesa/src/intel'
Making install in mesa
make[3]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa'
make  install-recursive
make[4]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa'
Making install in .
make[5]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa'
make[6]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa'
make[6]: Nothing to be done for 'install-exec-am'.
make[6]: Nothing to be done for 'install-data-am'.
make[6]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa'
make[5]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa'
Making install in main/tests
make[5]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa/main/tests'
make[6]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa/main/tests'
make[6]: Nothing to be done for 'install-exec-am'.
make[6]: Nothing to be done for 'install-data-am'.
make[6]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa/main/tests'
make[5]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa/main/tests'
Making install in drivers/dri
make[5]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri'
Making install in common
make[6]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri/common'
make[7]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri/common'
make[7]: Nothing to be done for 'install-exec-am'.
make[7]: Nothing to be done for 'install-data-am'.
make[7]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri/common'
make[6]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri/common'
Making install in i965
make[6]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri/i965'
make  install-am
make[7]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri/i965'
make[8]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri/i965'
make[8]: Nothing to be done for 'install-exec-am'.
make[8]: Nothing to be done for 'install-data-am'.
make[8]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri/i965'
make[7]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri/i965'
make[6]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri/i965'
Making install in swrast
make[6]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri/swrast'
make[7]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri/swrast'
make[7]: Nothing to be done for 'install-exec-am'.
make[7]: Nothing to be done for 'install-data-am'.
make[7]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri/swrast'
make[6]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri/swrast'
make[6]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri'
  GEN      all-local
  GEN      all-local
make[7]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri'
make[7]: Nothing to be done for 'install-exec-am'.
 /bin/mkdir -p '/opt/X11R7/lib/dri'
 /bin/bash ../../../../libtool   --mode=install /usr/bin/install -c   mesa_dri_drivers.la '/opt/X11R7/lib/dri'
libtool: warning: relinking 'mesa_dri_drivers.la'
libtool: install: (cd /home/gfx/intel-graphics/mesa/src/mesa/drivers/dri; /bin/bash "/home/gfx/intel-graphics/mesa/libtool"  --silent --tag CXX --mode=relink g++ -g -O2 -Wall -fno-math-errno -fno-trapping-math -shared -shrext .so -module -no-undefined -avoid-version -Wl,--build-id=sha1 -Wl,-Bsymbolic -Wl,--gc-sections -Wl,--no-undefined -L/opt/X11R7/lib -o mesa_dri_drivers.la -rpath /opt/X11R7/lib/dri ../../libmesa.la common/libmegadriver_stub.la common/libdricommon.la ../../../../src/util/libxmlconfig.la ../../../../src/mapi/shared-glapi/libglapi.la i965/libi965_dri.la swrast/libswrast_dri.la -L/opt/X11R7/lib/x86_64-linux-gnu -ldrm -lexpat -lm -lpthread -pthread -ldl )
libtool: install: /usr/bin/install -c .libs/mesa_dri_drivers.soT /opt/X11R7/lib/dri/mesa_dri_drivers.so
libtool: install: /usr/bin/install -c .libs/mesa_dri_drivers.lai /opt/X11R7/lib/dri/mesa_dri_drivers.la
libtool: finish: PATH="/opt/X11R7/bin:/opt/X11R7/bin:/home/gfx/bin:/home/gfx/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/sbin" ldconfig -n /opt/X11R7/lib/dri
----------------------------------------------------------------------
Libraries have been installed in:
   /opt/X11R7/lib/dri

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/opt/X11R7/include/GL/internal'
 /usr/bin/install -c -m 644 ../../../../include/GL/internal/dri_interface.h '/opt/X11R7/include/GL/internal'
 /bin/mkdir -p '/opt/X11R7/lib/x86_64-linux-gnu/pkgconfig'
 /usr/bin/install -c -m 644 dri.pc '/opt/X11R7/lib/x86_64-linux-gnu/pkgconfig'
make  install-data-hook
make[8]: Entering directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri'
for i in  i965_dri.so    swrast_dri.so; do \
	ln -f /opt/X11R7/lib/dri/mesa_dri_drivers.so \
	      /opt/X11R7/lib/dri/$i; \
done;
rm -f /opt/X11R7/lib/dri/mesa_dri_drivers.*
make[8]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri'
make[7]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri'
make[6]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri'
make[5]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa/drivers/dri'
make[4]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa'
make[3]: Leaving directory '/home/gfx/intel-graphics/mesa/src/mesa'
Making install in loader
make[3]: Entering directory '/home/gfx/intel-graphics/mesa/src/loader'
make[4]: Entering directory '/home/gfx/intel-graphics/mesa/src/loader'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/gfx/intel-graphics/mesa/src/loader'
make[3]: Leaving directory '/home/gfx/intel-graphics/mesa/src/loader'
Making install in glx
make[3]: Entering directory '/home/gfx/intel-graphics/mesa/src/glx'
Making install in .
make[4]: Entering directory '/home/gfx/intel-graphics/mesa/src/glx'
make[5]: Entering directory '/home/gfx/intel-graphics/mesa/src/glx'
 /bin/mkdir -p '/opt/X11R7/lib/x86_64-linux-gnu'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   libGL.la '/opt/X11R7/lib/x86_64-linux-gnu'
libtool: warning: relinking 'libGL.la'
libtool: install: (cd /home/gfx/intel-graphics/mesa/src/glx; /bin/bash "/home/gfx/intel-graphics/mesa/libtool"  --silent --tag CC --mode=relink gcc -I../../include -I../../include/GL/internal -I../../src -I../../src/loader -I../../src/mapi -I../../src/mapi -I../../src/mapi/glapi -I../../src/mapi/glapi -fvisibility=hidden -DXF86VIDMODE -D_REENTRANT -DDEFAULT_DRIVER_DIR=\"/opt/X11R7/lib/dri\" -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_STRTOD_L -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -DHAVE_ZLIB -DHAVE_LINUX_FUTEX_H -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_DRI3 -DENABLE_SHADER_CACHE -DHAVE_MINCORE -DHAVE_LLVM=0x0308 -DMESA_LLVM_VERSION_PATCH=1 -I/opt/X11R7/include -I/opt/X11R7/include/libdrm -I/usr/lib/include -DGL_LIB_NAME=\"libGL.so.1\" -g -O2 -Wall -Werror=implicit-function-declaration -Werror=missing-prototypes -Wmissing-prototypes -fno-math-errno -fno-trapping-math -std=c99 -no-undefined -version-number 1:2 -Wl,-Bsymbolic -Wl,--gc-sections -Wl,--no-undefined -L/opt/X11R7/lib -o libGL.la -rpath /opt/X11R7/lib/x86_64-linux-gnu -L/opt/X11R7/lib/x86_64-linux-gnu -ldrm libglx.la ../../src/mapi/glapi/libglapi.la ../../src/mapi/shared-glapi/libglapi.la -lXext -lXdamage -lXfixes -lX11-xcb -lX11 -lxcb -lxcb-glx -lxcb-dri2 -lXxf86vm -L/opt/X11R7/lib/x86_64-linux-gnu -ldrm -lm -lpthread -pthread -ldl )
libtool: install: /usr/bin/install -c .libs/libGL.so.1.2.0T /opt/X11R7/lib/x86_64-linux-gnu/libGL.so.1.2.0
libtool: install: (cd /opt/X11R7/lib/x86_64-linux-gnu && { ln -s -f libGL.so.1.2.0 libGL.so.1 || { rm -f libGL.so.1 && ln -s libGL.so.1.2.0 libGL.so.1; }; })
libtool: install: (cd /opt/X11R7/lib/x86_64-linux-gnu && { ln -s -f libGL.so.1.2.0 libGL.so || { rm -f libGL.so && ln -s libGL.so.1.2.0 libGL.so; }; })
libtool: install: /usr/bin/install -c .libs/libGL.lai /opt/X11R7/lib/x86_64-linux-gnu/libGL.la
libtool: finish: PATH="/opt/X11R7/bin:/opt/X11R7/bin:/home/gfx/bin:/home/gfx/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/sbin" ldconfig -n /opt/X11R7/lib/x86_64-linux-gnu
----------------------------------------------------------------------
Libraries have been installed in:
   /opt/X11R7/lib/x86_64-linux-gnu

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/home/gfx/intel-graphics/mesa/src/glx'
make[4]: Leaving directory '/home/gfx/intel-graphics/mesa/src/glx'
Making install in tests
make[4]: Entering directory '/home/gfx/intel-graphics/mesa/src/glx/tests'
make[5]: Entering directory '/home/gfx/intel-graphics/mesa/src/glx/tests'
make[5]: Nothing to be done for 'install-exec-am'.
make[5]: Nothing to be done for 'install-data-am'.
make[5]: Leaving directory '/home/gfx/intel-graphics/mesa/src/glx/tests'
make[4]: Leaving directory '/home/gfx/intel-graphics/mesa/src/glx/tests'
make[3]: Leaving directory '/home/gfx/intel-graphics/mesa/src/glx'
Making install in gbm
make[3]: Entering directory '/home/gfx/intel-graphics/mesa/src/gbm'
make[4]: Entering directory '/home/gfx/intel-graphics/mesa/src/gbm'
 /bin/mkdir -p '/opt/X11R7/lib/x86_64-linux-gnu'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   libgbm.la '/opt/X11R7/lib/x86_64-linux-gnu'
libtool: install: /usr/bin/install -c .libs/libgbm.so.1.0.0 /opt/X11R7/lib/x86_64-linux-gnu/libgbm.so.1.0.0
libtool: install: (cd /opt/X11R7/lib/x86_64-linux-gnu && { ln -s -f libgbm.so.1.0.0 libgbm.so.1 || { rm -f libgbm.so.1 && ln -s libgbm.so.1.0.0 libgbm.so.1; }; })
libtool: install: (cd /opt/X11R7/lib/x86_64-linux-gnu && { ln -s -f libgbm.so.1.0.0 libgbm.so || { rm -f libgbm.so && ln -s libgbm.so.1.0.0 libgbm.so; }; })
libtool: install: /usr/bin/install -c .libs/libgbm.lai /opt/X11R7/lib/x86_64-linux-gnu/libgbm.la
libtool: finish: PATH="/opt/X11R7/bin:/opt/X11R7/bin:/home/gfx/bin:/home/gfx/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/sbin" ldconfig -n /opt/X11R7/lib/x86_64-linux-gnu
----------------------------------------------------------------------
Libraries have been installed in:
   /opt/X11R7/lib/x86_64-linux-gnu

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/opt/X11R7/include'
 /usr/bin/install -c -m 644 main/gbm.h '/opt/X11R7/include'
 /bin/mkdir -p '/opt/X11R7/lib/x86_64-linux-gnu/pkgconfig'
 /usr/bin/install -c -m 644 main/gbm.pc '/opt/X11R7/lib/x86_64-linux-gnu/pkgconfig'
make[4]: Leaving directory '/home/gfx/intel-graphics/mesa/src/gbm'
make[3]: Leaving directory '/home/gfx/intel-graphics/mesa/src/gbm'
Making install in egl/wayland/wayland-egl
make[3]: Entering directory '/home/gfx/intel-graphics/mesa/src/egl/wayland/wayland-egl'
make[4]: Entering directory '/home/gfx/intel-graphics/mesa/src/egl/wayland/wayland-egl'
 /bin/mkdir -p '/opt/X11R7/lib/x86_64-linux-gnu'
 /bin/bash ../../../../libtool   --mode=install /usr/bin/install -c   libwayland-egl.la '/opt/X11R7/lib/x86_64-linux-gnu'
libtool: install: /usr/bin/install -c .libs/libwayland-egl.so.1.0.0 /opt/X11R7/lib/x86_64-linux-gnu/libwayland-egl.so.1.0.0
libtool: install: (cd /opt/X11R7/lib/x86_64-linux-gnu && { ln -s -f libwayland-egl.so.1.0.0 libwayland-egl.so.1 || { rm -f libwayland-egl.so.1 && ln -s libwayland-egl.so.1.0.0 libwayland-egl.so.1; }; })
libtool: install: (cd /opt/X11R7/lib/x86_64-linux-gnu && { ln -s -f libwayland-egl.so.1.0.0 libwayland-egl.so || { rm -f libwayland-egl.so && ln -s libwayland-egl.so.1.0.0 libwayland-egl.so; }; })
libtool: install: /usr/bin/install -c .libs/libwayland-egl.lai /opt/X11R7/lib/x86_64-linux-gnu/libwayland-egl.la
libtool: finish: PATH="/opt/X11R7/bin:/opt/X11R7/bin:/home/gfx/bin:/home/gfx/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/sbin" ldconfig -n /opt/X11R7/lib/x86_64-linux-gnu
----------------------------------------------------------------------
Libraries have been installed in:
   /opt/X11R7/lib/x86_64-linux-gnu

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the '-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the 'LD_RUN_PATH' environment variable
     during linking
   - use the '-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to '/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
 /bin/mkdir -p '/opt/X11R7/lib/x86_64-linux-gnu/pkgconfig'
 /usr/bin/install -c -m 644 wayland-egl.pc '/opt/X11R7/lib/x86_64-linux-gnu/pkgconfig'
make[4]: Leaving directory '/home/gfx/intel-graphics/mesa/src/egl/wayland/wayland-egl'
make[3]: Leaving directory '/home/gfx/intel-graphics/mesa/src/egl/wayland/wayland-egl'
Making install in egl
make[3]: Entering directory '/home/gfx/intel-graphics/mesa/src/egl'
make  install-am
make[4]: Entering directory '/home/gfx/intel-graphics/mesa/src/egl'
make[5]: Entering directory '/home/gfx/intel-graphics/mesa/src/egl'
 /bin/mkdir -p '/opt/X11R7/lib/x86_64-linux-gnu'
 /bin/bash ../../libtool   --mode=install /usr/bin/install -c   libEGL.la '/opt/X11R7/lib/x86_64-linux-gnu'
libtool: warning: relinking 'libEGL.la'
libtool: install: (cd /home/gfx/intel-graphics/mesa/src/egl; /bin/bash "/home/gfx/intel-graphics/mesa/libtool"  --silent --tag CC --mode=relink gcc -I../../include -I../../src/mapi -I../../src/egl/main -I../../src/gbm/main -I../../src -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D_GNU_SOURCE -DUSE_SSE41 -DUSE_GCC_ATOMIC_BUILTINS -DDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_XLOCALE_H -DHAVE_SYS_SYSCTL_H -DHAVE_STRTOF -DHAVE_MKOSTEMP -DHAVE_TIMESPEC_GET -DHAVE_STRTOD_L -DHAVE_DL_ITERATE_PHDR -DHAVE_POSIX_MEMALIGN -DHAVE_ZLIB -DHAVE_LINUX_FUTEX_H -DHAVE_LIBDRM -DGLX_USE_DRM -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_X11_PLATFORM -DHAVE_DRM_PLATFORM -DHAVE_WAYLAND_PLATFORM -DWL_HIDE_DEPRECATED -DHAVE_DRI3 -DENABLE_SHADER_CACHE -DHAVE_MINCORE -DHAVE_LLVM=0x0308 -DMESA_LLVM_VERSION_PATCH=1 -fvisibility=hidden -I/opt/X11R7/include -I/opt/X11R7/include/libdrm -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_X11 -I/usr/lib/include -I../../src/loader -I../../src/egl/drivers/dri2 -I../../src/egl/drivers/dri2 -I../../src/gbm/backends/dri -I../../src/egl/wayland/wayland-egl -I../../src/egl/wayland/wayland-drm -I../../src/egl/wayland/wayland-drm -DDEFAULT_DRIVER_DIR=\"/opt/X11R7/lib/dri\" -D_EGL_BUILT_IN_DRIVER_DRI2 -g -O2 -Wall -Werror=implicit-function-declaration -Werror=missing-prototypes -Wmissing-prototypes -fno-math-errno -fno-trapping-math -std=c99 -no-undefined -version-number 1:0 -Wl,-Bsymbolic -Wl,--gc-sections -Wl,--no-undefined -L/opt/X11R7/lib -o libEGL.la -rpath /opt/X11R7/lib/x86_64-linux-gnu libEGL_common.la ../../src/mapi/shared-glapi/libglapi.la )
./.libs/libEGL_common.a(platform_drm.o): In function `get_back_bo':
/home/gfx/intel-graphics/mesa/src/egl/drivers/dri2/platform_drm.c:253: undefined reference to `gbm_bo_create_with_modifiers'
./.libs/libEGL_common.a(platform_drm.o): In function `swrast_put_image2':
/home/gfx/intel-graphics/mesa/src/egl/drivers/dri2/platform_drm.c:545: undefined reference to `gbm_bo_get_bpp'
./.libs/libEGL_common.a(platform_drm.o): In function `swrast_get_image':
/home/gfx/intel-graphics/mesa/src/egl/drivers/dri2/platform_drm.c:590: undefined reference to `gbm_bo_get_bpp'
./.libs/libEGL_common.a(libloader_la-loader.o): In function `drm_get_pci_id_for_fd':
/home/gfx/intel-graphics/mesa/src/loader/loader.c:280: undefined reference to `drmGetDevice2'
./.libs/libEGL_common.a(libloader_la-loader.o): In function `drm_get_id_path_tag_for_fd':
/home/gfx/intel-graphics/mesa/src/loader/loader.c:173: undefined reference to `drmGetDevice2'
./.libs/libEGL_common.a(libloader_la-loader.o): In function `loader_get_user_preferred_fd':
/home/gfx/intel-graphics/mesa/src/loader/loader.c:207: undefined reference to `drmGetDevices2'
./.libs/libEGL_common.a(libloader_la-loader.o): In function `loader_get_device_name_for_fd':
/home/gfx/intel-graphics/mesa/src/loader/loader.c:318: undefined reference to `drmGetDeviceNameFromFd2'
collect2: error: ld returned 1 exit status
libtool:   error: error: relink 'libEGL.la' with the above command before installing it
Makefile:1001: recipe for target 'install-libLTLIBRARIES' failed
make[5]: *** [install-libLTLIBRARIES] Error 1
make[5]: Leaving directory '/home/gfx/intel-graphics/mesa/src/egl'
Makefile:1506: recipe for target 'install-am' failed
make[4]: *** [install-am] Error 2
make[4]: Leaving directory '/home/gfx/intel-graphics/mesa/src/egl'
Makefile:1500: recipe for target 'install' failed
make[3]: *** [install] Error 2
make[3]: Leaving directory '/home/gfx/intel-graphics/mesa/src/egl'
Makefile:868: recipe for target 'install-recursive' failed
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory '/home/gfx/intel-graphics/mesa/src'
Makefile:1025: recipe for target 'install' failed
make[1]: *** [install] Error 2
make[1]: Leaving directory '/home/gfx/intel-graphics/mesa/src'
Makefile:672: recipe for target 'install-recursive' failed
make: *** [install-recursive] Error 1