libtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" -DPACKAGE_VERSION=\"10.0.0-rc1\" "-DPACKAGE_STRING=\"Mesa 10.0.0-rc1\"" "-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi?product=Mesa\"" -DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"10.0.0-rc1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_PTHREAD=1 -I. -I../../../../include -I../../../../src/egl/main -I../../../../src/gbm/main -I../../../../src/gbm/backends/dri -I../../../../src/egl/wayland/wayland-egl -I../../../../src/egl/wayland/wayland-drm -I../../../../src/egl/wayland/wayland-drm -D_GNU_SOURCE -DHAVE_PTHREAD -DTEXTURE_FLOAT_ENABLED -DUSE_X86_64_ASM -DHAVE_DLOPEN -DHAVE_POSIX_MEMALIGN -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DHAVE_PTHREAD -DUSE_EXTERNAL_DXTN_LIB=1 -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_LLVM=0x0303 -fvisibility=hidden -I/usr/include/libdrm -DDEFAULT_DRIVER_DIR=\"/usr/lib64/dri\" -DHAVE_SHARED_GLAPI -DHAVE_X11_PLATFORM -DHAVE_WAYLAND_PLATFORM -O2 -march=athlon64 -pipe -Wall -std=c99 -Werror=implicit-function-declaration -Werror=missing-prototypes -fno-strict-aliasing -fno-builtin-memcmp -c platform_x11.c -fPIC -DPIC -o .libs/platform_x11.o egl_dri2.c: In function 'dri2_bind_wayland_display_wl': egl_dri2.c:1882:16: error: 'struct dri2_egl_display' has no member named 'gbm_dri' if (dri2_dpy->gbm_dri) ^ egl_dri2.c:1883:15: error: 'struct dri2_egl_display' has no member named 'gbm_dri' dri2_dpy->gbm_dri->wl_drm = dri2_dpy->wl_server_drm; ^ gmake[4]: *** [egl_dri2.lo] Error 1 gmake[4]: *** Waiting for unfinished jobs.... gmake[4]: Leaving directory `/var/tmp/portage/media-libs/mesa-10.0.0_rc1/work/Mesa-10.0.0-rc1-amd64/src/egl/drivers/dri2' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/var/tmp/portage/media-libs/mesa-10.0.0_rc1/work/Mesa-10.0.0-rc1-amd64/src/egl/drivers' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/var/tmp/portage/media-libs/mesa-10.0.0_rc1/work/Mesa-10.0.0-rc1-amd64/src/egl' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/var/tmp/portage/media-libs/mesa-10.0.0_rc1/work/Mesa-10.0.0-rc1-amd64/src' make: *** [all-recursive] Error 1 * ERROR: media-libs/mesa-10.0.0_rc1::gentoo failed (compile phase): * emake failed * Reproducible: Always Actual Results: mesa stops compiling
Created attachment 363554 [details] emerge info
Created attachment 363556 [details] buildlog.tar.xz
It turns out I needed the gbm flag as well as egl
(In reply to Geoff Madden from comment #3) > It turns out I needed the gbm flag as well as egl Confirmed. It works for me too.
Thanks, fixed in mesa-10.0.2.