From: Max G. <gi...@ye...> - 2006-09-06 06:15:26
|
On Tue, 5 Sep 2006, Brian Paul wrote: > >> > I'm trying to compile Mesa and it fails at the linking stage with lots of > >> > errors like this: > >> > x86/glapi_x86.o: In function `glIsQuery': > >> > x86/glapi_x86.S:(.text+0x3de0): multiple definition of `glIsQuery' > >> > main/dispatch.o:dispatch.c:(.text+0x92ed): first defined here > >> > I've compiled required X.org libraries myself so maybe I need to compile > >> > X.org differently? I have no idea what to do now, please help. > Where did you get the Makefile.mesa file? I've never seen it. The > Mesa .c files aren't getting compiled with all the needed compiler flags. It's my own. I tried to make compiler as happy as possible and that's what I got: export PATH=$(PATH):${BUILDER_XORG}/bin && cd ${MESA} && make linux-x86 \ CFLAGS="-I${BUILDER_XORG}/include" MKLIB_OPTIONS="-L${BUILDER_XORG}/lib" ${BUILDER_XORG} is pointing to X.org libraries' install directory. What other flags/dependencies should I add? Thanks for helping! Max |