https://bugs.freedesktop.org/show_bug.cgi?id=40145
Summary: gbm.h header not found when building egldisplay.c Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Other AssignedTo: mesa-dev@lists.freedesktop.org ReportedBy: dawit...@sbcglobal.net I was just attempting a new build from git (commit f272117d of Aug. 16, 2011) and hit this build error (truncated output for readability): make[4]: Entering directory `../src/egl/main' [...] gcc -c -I../../../include -Wall -g -O2 -Wall -Wmissing-prototypes \ -std=c99 -ffast-math -fno-strict-aliasing -Wall -g -O2 -fPIC \ -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DTEXTURE_FLOAT_ENABLED \ -DHAVE_POSIX_MEMALIGN -DUSE_XCB -DGLX_INDIRECT_RENDERING \ -DGLX_DIRECT_RENDERING -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 \ -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_MINCORE -DHAVE_LIBUDEV -DHAVE_XCB_DRI2 \ -DXCB_DRI2_CONNECT_DEVICE_NAME_BROKEN -fvisibility=hidden -D_EGL_OS_UNIX=1 \ -D_EGL_BUILT_IN_DRIVER_DRI2 -D_EGL_BUILT_IN_DRIVER_GLX -DHAVE_X11_PLATFORM \ -DHAVE_DRM_PLATFORM -D_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_DRM \ -D_EGL_DRIVER_SEARCH_DIR=\"/usr/lib/x86_64-linux-gnu/egl\" egldisplay.c \ -o egldisplay.o [...] egldisplay.c:55:17: fatal error: gbm.h: No such file or directory compilation terminated. make[4]: *** [egldisplay.o] Error 1 (I build much more of Mesa than I actually use, so several times a year I find bugs like this. ;-) I am not a developer, so I do not know The Right Way to fix this. I experimented with patching 'Makefile' in src/egl/main as follows and got a successful build: --- Makefile~ 2011-08-16 08:37:13.000000000 -0400 +++ Makefile 2011-08-16 11:34:51.934413785 -0400 @@ -7,7 +7,7 @@ EGL_MAJOR = 1 EGL_MINOR = 0 -INCLUDE_DIRS = -I$(TOP)/include +INCLUDE_DIRS = -I$(TOP)/include -I$(TOP)/src/gbm/main HEADERS = \ eglcompiler.h \ I am attaching the full build output for reference. HTH, Dave W. -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev