GNOME Bugzilla – Bug 702732
v4l2: Does not link statically on linux
Last modified: 2013-06-20 13:36:17 UTC
When linking statically on linux I get the following error message: multiple definition of `GST_CAT_PERFORMANCE' Looking at the file gstv4l2.c on line 42 it looks like _STATIC is missing. Other elements are using GST_DEBUG_CATEGORY_STATIC(GST_CAT_PERFORMANCE), and not GST_DEBUG_CATEGORY(GST_CAT_PERFORMANCE), and they work.
commit 821d99a50354650fa8d6254b69ad40e3518f285c Author: Wim Taymans <wim.taymans@collabora.co.uk> Date: Thu Jun 20 15:35:11 2013 +0200 v4l2: don't redefine the PERFORMANCE debug variable It is already defined in core. fixes https://bugzilla.gnome.org/show_bug.cgi?id=702732