GNOME Bugzilla – Bug 614354
fix small compile break if $(top_srcdir) != $(top_builddir)
Last modified: 2010-04-04 19:16:18 UTC
Since there are no src files (or generated Makefile) in gst-libs, you get a compile error if building from a directory other than the src tree: make[3]: Entering directory `/home/robclark/src/gst-plugins-good/build/gst/videofilter' CC libgstvideoflip_la-gstvideoflip.lo cc1: error: ../../gst-libs: No such file or directory
Created attachment 157477 [details] [review] patch to fix the error
Fixed, thanks for the patch: commit 25b0a4c91a503a846dd7bd6f710b0636c52e7c5a Author: Rob Clark <rob@ti.com> Date: Tue Mar 30 07:34:07 2010 -0500 build: fix compiler warning when srcdir != builddir Fixes '../../gst-libs: No such file or directory' warning/error when the build directory is not the same as the source directory. Fixes #614354. -ugly also needs fixing from the look of it.
> -ugly also needs fixing from the look of it. Or not (since it has Makefiles for gst-libs/gst which -good does not have).
commit ca0bd3a8cea31f9ea0df798a83d3007e696958ba Author: Stefan Kost <ensonic@users.sf.net> Date: Sun Apr 4 21:36:35 2010 +0300 configure: fix out of source dir builds Remove non-existing gst-libs from include and library-paths'. Fixes #614354 even more.
I am a bit puzzled. I got the same error as reported and it make sense, as gst-plugins-good had no gst-libs folder at all. Thus my commit. It was happening on two systems. I reverted the fix, still trying to reproduce what happend.