[Mesa-dev] [Bug 52962] New: gbm.c:54:4: error: implicit declaration of function ‘pipe_loader_drm_probe_fd’

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jul 30 03:44:17 PDT 2012


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

             Bug #: 52962
           Summary: gbm.c:54:4: error: implicit declaration of function
                    ‘pipe_loader_drm_probe_fd’
    Classification: Unclassified
           Product: Mesa
           Version: git
          Platform: Other
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Other
        AssignedTo: mesa-dev at lists.freedesktop.org
        ReportedBy: chithanh at gentoo.org


Created attachment 64950
  --> https://bugs.freedesktop.org/attachment.cgi?id=64950
build.log

Mesa from today's git, configured with

./configure --prefix=/usr --build=x86_64-pc-linux-gnu
--host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info
--datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib
--libdir=/usr/lib64 --disable-dependency-tracking --enable-dri --enable-glx
--enable-texture-float --disable-debug --enable-egl --enable-gbm
--disable-gles1 --enable-gles2 --enable-glx-tls --disable-osmesa --enable-asm
--enable-shared-glapi --enable-xa --enable-xorg
--with-dri-drivers=,swrast,i915,i965 --with-gallium-drivers=,swrast,i915
--with-egl-platforms=x11,drm --enable-gallium-egl --disable-d3d1x
--enable-gallium-g3dvl --enable-gallium-llvm --enable-openvg
--disable-r600-llvm-compiler --disable-vdpau --enable-xvmc

will fail to build in:

gbm.c: In function ‘gallium_screen_create’:
gbm.c:54:4: error: implicit declaration of function ‘pipe_loader_drm_probe_fd’
gmake[3]: *** [gbm.o] Error 1

This is due to i915g not defining -DHAVE_PIPE_LOADER_DRM
A workaround is to add gallium_require_drm_loader statement to i915 in
configure.ac (or additionally enabling one driver that already has it).

Or one could check in gbm.c for HAVE_PIPE_LOADER_DRM before calling
pipe_loader_drm_probe_fd().

-- 
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