[Mesa-dev] Re:cant compile with llvmpipe enabled
yaiba.kurogane at interia.pl
yaiba.kurogane at interia.pl
Mon May 3 08:10:05 PDT 2010
Ok. I removed "-Wl,--as-needed" and now compilation went smooth.However
when I enable gles1 and gles2 and add es state tracker I got something
like this:
mklib: Making Linux shared library: libGL.so.1.2
mklib: Installing libGL.so.1.2 libGL.so.1 libGL.so in ../../lib
make[2]: Opuszczenie katalogu `/usr/src/mesa-full/src/mesa-build/src/glx'
make[2]: Wejście do katalogu `/usr/src/mesa-full/src/mesa-build/src/gles'
rm -f depend
touch depend
/usr/bin/makedepend -fdepend
-I/usr/lib/gcc/i686-pc-linux-gnu/4.5.0/include
-I/usr/lib/gcc/i686-pc-linux-gnu/4.5.0/include-fixed
-I../../src/mesa/es/glapi/glapi- -I../../src/mesa
../../src/mesa/glapi/glapi.c ../../src/mesa/glapi/glapi_dispatch.c
../../src/mesa/glapi/glapi_entrypoint.c
../../src/mesa/glapi/glapi_execmem.c
../../src/mesa/glapi/glapi_getproc.c ../../src/mesa/glapi/glapi_nop.c
../../src/mesa/glapi/glthread.c \
/usr/bin/makedepend: warning: ../../src/mesa/glapi/glapi.c (reading
../../src/mesa/main/glheader.h, line 55): cannot find include file
"GL/internal/glcore.h"
not in GL/internal/glcore.h
not in ../../src/mesa/main/GL/internal/glcore.h
not in
/usr/lib/gcc/i686-pc-linux-gnu/4.5.0/include/GL/internal/glcore.h
not in
/usr/lib/gcc/i686-pc-linux-gnu/4.5.0/include-fixed/GL/internal/glcore.h
not in ../../src/mesa/es/glapi/glapi-/GL/internal/glcore.h
not in ../../src/mesa/GL/internal/glcore.h
not in /usr/include/GL/internal/glcore.h
make[2]: Opuszczenie katalogu `/usr/src/mesa-full/src/mesa-build/src/gles'
make[2]: Wejście do katalogu `/usr/src/mesa-full/src/mesa-build/src/gles'
gcc -c -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 -DMESA_LLVM
-D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0207
-I../../src/mesa/es/glapi/glapi-es1 -I../../src/mesa -o es1-glapi_x86.o
../../src/mesa/es/glapi/glapi-es1/x86/glapi_x86.S
gcc -c -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 -DMESA_LLVM
-D__STDC_CONSTANT_MACROS -DHAVE_LLVM=0x0207
-I../../src/mesa/es/glapi/glapi-es1 -I../../src/mesa -o es1-glapi.o
../../src/mesa/glapi/glapi.c
In file included from ../../src/mesa/glapi/glapi.c:57:0:
../../src/mesa/main/glheader.h:55:32: fatal error: GL/internal/glcore.h:
No such file or directory
compilation terminated.
make[2]: *** [es1-glapi.o] Error 1
My PKGBUILD:
(..)./autogen.sh --prefix=/usr \
--with-dri-driverdir=/usr/lib/xorg/modules/dri \
--enable-glx-tls \
--with-dri-drivers=nouveau \
--enable-xcb \
--disable-egl \
--disable-glu \
--with-state-trackers=glx,dri,xorg,vega,es \
--disable-glw \
--enable-gles1 \
--enable-gles2 \
--enable-gallium \
--enable-gallium-llvm \
--disable-gallium-intel \
--disable-gallium-svga \
--disable-gallium-radeon \
--disable-gallium-nouveau || return 1
(...)
How to solve this?
----------------------------------------------------------------------
Najlepsza wyszukiwarka tanich lotow!
Sprawdz >>> http://linkint.pl/f26b1
More information about the mesa-dev
mailing list