[CentOS] Trick to compile older packages

Tue Feb 7 16:30:59 UTC 2017
Matthew Miller <mattdm at mattdm.org>

On Tue, Feb 07, 2017 at 11:11:43AM -0500, Jerry Geis wrote:
> When I extract and try to compile gst-rtsp-server 0.10.8 the ./configure
> goes fine.
> but the make results in errors:
[...]
>   CC     libgstrtspserver_0.10_la-rtsp-media.lo
> rtsp-media.c: In function 'gst_rtsp_media_class_init':
> rtsp-media.c:143:3: error: 'g_thread_create' is deprecated (declared at
> /usr/include/glib-2.0/glib/deprecated/gthread.h:104): Use 'g_thread_new'
> instead [-Werror=deprecated-declarations]
>    klass->thread = g_thread_create ((GThreadFunc) do_loop, klass, TRUE,
> &error);

So, the root of this problem is building old code against a new glib2,
without updating the code. But it _looks_ like this should just be a
warning, and has been promoted to an error. Are you building with
-Werror?


-- 
Matthew Miller
<mattdm at fedoraproject.org>
Fedora Project Leader