« Return to Thread: Compiling Mesa from git (just build,not installed)

Compiling Mesa from git (just build,not installed)

by STEVE555 :: Rate this Message:

| View in Thread

Hi to all,
          I have been regularly been building the git version of mesa with with the gallium-nouveau code enabled.

I'm currently using Fedora Rawhide with the latest updates. I use the following ./autogen.sh options to set mesa for the build: ./autogen.sh --enable-debug --enable-glx-tls --enable-asm --with-dri-drivers= --enable-gallium-nouveau --disable-gallium-i915 --disable-gallium-i965 --disable-egl --disable-gallium-r300  --disable-gallium-r600 --disable-gallium-svga --with-state-trackers=glx,dri(and I sometimes add the xorg-state-tracker at the end).

The trouble I'm having is after I believe after some commits for GLX, Mesa keeps ending with this build error:

DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DGALLIUM_LLVMPIPE -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0209 -fvisibility=hidden -DXF86VIDMODE -D_REENTRANT -DDEFAULT_DRIVER_DIR=\"/usr/local/lib/dri\" glxcmds.c -o glxcmds.o
gcc -c -I. -I../../include -I../../include/GL/internal -I../../src/mesa -I../../src/mapi -I../../src/mapi/glapi -I/usr/include/libdrm      -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -g  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DDEBUG -DHAVE_POSIX_MEMALIGN -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DGALLIUM_LLVMPIPE -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0209 -fvisibility=hidden -DXF86VIDMODE -D_REENTRANT -DDEFAULT_DRIVER_DIR=\"/usr/local/lib/dri\" glxcurrent.c -o glxcurrent.o
gcc -c -I. -I../../include -I../../include/GL/internal -I../../src/mesa -I../../src/mapi -I../../src/mapi/glapi -I/usr/include/libdrm      -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -g  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM -DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DDEBUG -DHAVE_POSIX_MEMALIGN -DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DGALLIUM_LLVMPIPE -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0209 -fvisibility=hidden -DXF86VIDMODE -D_REENTRANT -DDEFAULT_DRIVER_DIR=\"/usr/local/lib/dri\" glxext.c -o glxext.o
glxext.c: In function ‘__glXWireToEvent’:
glxext.c:141:35: error: ‘xGLXBufferSwapComplete’ has no member named ‘sbc_hi’
glxext.c:141:58: error: ‘xGLXBufferSwapComplete’ has no member named ‘sbc_lo’
gmake[2]: *** [glxext.o] Error 1
gmake[2]: Leaving directory `/opt/mesa/src/glx'
gmake[1]: *** [subdirs] Error 1
gmake[1]: Leaving directory `/opt/mesa/src'
gmake: *** [default] Error 1

I have waited for a few days to see if the problem had been solved after some new commits, but I haven't noticed any, so I wanted to report my problem here.

Regards,
           STEVE555

 « Return to Thread: Compiling Mesa from git (just build,not installed)