[Mesa-dev] Mesa build fails with xlib/egl

Lionel Landwerlin llandwerlin at gmail.com
Mon Jul 5 13:39:36 PDT 2010


Hello everyone,

I'm trying to build the last Mesa 7.8.2 on top of an Xlib stack.
What I need, is a software implementation of GLES 2.0 with EGL.
This is how I configure Mesa :

./configure --disable-glu --disable-glw --disable-glut --with-driver=xlib --with-state-trackers=es,egl --disable-gallium-svga --disable-gallium-intel --disable-gallium-radeon --disable-gallium-nouveau --disable-gallium-swrast --with-demos=no

Unfortunaltly the build fails near from the end with this error :

...

mklib: Making Linux shared library:  libGLESv2.so.2.0.0
mklib: Installing libGLESv2.so.2.0.0 libGLESv2.so.2 libGLESv2.so in ../../../../lib64
make[4]: quittant le répertoire « /home/djdeath/tmp/pace-xorg/mesa-7.8.2/src/gallium/state_trackers/es »
make[4]: entrant dans le répertoire « /home/djdeath/tmp/pace-xorg/mesa-7.8.2/src/gallium/state_trackers/egl »
rm -f depend
touch depend
/usr/bin/makedepend -fdepend -I/usr/lib/gcc/x86_64-linux-gnu/4.4.4/include -I/usr/lib/gcc/x86_64-linux-gnu/4.4.4/include-fixed -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/egl/main -I../../../../include -I../../../../src/gallium/drivers -I../../../../src/glx -I../../../../src/mesa  -I/opt/pace-xorg/include/libdrm   -I/opt/pace-xorg/include/libdrm   common/egl_g3d.c common/egl_g3d_image.c common/egl_st.c x11/glxinit.c x11/native_dri2.c x11/native_x11.c x11/native_ximage.c x11/sw_winsys.c x11/x11_screen.c ../../../../src/glx/dri2.c kms/native_kms.c 2> /dev/null
make[4]: quittant le répertoire « /home/djdeath/tmp/pace-xorg/mesa-7.8.2/src/gallium/state_trackers/egl »
make[4]: entrant dans le répertoire « /home/djdeath/tmp/pace-xorg/mesa-7.8.2/src/gallium/state_trackers/egl »
gcc -c -I. -I../../../../src/gallium/include -I../../../../src/gallium/auxiliary -I../../../../src/egl/main -I../../../../include -I../../../../src/gallium/drivers -I../../../../src/glx -I../../../../src/mesa  -I/opt/pace-xorg/include/libdrm   -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XSHM -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden -fno-strict-aliasing  -fPIC  -DUSE_X86_64_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XSHM x11/glxinit.c -o x11/glxinit.o
x11/glxinit.c:56: warning: no previous prototype for ‘__glXFindDisplay’
x11/glxinit.c: In function ‘AllocAndFetchScreenConfigs’:
x11/glxinit.c:608: error: ‘__GLXscreenConfigs’ has no member named ‘scr’
x11/glxinit.c:609: error: ‘__GLXscreenConfigs’ has no member named ‘dpy’
make[4]: *** [x11/glxinit.o] Erreur 1
make[4]: quittant le répertoire « /home/djdeath/tmp/pace-xorg/mesa-7.8.2/src/gallium/state_trackers/egl »
make[3]: *** [subdirs] Erreur 1
make[3]: quittant le répertoire « /home/djdeath/tmp/pace-xorg/mesa-7.8.2/src/gallium/state_trackers »
make[2]: *** [default] Erreur 1
make[2]: quittant le répertoire « /home/djdeath/tmp/pace-xorg/mesa-7.8.2/src/gallium »
make[1]: *** [subdirs] Erreur 1
make[1]: quittant le répertoire « /home/djdeath/tmp/pace-xorg/mesa-7.8.2/src »
make: *** [default] Erreur 1

Maybe all of this is the result of a misconfiguration on my side, so any
help on this problem is welcome.

Regards,

-- 
Lionel Landwerlin




More information about the mesa-dev mailing list