gst-rtsp-server from git master: build error

Tim Müller tim at centricular.com
Sun Jan 12 08:38:58 PST 2014


On Sun, 2014-01-12 at 01:48 -0800, ekar wrote:

Hi,

> i fetched master branch for gst-rtsp-server and autogen.sh and ./configure
> went ok, but 'make' fails with the error below:
> 
> make  all-recursive
> make[1]: Entering directory `/home/pi/gstreamer-1.x/gst-rtsp-server'
> Making all in gst
> make[2]: Entering directory `/home/pi/gstreamer-1.x/gst-rtsp-server/gst'
> Making all in rtsp-server
> make[3]: Entering directory
> `/home/pi/gstreamer-1.x/gst-rtsp-server/gst/rtsp-server'
>   CC     libgstrtspserver_1.0_la-rtsp-media.lo
> rtsp-media.c: In function ‘gst_rtsp_media_class_init’:
> rtsp-media.c:245:40: error: ‘GST_TYPE_RTSP_PROFILE’ undeclared (first use in
> this function)
> rtsp-media.c:245:40: note: each undeclared identifier is reported only once
> for each function it appears in

> Does anybody knowns how to fix it ?

You need to update your gst-plugins-base, either latest git master or
latest git 1.2 branch. 

You can also apply this patch to your gst-plugins-base tree if you
compiled from source:
http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?h=1.2&id=feaa33be8157e241bf25082c322ab0d63ee39632

Or you edit rtsp-media.c and add #if 0 around this code (line ~243):

+ #if 0

  g_object_class_install_property (gobject_class, PROP_PROFILES,
      g_param_spec_flags ("profiles", "Profiles",
          "Allowed transfer profiles", GST_TYPE_RTSP_PROFILE,
          DEFAULT_PROFILES, G_PARAM_READWRITE |
G_PARAM_STATIC_STRINGS));

+ #endif

Cheers
 -Tim


-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list