How to compile a base plugin

Olivier Crête olivier.crete at
Tue Mar 30 16:21:46 UTC 2021


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.


On Tue, 2021-03-30 at 17:38 +0200, Guillaume Denis wrote:
> Hello,
> I am new to GStreamer (and C) and I try to compile one of the base 
> plugin to learn (by modifying). After having installed various 
> dependencies (including libgstreamer-plugins-base1.0-dev) I get:
> $ gcc -c audioecho.c `pkg-config --cflags --libs gstreamer-1.0`
> In file included from audioecho.c:60:
> audioecho.h:71:1: warning: data definition has no type or storage
> class
>   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
> audioecho.h:71:1: warning: type defaults to 'int' in declaration of 
> audioecho.h:71:1: warning: parameter names (without types) in
> function 
> declaration
> audioecho.c:88:40: error: expected ')' before string constant
>   GST_ELEMENT_REGISTER_DEFINE (audioecho, "audioecho",
>                                          ^~~~~~~~~~~~
>                                          )
> macros are not defined, but I don't know how to solve this. Many
> thanks 
> for your help! Guillaume
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at

Olivier Crête
olivier.crete at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list