[Mesa-dev] build error after recent master changes.

Andy Furniss andyqos at ukfsn.org
Fri Jun 22 08:43:30 PDT 2012


I have an atypical and old x86 LFS setup but could build OK a couple of 
days ago.

make distclean
git clean -dfx
git pull

LDFLAGS="-L/home/andy/Src/Xorg-git/modular/lib" ./autogen.sh 
--prefix=/home/andy/Src/Xorg-git/modular --enable-debug --disable-egl 
--enable-texture-float --enable-gallium-g3dvl 
--enable-r600-llvm-compiler --with-gallium-drivers=r600,swrast 
--with-dri-drivers=swrast && make -j5 && make install


make[4]: Entering directory `/home/andy/Src/Mesa-git/mesa/src/mesa/x86'
gcc -DPACKAGE_NAME=\"Mesa\" -DPACKAGE_TARNAME=\"mesa\" 
-DPACKAGE_VERSION=\"8.1.0\" -DPACKAGE_STRING=\"Mesa\ 8.1.0\" 
-DPACKAGE_BUGREPORT=\"https://bugs.freedesktop.org/enter_bug.cgi\?product=Mesa\" 
-DPACKAGE_URL=\"\" -DPACKAGE=\"mesa\" -DVERSION=\"8.1.0\" 
-DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 
-DLT_OBJDIR=\".libs/\" -DYYTEXT_POINTER=1 -DHAVE_LIBEXPAT=1 -I. 
-I../../../src/mesa -I../../../src/mapi -DFEATURE_GL=1 -D_GNU_SOURCE 
-DPTHREADS -DDEBUG -DTEXTURE_FLOAT_ENABLED -DUSE_X86_ASM -DUSE_MMX_ASM 
-DUSE_3DNOW_ASM -DUSE_SSE_ASM -DHAVE_POSIX_MEMALIGN -DUSE_XCB 
-DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING 
-DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS 
-DHAVE_LLVM=0x0301   -g -O2 -Wall -std=c99 
-Werror=implicit-function-declaration -Werror=missing-prototypes 
-fno-strict-aliasing -fno-builtin-memcmp -g -g -O2 -MT gen_matypes.o -MD 
-MP -MF .deps/gen_matypes.Tpo -c -o gen_matypes.o gen_matypes.c
In file included from gen_matypes.c:41:
../../../src/mesa/main/mtypes.h:55: error: expected '=', ',', ';', 'asm' 
or '__attribute__' before 'GLbitfield64'
../../../src/mesa/main/mtypes.h:1605: error: expected 
specifier-qualifier-list before 'GLbitfield64'
../../../src/mesa/main/mtypes.h:1939: error: expected 
specifier-qualifier-list before 'GLbitfield64'
../../../src/mesa/main/mtypes.h:2819: error: expected 
specifier-qualifier-list before 'GLuint64'
In file included from ../../../src/mesa/main/mtypes.h:3148,
                  from gen_matypes.c:41:
../../../src/mesa/main/dd.h:766: error: expected declaration specifiers 
or '...' before 'GLuint64'
../../../src/mesa/main/dd.h:768: error: expected declaration specifiers 
or '...' before 'GLuint64'
In file included from gen_matypes.c:41:
../../../src/mesa/main/mtypes.h:3261: error: expected 
specifier-qualifier-list before 'GLDEBUGPROCARB'
../../../src/mesa/main/mtypes.h:3491: error: expected 
specifier-qualifier-list before 'GLbitfield64'
In file included from ../../../src/mesa/tnl/t_context.h:53,
                  from gen_matypes.c:42:
../../../src/mesa/main/imports.h:300: error: expected '=', ',', ';', 
'asm' or '__attribute__' before 'IROUND64'
In file included from gen_matypes.c:42:
../../../src/mesa/tnl/t_context.h:525: error: expected 
specifier-qualifier-list before 'GLbitfield64'
gen_matypes.c: In function 'main':
gen_matypes.c:139: error: 'GLbitfield64' undeclared (first use in this 
function)
gen_matypes.c:139: error: (Each undeclared identifier is reported only once
gen_matypes.c:139: error: for each function it appears in.)
gen_matypes.c:139: error: expected ')' before numeric constant
gen_matypes.c:140: error: expected ')' before numeric constant
gen_matypes.c:141: error: expected ')' before numeric constant
gen_matypes.c:142: error: expected ')' before numeric constant
gen_matypes.c:143: error: expected ')' before numeric constant
gen_matypes.c:144: error: expected ')' before numeric constant
gen_matypes.c:145: error: expected ')' before numeric constant
gen_matypes.c:146: error: expected ')' before numeric constant
gen_matypes.c:147: error: expected ')' before numeric constant
make[4]: *** [gen_matypes.o] Error 1
make[4]: Leaving directory `/home/andy/Src/Mesa-git/mesa/src/mesa/x86'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/andy/Src/Mesa-git/mesa/src/mesa'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/andy/Src/Mesa-git/mesa/src/mesa'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/andy/Src/Mesa-git/mesa/src'
make: *** [all-recursive] Error 1


More information about the mesa-dev mailing list