rpicamsrc 1.18.3 failed
Unable to compile rpicamsrc element on Raspbian Buster.libraspberrypi-dev installed from repository. Another person experiencing simillar issue. http://gstreamer-devel.966125.n4.nabble.com/Problems-building-current-GStreamer-on-Raspberry-Pi-2B-td4696280.html
Compilation yields following error:
[1/308] Linking target sys/rpicamsrc/libgstrpicamsrc.so
FAILED: sys/rpicamsrc/libgstrpicamsrc.so
cc -o sys/rpicamsrc/libgstrpicamsrc.so sys/rpicamsrc/libgstrpicamsrc.so.p/meson-generated_.._gstrpicam-enum-types.c.o sys/rpicamsrc/libgstrpicamsrc.so.p/gstrpicamsrc.c.o sys/rpicamsrc/libgstrpicamsrc.so.p/gstrpicamsrcdeviceprovider.c.o sys/rpicamsrc/libgstrpicamsrc.so.p/RaspiCapture.c.o sys/rpicamsrc/libgstrpicamsrc.so.p/RaspiCamControl.c.o sys/rpicamsrc/libgstrpicamsrc.so.p/RaspiPreview.c.o sys/rpicamsrc/libgstrpicamsrc.so.p/RaspiCLI.c.o -Wl,--no-undefined -shared -fPIC -Wl,--start-group -Wl,-soname,libgstrpicamsrc.so -Wl,-Bsymbolic-functions -Wl,-rpath,/opt/vc/lib -Wl,-rpath-link,/opt/vc/lib -Wl,--no-as-needed /usr/local/lib/arm-linux-gnueabihf/libgstreamer-1.0.so /usr/lib/arm-linux-gnueabihf/libgobject-2.0.so /usr/lib/arm-linux-gnueabihf/libglib-2.0.so /usr/local/lib/arm-linux-gnueabihf/libgstbase-1.0.so /usr/local/lib/arm-linux-gnueabihf/libgstvideo-1.0.so /opt/vc/lib/libmmal_core.so /opt/vc/lib/libmmal_util.so /opt/vc/lib/libmmal_vc_client.so /opt/vc/lib/libvcos.so /opt/vc/lib/libvchostif.a /opt/vc/lib/libbcm_host.so -Wl,--end-group
/usr/bin/ld: /opt/vc/lib/libvchostif.a(vc_vchi_gencmd.c.o): in function `gencmd_callback':
vc_vchi_gencmd.c:(.text+0x34): undefined reference to `sem_getvalue'
/usr/bin/ld: vc_vchi_gencmd.c:(.text+0x60): undefined reference to `sem_post'
/usr/bin/ld: /opt/vc/lib/libvchostif.a(vc_vchi_gencmd.c.o): in function `use_gencmd_service':
vc_vchi_gencmd.c:(.text+0xb4): undefined reference to `vchi_service_use'
/usr/bin/ld: /opt/vc/lib/libvchostif.a(vc_vchi_gencmd.c.o): in function `release_gencmd_service':
vc_vchi_gencmd.c:(.text+0x128): undefined reference to `vchi_service_release'
/usr/bin/ld: /opt/vc/lib/libvchostif.a(vc_vchi_gencmd.c.o): in function `vc_vchi_gencmd_init':
vc_vchi_gencmd.c:(.text+0x1d8): undefined reference to `sem_init'
/usr/bin/ld: vc_vchi_gencmd.c:(.text+0x298): undefined reference to `vchi_service_open'
/usr/bin/ld: vc_vchi_gencmd.c:(.text+0x2e4): undefined reference to `sem_destroy'
/usr/bin/ld: /opt/vc/lib/libvchostif.a(vc_vchi_gencmd.c.o): in function `vc_gencmd_stop':
vc_vchi_gencmd.c:(.text+0x350): undefined reference to `vchi_service_close'
/usr/bin/ld: vc_vchi_gencmd.c:(.text+0x398): undefined reference to `sem_destroy'
/usr/bin/ld: /opt/vc/lib/libvchostif.a(vc_vchi_gencmd.c.o): in function `vc_gencmd_send_list':
vc_vchi_gencmd.c:(.text+0x47c): undefined reference to `vchi_msg_queue'
/usr/bin/ld: /opt/vc/lib/libvchostif.a(vc_vchi_gencmd.c.o): in function `vc_gencmd_read_response':
vc_vchi_gencmd.c:(.text+0x594): undefined reference to `vchi_msg_dequeue'
/usr/bin/ld: vc_vchi_gencmd.c:(.text+0x5c0): undefined reference to `sem_wait'
collect2: error: ld returned 1 exit status
[6/308] Compiling C object sys/v4l2/libgstvideo4linux2.so.p/gstv4l2videodec.c.o
ninja: build stopped: subcommand failed.
Edited by Tim-Philipp Müller