Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error for target sys/rpicamsrc/libgstrpicamsrc.so #1

Open
Roboteer1000 opened this issue Aug 24, 2021 · 3 comments
Open

Build error for target sys/rpicamsrc/libgstrpicamsrc.so #1

Roboteer1000 opened this issue Aug 24, 2021 · 3 comments

Comments

@Roboteer1000
Copy link

Roboteer1000 commented Aug 24, 2021

I was at the "ninja -j4" step for the Plugins-Good and I got an error as shown below:
$ ~/gst-plugins-good-1.18.4/build $ ninja -j4
[329/714] Compiling C object gst/rtpmanager/libgstrtpmanager.so.p/rtpjitterbuffer.c.o
../gst/rtpmanager/rtpjitterbuffer.c: In function ‘rtp_jitter_buffer_append_event’:
../gst/rtpmanager/rtpjitterbuffer.c:1138:10: warning: ‘head’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return head;
^~~~
../gst/rtpmanager/rtpjitterbuffer.c: In function ‘rtp_jitter_buffer_append_query’:
../gst/rtpmanager/rtpjitterbuffer.c:1158:10: warning: ‘head’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return head;
^~~~
[406/714] Linking target sys/rpicamsrc/libgstrpicamsrc.so
FAILED: sys/rpicamsrc/libgstrpicamsrc.so

c++ -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 -Wl,-O1 -shared -fPIC -Wl,--start-group -Wl,-soname,libgstrpicamsrc.so -Wl,--no-as-needed /usr/lib/aarch64-linux-gnu/libgstreamer-1.0.so /usr/lib/aarch64-linux-gnu/libgobject-2.0.so /usr/lib/aarch64-linux-gnu/libglib-2.0.so /usr/lib/aarch64-linux-gnu/libgstbase-1.0.so /usr/lib/aarch64-linux-gnu/libgstvideo-1.0.so -pthread -lrt /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/libvchiq_arm.so /opt/vc/lib/libbcm_host.so -Wl,--end-group -Wl,-rpath,/opt/vc/lib -Wl,-rpath-link,/opt/vc/lib
/usr/bin/ld: /opt/vc/lib/libmmal_core.so: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
[409/714] Compiling C object sys/v4l2/libgstvideo4linux2.so.p/gstv4l2object.c.o
ninja: build stopped: subcommand failed.

Thank you

@Qengineering
Copy link
Owner

Working on your issue. Consumes somewhat more time.

@Qengineering
Copy link
Owner

It probably comes as a disappointment, but I couldn't find a bug or problem in the installation guide. Gstreamer 1.18.4 was installed flawlessly on a Raspberry Pi 4 32-bit OS and multiple times on a Raspberry Pi 4 64-bit OS. The Core, Base, Good, Bad and Ugly are all easy to install. Have to say, I used a clean OS. No other software installed, except the operating system.
The question remains what the cause of your problem is. All I can think of is some interference with existing software on your Pi. I couldn't reproduce your error no matter what I tried.

@Qengineering
Copy link
Owner

By the way, rpicamsrc is a 32-bit source. It is not available on the 64-bit version of Gstreamer. When a 64-bit installation asks for this module, there is something serious wrong. Probably mixing the 32 with the 64 installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants