[Mesa-dev] [Bug 38906] Mesa compilation failure if libudev development files are not installed.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Jul 2 03:03:42 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=38906

--- Comment #1 from Thomas Hellström <thellstrom at vmware.com> 2011-07-02 03:03:42 PDT ---
A similar problem exists with gallium:

gcc -c -I. -I../../../../src/gallium/include
-I../../../../src/gallium/auxiliary -I../../../../src/egl/main
-I../../../../src/egl/wayland/wayland-drm/ -I../../../../include
-I../../../../src/gallium/winsys -I/usr/include/libdrm  
-I../../../../src/gbm/main -I../../../../src/gallium/state_trackers/gbm
-D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DGLX_INDIRECT_RENDERING
-DGLX_DIRECT_RENDERING -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS
-DHAVE_XCB_DRI2 -g -Wall -Wmissing-prototypes -std=c99 -ffast-math
-fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS
-DHAVE_POSIX_MEMALIGN -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DHAVE_XCB_DRI2
-fvisibility=hidden drm/native_drm.c -o drm/native_drm.o
In file included from
../../../../src/gallium/state_trackers/gbm/gbm_gallium_drmint.h:35,
                 from drm/native_drm.c:36:
../../../../src/gbm/main/common.h:31:21: error: libudev.h: No such file or
directory
In file included from
../../../../src/gallium/state_trackers/gbm/gbm_gallium_drmint.h:35,
                 from drm/native_drm.c:36:
../../../../src/gbm/main/common.h:34: warning: ‘struct udev’ declared inside
parameter list
../../../../src/gbm/main/common.h:34: warning: its scope is only this
definition or declaration, which is probably not what you want
make: *** [drm/native_drm.o] Error 1


IMO, if gbm is not enabled, The egl drm platform  should build anyway.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list