[Mesa-users] Newest Mesa error

Serg . gihjer at mail.ru
Tue Oct 5 10:30:33 PDT 2010


Hi for All!
I just to try newest Mesa. But without success. Any comments?

mkdir Mesa; cd Mesa
fetch ftp://ftp.freedesktop.org/pub/mesa/7.9/MesaGLUT-7.9.tar.bz2
fetch ftp://ftp.freedesktop.org/pub/mesa/7.9/MesaLib-7.9.tar.bz2
fetch ftp://ftp.freedesktop.org/pub/mesa/demos/8.0.1/mesa-demos-8.0.1.tar.bz2
tar zxf MesaGLUT-7.9.tar.bz2; tar zxf MesaLib-7.9.tar.bz2; cd Mesa-7.9
setenv PKG_CONFIG_PATH /usr/local/libdata/pkgconfig:/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig
setenv XORG_CFLAGS /usr/local/include/X11; setenv XORG_LIBS /usr/local/lib
sh
./configure --prefix=/usr/local --mandir=/usr/share/man --enable-shared --disable-static \
--with-expat=/usr/local --with-x --x-includes=/usr/local/include/X11 --x-libraries=/usr/local/lib \
--with-xorg-driver-dir=/usr/local/lib/xorg/modules/drivers --with-state-trackers=dri,egl,glx \
--enable-driglx-direct --disable-gl-osmesa --enable-egl --enable-glu --enable-glw \
--disable-motif --enable-glut \
--with-driver=dri --with-dri-driverdir=/usr/local/lib/dri --with-egl-platforms=drm,x11 \
--enable-gallium --enable-gallium-llvm --enable-gallium-svga --enable-gallium-i915 \
--enable-gallium-i965 --enable-gallium-radeon \
--enable-gallium-r600 --enable-gallium-nouveau --enable-gallium-swrast
gmake
# gmake[2]: Entering directory `/usr/home/admin/Mesa/Mesa-7.9/src/glsl'
# g++ -c -I/usr/local/include   -I. -I../mesa -I../mapi -I../../include  -g -O2 -Wall -fvisibility=hidden -fno-strict-aliasing -ansi -pedantic  -fPIC  -DHAVE_POSIX_MEMALIGN -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DHAVE_XCB_DRI2  -DFEATURE_GL=1 -DHAVE_POSIX_MEMALIGN -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER -DHAVE_ALIAS -DGLX_INDIRECT_RENDERING -DGLX_DIRECT_RENDERING -DHAVE_XCB_DRI2  -DFEATURE_GL=1 builtin_function.cpp -o builtin_function.o
# builtin_function.cpp: In function 'void _mesa_read_profile(_mesa_glsl_parse_state*, exec_list*, int, const char*, const char**, int)':
# builtin_function.cpp:19099: error: ISO C++ forbids braced-groups within expressions


Is it BUG?
g++ --version
	g++ (GCC) 4.2.1 20070719  [FreeBSD]
Should I update "g++" to fresh ftp://mirrors.kernel.org/gnu/gcc/gcc-4.5.1/gcc-g++-4.5.1.tar.bz2 ?



More information about the mesa-users mailing list