Bug 39095

Summary: egl_gallium.so failed to compile
Product: Mesa Reporter: demon <demon>
Component: Mesa coreAssignee: mesa-dev
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: high    
Version: git   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description demon 2011-07-09 07:44:26 UTC
Relevant part of the log:

/bin/install -c -d /home/mladen/Programi/PKGBUILDs/mesa/mesa-git/pkg/mesa-git/usr/lib/xorg/modules/dri
/bin/sh ../../../../bin/minstall -m 755 swrastg_dri.so /home/mladen/Programi/PKGBUILDs/mesa/mesa-git/pkg/mesa-git/usr/lib/xorg/modules/dri
make[3]: Leaving directory `/home/mladen/Programi/PKGBUILDs/mesa/mesa-git/src/mesa-build/src/gallium/targets/dri-swrast'
make[3]: Entering directory `/home/mladen/Programi/PKGBUILDs/mesa/mesa-git/src/mesa-build/src/gallium/targets/egl-static'
/bin/sh ../../../../bin/mklib -o egl_gallium.so -noprefix -linker 'g++' \
        -ldflags '-L../../../../lib -Wl,--no-undefined -Wl,--hash-style=gnu -Wl,--as-needed' \
        -cplusplus -install ../../../../lib/egl  \
        egl.o egl_pipe.o egl_st.o -Wl,--start-group ../../../../src/gallium/auxiliary/libgallium.a ../../../../src/gallium/drivers/identity/libidentity.a ../../../../src/gallium/drivers/r600/libr600.a ../../../../src/gallium/drivers/rbug/librbug.a ../../../../src/gallium/drivers/softpipe/libsoftpipe.a ../../../../src/gallium/drivers/trace/libtrace.a ../../../../src/gallium/state_trackers/egl/libegl.a ../../../../src/gallium/state_trackers/vega/libvega.a ../../../../src/gallium/winsys/r600/drm/libr600winsys.a ../../../../src/gallium/winsys/sw/xlib/libws_xlib.a ../../../../src/mesa/libmesagallium.a -Wl,--end-group \
        -lEGL -lOpenVG -lX11 -lXext -lXfixes -ldl -ldrm -ldrm_radeon -lgbm -lglapi -lm -lpthread -lrt -ludev
mklib: Making Linux shared library:  egl_gallium.so
../../../../src/gallium/state_trackers/egl/libegl.a(dri2.o): In function `DRI2WireToEvent':
/home/mladen/Programi/PKGBUILDs/mesa/mesa-git/src/mesa-build/src/glx/dri2.c:104: undefined reference to `dri2GetGlxDrawableFromXDrawableId'
/home/mladen/Programi/PKGBUILDs/mesa/mesa-git/src/mesa-build/src/glx/dri2.c:132: undefined reference to `GetGLXDrawable'
collect2: ld врати излазни статус 1
mklib: Installing egl_gallium.so in ../../../../lib/egl
mv: cannot stat `egl_gallium.so': No such file or directory
/bin/install -c -d /home/mladen/Programi/PKGBUILDs/mesa/mesa-git/pkg/mesa-git/usr/lib/egl
for out in ../../../../lib/egl/egl_gallium.so; do \
        /bin/sh ../../../../bin/minstall -m 755 "$out" /home/mladen/Programi/PKGBUILDs/mesa/mesa-git/pkg/mesa-git/usr/lib/egl; \
done
Unknown type of argument:  ../../../../lib/egl/egl_gallium.so
make[3]: *** [install] Error 1
make[3]: Leaving directory `/home/mladen/Programi/PKGBUILDs/mesa/mesa-git/src/mesa-build/src/gallium/targets/egl-static'
make[2]: *** [install] Error 1
make[2]: Leaving directory `/home/mladen/Programi/PKGBUILDs/mesa/mesa-git/src/mesa-build/src/gallium/targets'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/home/mladen/Programi/PKGBUILDs/mesa/mesa-git/src/mesa-build/src'
make: *** [install] Error 1


Compilation flags:

  ./autogen.sh --prefix=/usr \
  --with-dri-driverdir=/usr/lib/xorg/modules/dri \
  --with-gallium-drivers=r600,swrast \
  --with-dri-drivers= \
  --with-egl-platforms=x11,drm \
  --disable-xorg \
  --enable-openvg \
  --enable-gles1 \
  --enable-gles2 \
  --enable-xcb \
  --enable-glx-tls \
  --enable-texture-float \
  --enable-shared-dricore \
  --enable-shared-glapi \
  --disable-glut \
  --enable-gallium-egl \
  --disable-gallium-llvm \
  --enable-debug


glproto 1.4.14
libdrm 2.4.26
dri2proto 2.6
Comment 1 Chia-I Wu 2011-07-10 00:12:45 UTC
Should be fixed by 95f9e118fe7b02ab5d28550dabd8751e5fb15e3c.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.