Re: Trick to compile older packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxxxxxxxx>
Fedora Project Leader
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux