[Mesa-dev] [PATCH] g3dvl: check for existence of header/libs
Andy Furniss
andyqos at ukfsn.org
Fri Jul 15 09:26:07 PDT 2011
Andy Furniss wrote:
> make[3]: *** No rule to make target
> `../../../../src/gallium/winsys/sw/xlib/libws_xlib.a', needed by
> `../../../../lib/gallium/libvdpau_softpipe.so'. Stop.
I see this is fixed now in master.
I have another problem though, vdpau-softpipe is not using my
LD_LIBRARY_PATH so fails to find where my lvdpau is.
As you can see from below r600 does use it and adds
-L/home/andy/Src/Xorg-git/modular/lib and links OK.
make[3]: Entering directory
`/home/andy/Src/Mesa-git/mesa/src/gallium/targets/vdpau-r600'
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 -fvisibility=hidden -DGALLIUM_TRACE -DVER_MAJOR=1
-DVER_MINOR=0 target.c -o target.o
/bin/sh ../../../../bin/mklib -o vdpau_r600 -linker 'gcc' -ldflags '
-lstdc++' \
-major 1 -minor 0 \
-install ../../../../lib/gallium \
target.o
../../../../src/gallium/state_trackers/vdpau/*.o
../../../../src/gallium/state_trackers/vdpau/libvdpautracker.a
../../../../src/gallium/drivers/r600/libr600.a
../../../../src/gallium/winsys/g3dvl/dri/libvldri.a
../../../../src/gallium/winsys/r600/drm/libr600winsys.a
../../../../src/gallium/drivers/trace/libtrace.a
../../../../src/gallium/auxiliary/libgallium.a
-L/home/andy/Src/Xorg-git/modular/lib -ldrm -lXfixes -lvdpau -lXext
-lX11 -lm
mklib: Making Linux shared library: libvdpau_r600.so.1.0
mklib: Installing libvdpau_r600.so.1.0 libvdpau_r600.so.1
libvdpau_r600.so in ../../../../lib/gallium
make[3]: Leaving directory
`/home/andy/Src/Mesa-git/mesa/src/gallium/targets/vdpau-r600'
make[3]: Entering directory
`/home/andy/Src/Mesa-git/mesa/src/gallium/targets/vdpau-softpipe'
../Makefile.vdpau:69: depend: No such file or directory
rm -f depend
touch depend
/home/andy/Src/Xorg-git/modular/bin/makedepend -fdepend
-I/usr/lib/gcc/i686-pc-linux-gnu/4.2.3/include -DGALLIUM_TRACE
-DVER_MAJOR=1 -DVER_MINOR=0 -DGALLIUM_SOFTPIPE
-I../../../../src/gallium/include -I../../../../src/gallium/drivers
-I../../../../src/gallium/auxiliary -I../../../../src/gallium/winsys
-I../../../../src/gallium/winsys/g3dvl
../../../../src/gallium/winsys/g3dvl/xlib/xsp_winsys.c \
2> /dev/null
make[3]: Leaving directory
`/home/andy/Src/Mesa-git/mesa/src/gallium/targets/vdpau-softpipe'
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
/bin/sh ../../../../bin/mklib -o vdpau_softpipe -linker 'gcc' -ldflags '
-lstdc++' \
-major 1 -minor 0 \
-install ../../../../lib/gallium \
../../../../src/gallium/winsys/g3dvl/xlib/xsp_winsys.o
../../../../src/gallium/state_trackers/vdpau/*.o
../../../../src/gallium/state_trackers/vdpau/libvdpautracker.a
../../../../src/gallium/winsys/sw/xlib/libws_xlib.a
../../../../src/gallium/drivers/softpipe/libsoftpipe.a
../../../../src/gallium/auxiliary/libgallium.a -lvdpau -lXext -lX11 -lm
mklib: Making Linux shared library: libvdpau_softpipe.so.1.0
/usr/bin/ld: cannot find -lvdpau
collect2: ld returned 1 exit status
mklib: Installing libvdpau_softpipe.so.1.0 libvdpau_softpipe.so.1
libvdpau_softpipe.so in ../../../../lib/gallium
mv: cannot stat `libvdpau_softpipe.so.1.0': No such file or directory
More information about the mesa-dev
mailing list