Can't compile newest wayland due to mesa changes?
Bill Spitzak
spitzak at gmail.com
Sat Jul 21 10:19:10 PDT 2012
On 07/20/2012 11:19 PM, Scott Moreau wrote:
> No, you need to update mesa.
I am unable to compile mesa. I updated to the newest git, cleaned, and
built. My configure line is:
./autogen.sh --prefix=$HOME/install --enable-gles2 --disable-gallium-egl
--with-egl-platforms=wayland,x11,drm --enable-gbm --enable-shared-glapi
--with-gallium-drivers=r300,r600,swrast,nouveau
It fails with lots of undefined LLVM symbols, here is the tail of the
make output:
/home/spitzak/swdevl/wayland/mesa/src/gallium/auxiliary/gallivm/lp_bld_const.h:124:
undefined reference to `LLVMInt32TypeInContext'
/home/spitzak/swdevl/wayland/mesa/src/gallium/auxiliary/gallivm/lp_bld_const.h:124:
undefined reference to `LLVMConstInt'
../../auxiliary//libgallium.a(lp_bld_intr.o): In function
`lp_build_intrinsic_map':
/home/spitzak/swdevl/wayland/mesa/src/gallium/auxiliary/gallivm/lp_bld_intr.c:244:
undefined reference to `LLVMBuildExtractElement'
/home/spitzak/swdevl/wayland/mesa/src/gallium/auxiliary/gallivm/lp_bld_intr.c:246:
undefined reference to `LLVMBuildInsertElement'
collect2: ld returned 1 exit status
gmake[4]: *** [lp_test_format] Error 1
gmake[4]: Leaving directory
`/home/spitzak/swdevl/wayland/mesa/src/gallium/drivers/llvmpipe'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/home/spitzak/swdevl/wayland/mesa/src/gallium/drivers'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/home/spitzak/swdevl/wayland/mesa/src/gallium'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/spitzak/swdevl/wayland/mesa/src'
make: *** [all-recursive] Error 1
Since I am using the nouveau driver I suspect I can't turn off the
gallium stuff, right?
I'm going to try the info in the other file about mesa needing a lot of
other packages from X, but this does not sound like that problem.
More information about the wayland-devel
mailing list