fails to build on arch (undefined reference to `gst_webrtc_rtp_sender_set_priority')
$ git clone --depth=1 https://gitlab.freedesktop.org/gstreamer/gst-examples.git
$ cd gst-examples/
$ git log --oneline
f8cbae9 (grafted, HEAD -> master, origin/master, origin/HEAD) sendrecv: Implement remote-offerer option for JS example
$ meson _builddir
The Meson build system
Version: 0.57.1
Source dir: /code/gst-examples
Build dir: /code/gst-examples/_builddir
Build type: native build
Project name: gst-examples
Project version: 1.19.0.1
C compiler for the host machine: cc (gcc 10.2.0 "cc (GCC) 10.2.0")
C linker for the host machine: cc ld.bfd 2.36.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Library m found: YES
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Run-time dependency glib-2.0 found: YES 2.66.7
Run-time dependency gio-2.0 found: YES 2.66.7
Run-time dependency gobject-2.0 found: YES 2.66.7
Run-time dependency gmodule-2.0 found: YES 2.66.7
Run-time dependency gstreamer-1.0 found: YES 1.18.3
Run-time dependency gstreamer-player-1.0 found: YES 1.18.3
Run-time dependency gstreamer-tag-1.0 found: YES 1.18.3
Run-time dependency gstreamer-webrtc-1.0 found: YES 1.18.3
Dependency gstreamer-webrtc-1.0 found: YES 1.18.3 (cached)
Run-time dependency gtk+-3.0 found: YES 3.24.26
Run-time dependency x11 found: YES 1.7.0
Found pkg-config: /usr/bin/pkg-config (1.7.3)
Program glib-compile-resources found: YES (/usr/bin/glib-compile-resources)
Run-time dependency gstreamer-sdp-1.0 found: YES 1.18.3
Run-time dependency libsoup-2.4 found: YES 2.72.0
Run-time dependency json-glib-1.0 found: YES 1.6.2
Program openssl found: YES (/usr/bin/openssl)
Program generate_cert.sh found: YES (/code/gst-examples/webrtc/signalling/generate_cert.sh)
Program configure_test_check.py found: YES (/usr/bin/python /code/gst-examples/webrtc/check/configure_test_check.py)
Build targets in project: 10
Found ninja-1.10.2 at /usr/bin/ninja
$ ninja -C _builddir
ninja: Entering directory `_builddir'
[12/19] Compiling C object webrtc/sendonly/webrtc-unidirectional-h264.p/webrtc-unidirectional-h264.c.o
../webrtc/sendonly/webrtc-unidirectional-h264.c: In function ‘create_receiver_entry’:
../webrtc/sendonly/webrtc-unidirectional-h264.c:268:7: warning: implicit declaration of function ‘gst_webrtc_rtp_sender_set_priority’; did you mean ‘gst_webrtc_rtp_sender_set_transport’? [-Wimplicit-function-declaration]
268 | gst_webrtc_rtp_sender_set_priority (trans->sender, priority);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gst_webrtc_rtp_sender_set_transport
[15/19] Linking target webrtc/sendonly/webrtc-unidirectional-h264
FAILED: webrtc/sendonly/webrtc-unidirectional-h264
cc -o webrtc/sendonly/webrtc-unidirectional-h264 webrtc/sendonly/webrtc-unidirectional-h264.p/webrtc-unidirectional-h264.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,--start-group /usr/lib/libgstreamer-1.0.so /usr/lib/libgobject-2.0.so /usr/lib/libglib-2.0.so /usr/lib/libgstsdp-1.0.so /usr/lib/libgstrtp-1.0.so /usr/lib/libgstbase-1.0.so /usr/lib/libgstwebrtc-1.0.so /usr/lib/libsoup-2.4.so /usr/lib/libgio-2.0.so /usr/lib/libjson-glib-1.0.so -Wl,--end-group
/usr/bin/ld: webrtc/sendonly/webrtc-unidirectional-h264.p/webrtc-unidirectional-h264.c.o: in function `create_receiver_entry':
/code/gst-examples/_builddir/../webrtc/sendonly/webrtc-unidirectional-h264.c:268: undefined reference to `gst_webrtc_rtp_sender_set_priority'
/usr/bin/ld: /code/gst-examples/_builddir/../webrtc/sendonly/webrtc-unidirectional-h264.c:277: undefined reference to `gst_webrtc_rtp_sender_set_priority'
collect2: error: ld returned 1 exit status
[18/19] Compiling C object playback/player/gtk/gtk-play.p/gtk-play.c.o
ninja: build stopped: subcommand failed.
Edited by bill auger