compile regression: undefined reference to g_hash_table_steal_extended
Since commit 2faeb7d3 (!728 (merged)), on Ubuntu Xenial and Bionic:
08:55:25,945 INFO - [722/759] cc -o tests/examples/compositor/signals 'tests/examples/compositor/8f0d26f@@signals@exe/signals.c.o' -L/opt/media/install/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-Bsymbolic-functions -g3 -Wl,--start-group /opt/media/install/lib/libgstreamer-1.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so /opt/media/install/lib/libgstbase-1.0.so -Wl,--end-group
08:55:25,945 INFO - FAILED: tests/examples/compositor/signals
08:55:25,945 INFO - cc -o tests/examples/compositor/signals 'tests/examples/compositor/8f0d26f@@signals@exe/signals.c.o' -L/opt/media/install/lib -Wl,--as-needed -Wl,--no-undefined -Wl,-Bsymbolic-functions -g3 -Wl,--start-group /opt/media/install/lib/libgstreamer-1.0.so /usr/lib/x86_64-linux-gnu/libgobject-2.0.so /usr/lib/x86_64-linux-gnu/libglib-2.0.so /opt/media/install/lib/libgstbase-1.0.so -Wl,--end-group
08:55:25,945 INFO - tests/examples/compositor/8f0d26f@@signals@exe/signals.c.o: In function `pad_buffer_consumed_cb':
08:55:25,945 INFO - /opt/media/build/gst-plugins-base/__meson_build/../tests/examples/compositor/signals.c:77: undefined reference to `g_hash_table_steal_extended'
08:55:25,945 INFO - tests/examples/compositor/8f0d26f@@signals@exe/signals.c.o: In function `check_aggregated_buffer':
08:55:25,945 INFO - /opt/media/build/gst-plugins-base/__meson_build/../tests/examples/compositor/signals.c:38: undefined reference to `g_hash_table_steal_extended'
08:55:25,945 INFO - collect2: error: ld returned 1 exit status
It compiles fine on Ubuntu Focal, Ubuntu Eoan, Fedora 31 and Fedora 32.
Edited by U. Artie Eoff