Guest User

kms-elements build fail

a guest
Feb 20th, 2019
89
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [ 33%] Building C object src/gst-plugins/webrtcendpoint/CMakeFiles/webrtcdataproto.dir/kmswebrtcdatasessionbin.c.o
  2. /path/kms-elements/src/kms-elements-6.7.1/src/gst-plugins/webrtcendpoint/kmswebrtcdatasessionbin.c: In function ‘kms_webrtc_data_session_bin_class_init’:
  3. /path/kms-elements/src/kms-elements-6.7.1/src/gst-plugins/webrtcendpoint/kmswebrtcdatasessionbin.c:424:3: error: ‘g_type_class_add_private’ is deprecated [-Werror=deprecated-declarations]
  4. g_type_class_add_private (klass, sizeof (KmsWebRtcDataSessionBinPrivate));
  5. ^~~~~~~~~~~~~~~~~~~~~~~~
  6. In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
  7. from /usr/include/glib-2.0/gobject/gbinding.h:29,
  8. from /usr/include/glib-2.0/glib-object.h:23,
  9. from /usr/include/gstreamer-1.0/gst/gstenumtypes.h:7,
  10. from /usr/include/gstreamer-1.0/gst/gst.h:31,
  11. from /usr/include/kurento/commons/kmsstats.h:20,
  12. from /path/kms-elements/src/kms-elements-6.7.1/src/gst-plugins/webrtcendpoint/kmswebrtcdatasessionbin.c:22:
  13. /usr/include/glib-2.0/gobject/gtype.h:1303:10: note: declared here
  14. void g_type_class_add_private (gpointer g_class,
  15. ^~~~~~~~~~~~~~~~~~~~~~~~
  16. cc1: all warnings being treated as errors
  17. make[2]: *** [src/gst-plugins/webrtcendpoint/CMakeFiles/webrtcdataproto.dir/build.make:83: src/gst-plugins/webrtcendpoint/CMakeFiles/webrtcdataproto.dir/kmswebrtcdatasessionbin.c.o] Error 1
RAW Paste Data