GNOME Bugzilla – Bug 588550
build failure in git, missing gstinterfaces-0.10
Last modified: 2009-07-15 14:57:39 UTC
gst-plugins-base from git refuses to build: CC sprinkle2-sprinkle2.o LINK sprinkle2 CC sprinkle3-sprinkle3.o LINK sprinkle3 Making all in v4l CC probe-probe.o LINK probe /usr/bin/ld: cannot find -lgstinterfaces-0.10 collect2: ld returned 1 exit status
Created attachment 138405 [details] [review] examples: fix v4l probe example build Fixes bug #588550.
Sorry my fault, not sure why it builded fine here. Is the same change needed for the correspondent example in -good? Does it build fine for you?
It probably builds fine if you have an installed copy of libgstinterfaces on the system... In the patch, $(GST_PLUGINS_BASE_CFLAGS) should precede $(GST_BASE_CFLAGS) (local module stuff goes first) - and the same for the LIBS. There's no need to manually add -I$(top_builddir)/gst-libs to the CFLAGS - only to add the .la file to the LIBS.
(In reply to comment #3) > In the patch, $(GST_PLUGINS_BASE_CFLAGS) should precede $(GST_BASE_CFLAGS) > (local module stuff goes first) - and the same for the LIBS. There's no need to > manually add -I$(top_builddir)/gst-libs to the CFLAGS - only to add the .la > file to the LIBS. Oh... I almost copied it from seek/Makefile.am, but it uses AM_FLAGS and LDADD maybe it's different (or maybe it is wrong too), I'm not so good with autotools :-P New patch following.
Created attachment 138440 [details] [review] examples: fix v4l probe example build Fixes bug #588550.
seek is wrong too, but it can wait :) Please commit.
commit 57d8ba0fd20fccfa257bbfc0b72e2fdb4f001a4f Author: Filippo Argiolas <filippo.argiolas@gmail.com> Date: Tue Jul 14 19:00:36 2009 +0200 examples: fix v4l probe example build Fixes bug #588550.
don't forget to set the milestone when closing bugs....