I get:
----------
make[6] : Entering directory
'/sources/gst10-plugins-base/gst-plugins-base-1.14.0/tests/examples/gl/sdl'
  CC       sdlshare-sdlshare.o
  CCLD     sdlshare
/usr/bin/ld: cannot find -lgstvideo-1.0
----------
The full command is:
/bin/sh ../../../../libtool  --tag=CC   --mode=link gcc -I../../../../gst-libs
-I../../../../gst-libs -I../../../../gst-libs -I../../../../gst-libs -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread
-I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include  -fno-strict-aliasing -DG_THREADS_MANDATORY
-DG_DISABLE_CAST_CHECKS -Wall -Wdeclaration-after-statement -Wvla
-Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls
-Wundef -Wwrite-strings -Wformat-nonliteral -Wformat-security -Winit-self
-Wmissing-include-dirs -Waddress -Wno-multichar -Wnested-externs   -g
-fvisibility=hidden -I/usr/include/libdrm -D_GNU_SOURCE=1 -D_REENTRANT
-I/usr/include/SDL -g -O2   -o sdlshare sdlshare-sdlshare.o -lgstreamer-1.0
-lgobject-2.0 -lglib-2.0  -lGL -lGLESv2 -lX11-xcb -lX11 -lxcb -lwayland-cursor
-lwayland-egl -lwayland-client -lEGL -lEGL -Wl,-rpath,/usr/lib -lSDL -lpthread
../../../../gst-libs/gst/gl/libgstgl-1.0.la -lgstvideo-1.0

but libgstvideo-1.0 is a library which is not yet installed, so it cannot be
found.

Two possiblities:

pass "--disable-examples" to configure

or

sed '/-lgstvideo/{s@-l@$(top_builddir)/gst-libs/gst/video/lib@;s/$/.la/}'
-i tests/examples/gl/sdl/Makefile.in

Note that the examples are not installed, and are not used in tests. SO
passing "--disable-examples" does not remove anything...

Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to