<html><head></head><body><div>Hi,</div><div><br></div><div>If you are compiling the git master version of a plugin, you need to compile it against the git master version of the GStreamer core. We don't support mixing versions of the various GStreamer repositories. This macro was recently added, you could revert the relevant commit for this specific plugin if you want to backport it.</div><div><br></div><div>Olivier</div><div><br></div><div>On Tue, 2021-03-30 at 17:38 +0200, Guillaume Denis wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><div>Hello,<br></div><div><br></div><div>I am new to GStreamer (and C) and I try to compile one of the base <br></div><div>plugin to learn (by modifying). After having installed various <br></div><div>dependencies (including libgstreamer-plugins-base1.0-dev) I get:<br></div><div><br></div><div><br></div><div>$ gcc -c audioecho.c `pkg-config --cflags --libs gstreamer-1.0`<br></div><div>In file included from audioecho.c:60:<br></div><div>audioecho.h:71:1: warning: data definition has no type or storage class<br></div><div>  GST_ELEMENT_REGISTER_DECLARE(audioecho);<br></div><div>  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></div><div>audioecho.h:71:1: warning: type defaults to 'int' in declaration of <br></div><div>'GST_ELEMENT_REGISTER_DECLARE' [-Wimplicit-int]<br></div><div>audioecho.h:71:1: warning: parameter names (without types) in function <br></div><div>declaration<br></div><div>audioecho.c:88:40: error: expected ')' before string constant<br></div><div>  GST_ELEMENT_REGISTER_DEFINE (audioecho, "audioecho",<br></div><div>                                         ^~~~~~~~~~~~<br></div><div>                                         )<br></div><div><br></div><div>I guess GST_ELEMENT_REGISTER_DECLARE and GST_ELEMENT_REGISTER_DEFINE <br></div><div>macros are not defined, but I don't know how to solve this. Many thanks <br></div><div>for your help! Guillaume<br></div><div>_______________________________________________<br></div><div>gstreamer-devel mailing list<br></div><div><a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br></div><div><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br></div></blockquote><div><br></div><div><span><pre>-- <br></pre><div data-evo-paragraph="" class="">Olivier CrĂȘte</div><div data-evo-paragraph="" class=""><a href="mailto:olivier.crete@collabora.com">olivier.crete@collabora.com</a></div><div data-evo-paragraph="" class=""><br></div></span></div></body></html>