Hello, today I tried compiling libgl-git-gallium from AUR (ArchLinux User 
Repository), and there seems to be a compilation error...Could someone point me 
to how I should go about fixing this?...It's source is from July 6(?) of this 
year (2010), just incase that has an impact on the solution.

Compilation error (Only got the stuff that really mattered):
-------------------------------------------------------------------------------------------
gcc -c -o state_tracker/st_texture.o state_tracker/st_texture.c -DFEATURE_GL=1 
-I../../include -I../../src/mesa -I../../src/mapi -I../../src/gallium/include 
-I../../src/gallium/auxiliary -march=i686 -mtune=generic -O2 -pipe -Wall 
-Wmissing-prototypes -std=c99 -ffast-math -fvisibility=hidden 
-fno-strict-aliasing  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM -DUSE_3DNOW_ASM 
-DUSE_SSE_ASM -D_GNU_SOURCE -DPTHREADS -DHAVE_POSIX_MEMALIGN -DUSE_XCB 
-DGLX_USE_TLS -DPTHREADS -DUSE_EXTERNAL_DXTN_LIB=1 -DIN_DRI_DRIVER 
-DGLX_DIRECT_RENDERING -DGLX_INDIRECT_RENDERING -DHAVE_ALIAS -DHAVE_XEXTPROTO_71
mklib: Making Linux static library:  libmesagallium.a
ar: creating libmesagallium.a
make[3]: Entering directory 
`/home/lee/builds/libgl-git-gallium/src/mesa-build/src/mesa/drivers'
make[4]: Entering directory 
`/home/lee/builds/libgl-git-gallium/src/mesa-build/src/mesa/drivers/dri'
gcc -shared -o libdricore.so -Wl,--whole-archive ../../libmesa.a 
-Wl,--no-whole-archive -lm -lpthread -lc
../../libmesa.a(varray.o): In function `_mesa_PrimitiveRestartIndex':
varray.c:(.text+0x2a90): multiple definition of `_mesa_PrimitiveRestartIndex'
../../libmesa.a(restart.o):restart.c:(.text+0x60): first defined here
collect2: ld returned 1 exit status
make[4]: *** [libdricore.so] Error 1
make[4]: Leaving directory 
`/home/lee/builds/libgl-git-gallium/src/mesa-build/src/mesa/drivers/dri'
make[3]: *** [default] Error 1
make[3]: Leaving directory 
`/home/lee/builds/libgl-git-gallium/src/mesa-build/src/mesa/drivers'
make[2]: *** [driver_subdirs] Error 2
make[2]: Leaving directory 
`/home/lee/builds/libgl-git-gallium/src/mesa-build/src/mesa'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory 
`/home/lee/builds/libgl-git-gallium/src/mesa-build/src'
make: *** [default] Error 1
    Aborting...                                           
_________________________________________________________________

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to