[Mesa-dev] [PATCH] g3dvl: check for existence of header/libs

Andy Furniss andyqos at ukfsn.org
Thu Jul 14 08:51:02 PDT 2011


Christian König wrote:
> Hello list,
>
> I'm about to commit the attached patches, they add checks that the
> correct development packages are installed before enabling the different
> state trackers.

Don't know if this one is specific to my setup/options but -

./autogen.sh --prefix=/home/andy/Src/Xorg-git/modular --enable-debug 
--disable-egl --enable-texture-float --enable-gallium-g3dvl 
--disable-gallium-llvm --with-gallium-drivers=r600,swrast 
--with-dri-drivers=r600,swrast

make[3]: Entering directory 
`/home/andy/Src/Mesa-git/mesa/src/gallium/targets/vdpau-softpipe'
gcc -c -I../../../../src/gallium/include 
-I../../../../src/gallium/drivers -I../../../../src/gallium/auxiliary 
-I../../../../src/gallium/winsys -I../../../../src/gallium/winsys/g3dvl 
  -g -O2 -Wall -Wmissing-prototypes -std=c99 -ffast-math 
-fno-strict-aliasing -g  -fPIC  -DUSE_X86_ASM -DUSE_MMX_ASM 
-DUSE_3DNOW_ASM -DUSE_SSE_ASM -DGALLIUM_TRACE -DVER_MAJOR=1 
-DVER_MINOR=0 -DGALLIUM_SOFTPIPE -fvisibility=hidden -DGALLIUM_TRACE 
-DVER_MAJOR=1 -DVER_MINOR=0 -DGALLIUM_SOFTPIPE 
../../../../src/gallium/winsys/g3dvl/xlib/xsp_winsys.c -o 
../../../../src/gallium/winsys/g3dvl/xlib/xsp_winsys.o
make[3]: *** No rule to make target 
`../../../../src/gallium/winsys/sw/xlib/libws_xlib.a', needed by 
`../../../../lib/gallium/libvdpau_softpipe.so'.  Stop.
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory 
`/home/andy/Src/Mesa-git/mesa/src/gallium/targets/vdpau-softpipe'
make[2]: *** [default] Error 1
make[2]: Leaving directory 
`/home/andy/Src/Mesa-git/mesa/src/gallium/targets'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/home/andy/Src/Mesa-git/mesa/src'
make: *** [default] Error 1

It builds OK if I use --with-gallium-drivers=r600

--with-gallium-drivers=r600,swrast is OK as long as I don't 
--enable-gallium-g3dvl.

--with-xorg makes no difference.



More information about the mesa-dev mailing list