Facebook
From Burly Pig, 4 Years ago, written in Plain Text.
This paste is a reply to build log from much - go back
Embed
Viewing differences between build log and Re: build log
$ gcc -o test-launch test-launch.c `pkg-config --cflags --libs gstreamer-rtsp-server-1.0`
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:21,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-pool.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-object.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:28,
                 from test-launch.c:25:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:79:1: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   79 | GstRTSPResult      gst_rtsp_connection_connect                (GstRTSPConnection * conn, GTimeVal * timeout);
      | ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test-launch.c:23:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:21,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-pool.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-object.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:28,
                 from test-launch.c:25:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:82:1: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   82 | GstRTSPResult      gst_rtsp_connection_connect_with_response  (GstRTSPConnection * conn, GTimeVal * timeout, GstRTSPMessage * response);
      | ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test-launch.c:23:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:21,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-pool.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-object.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:28,
                 from test-launch.c:25:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:127:56: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  127 |                                                        guint size, GTimeVal * timeout);
      |                                                        ^~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test-launch.c:23:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:21,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-pool.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-object.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:28,
                 from test-launch.c:25:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:131:56: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  131 |                                                        guint size, GTimeVal * timeout);
      |                                                        ^~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test-launch.c:23:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:21,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-pool.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-object.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:28,
                 from test-launch.c:25:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:137:56: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  137 |                                                        GTimeVal *timeout);
      |                                                        ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test-launch.c:23:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:21,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-pool.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-object.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:28,
                 from test-launch.c:25:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:141:56: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  141 |                                                        GTimeVal *timeout);
      |                                                        ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test-launch.c:23:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:21,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-pool.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-object.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:28,
                 from test-launch.c:25:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:145:56: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  145 |                                                        GTimeVal *timeout);
      |                                                        ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test-launch.c:23:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:21,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-pool.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-object.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:28,
                 from test-launch.c:25:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:151:56: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  151 |                                                        GstRTSPEvent *revents, GTimeVal *timeout);
      |                                                        ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test-launch.c:23:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:21,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-pool.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-object.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:28,
                 from test-launch.c:25:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:156:1: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  156 | GstRTSPResult      gst_rtsp_connection_next_timeout   (GstRTSPConnection *conn, GTimeVal *timeout);
      | ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test-launch.c:23:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp/gstrtsp.h:24,
                 from /usr/include/gstreamer-1.0/gst/rtsp/rtsp.h:27,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-media.h:21,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:58,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-pool.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-object.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:28,
                 from test-launch.c:25:
/usr/include/gstreamer-1.0/gst/rtsp/gstrtspconnection.h:328:55: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  328 |                                                       GTimeVal *timeout);
      |                                                       ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test-launch.c:23:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-pool.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-object.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:28,
                 from test-launch.c:25:
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:121:1: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  121 | gint                   gst_rtsp_session_next_timeout         (GstRTSPSession *session, GTimeVal *now);
      | ^~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test-launch.c:23:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
In file included from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session-pool.h:33,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server-object.h:32,
                 from /usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-server.h:28,
                 from test-launch.c:25:
/usr/include/gstreamer-1.0/gst/rtsp-server/rtsp-session.h:124:1: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
  124 | gboolean               gst_rtsp_session_is_expired           (GstRTSPSession *session, GTimeVal *now);
      | ^~~~~~~~
In file included from /usr/include/glib-2.0/glib/galloca.h:32,
                 from /usr/include/glib-2.0/glib.h:30,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from test-launch.c:23:
/usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here
  547 | struct _GTimeVal
      |        ^~~~~~~~~
test-launch.c: In function ‘main’:
test-launch.c:80:3: warning: implicit declaration of function ‘gst_rtsp_media_factory_set_enable_rtcp’; did you mean ‘gst_rtsp_media_factory_set_latency’? [-Wimplicit-function-declaration]
   80 |   gst_rtsp_media_factory_set_enable_rtcp (factory, !disable_rtcp);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |   gst_rtsp_media_factory_set_latency
/usr/bin/ld: /tmp/ccbkZ3nv.o: in function `main':
test-launch.c:(.text+0x170): undefined reference to `gst_rtsp_media_factory_set_enable_rtcp'
collect2: error: ld returned 1 exit status