From: STEVE555 <ste...@ho...> - 2011-05-19 09:58:18
|
STEVE555 wrote: > > > > STEVE555 wrote: >> >> 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 >> > Hi all, > Looking further into the problem I have been having, I was looking > closer at the compile code and it seemed to me it was around the libdrm > area. I looked at the libdrm code and found out it was updated about 3 > days ago,(I hadn't git pulled on it since the 11th of April this year) So > I did the git pull on my copy of libdrm and re-compiled it into my system. > > Unfortunately, the build with the same ./configure options gives me this > new error: > > python2 -t -O -O builtins/tools/generate_builtins.py ./builtin_compiler > > builtin_function.cpp || rm -f builtin_function.cpp > g++ -c -I. -I../mesa -I../mapi -I../../include -g -O2 -Wall > -fno-strict-aliasing -g -fPIC -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 -DHAVE_XEXTPROTO_71 -DGALLIUM_LLVMPIPE > -D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0209 -DFEATURE_GL=1 > -fvisibility=hidden -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 > -DHAVE_XEXTPROTO_71 -DGALLIUM_LLVMPIPE -D__STDC_CONSTANT_MACROS > -DHAVE_LLVM=0x0209 -DFEATURE_GL=1 builtin_function.cpp -o > builtin_function.o > builtin_function.cpp:15008:2: error: #error builtins profile 130_vert > failed to compile > builtin_function.cpp: In function ‘void > _mesa_glsl_initialize_functions(_mesa_glsl_parse_state*)’: > builtin_function.cpp:15773:26: error: ‘prototypes_for_130_vert’ was not > declared in this scope > builtin_function.cpp:15774:26: error: ‘functions_for_130_vert’ was not > declared in this scope > gmake[2]: *** [builtin_function.o] Error 1 > gmake[2]: Leaving directory `/opt/mesa/src/glsl' > gmake[1]: *** [subdirs] Error 1 > gmake[1]: Leaving directory `/opt/mesa/src' > gmake: *** [default] Error 1 > > Regards, > STEVE555 > Hi all, I have managed to fix my problem. I had a chat on the xorg channel,and one of the devs told me that I needed to downgrade my dri2 headers. Do I uninstalled my git version of dri2proto and I reinstalled my Fedora Rawhide packages of libX11-proto and my lib-xcb-proto,and Mesa builds fine now. I would like to thank everyone who tried to help me. Regards, STEVE555 -- View this message in context: http://old.nabble.com/Compiling-Mesa-from-git-%28just-build%2Cnot-installed%29-tp31569584p31654527.html Sent from the mesa3d-dev mailing list archive at Nabble.com. |