Open zsinba opened 4 years ago
Hi,
The armv7 binary is compiled with https://sourceforge.net/projects/raspberry-pi-cross-compilers/files/Raspberry%20Pi%20GCC%20Cross-Compiler%20Toolchains/Buster/GCC%209.2.0/Raspberry%20Pi%202%2C%203/cross-gcc-9.2.0-pi_2-3.tar.gz toolchain.
It produce an executable that can run on raspberry pi and nano pi, maybe others platform that are binary compatible.
You probably need to compile with the toolchain of your board.
Best Regards, Michel.
root@OpenWrt:~/webrtcstreamer# ldd webrtc-streamer
/lib/ld-linux-armhf.so.3 (0xb6eba000)
libdl.so.2 => /lib/ld-linux-armhf.so.3 (0xb6eba000)
libm.so.6 => /lib/ld-linux-armhf.so.3 (0xb6eba000)
libpthread.so.0 => /lib/ld-linux-armhf.so.3 (0xb6eba000)
libc.so.6 => /lib/ld-linux-armhf.so.3 (0xb6eba000)
Error loading shared library ld-linux-armhf.so.3: No such file or directory (needed by webrtc-streamer)
Error relocating webrtc-streamer: __memcpy_chk: symbol not found
Error relocating webrtc-streamer: __longjmp_chk: symbol not found
Error relocating webrtc-streamer: __isinf: symbol not found
Error relocating webrtc-streamer: __vsnprintf_chk: symbol not found
Error relocating webrtc-streamer: __fprintf_chk: symbol not found
Error relocating webrtc-streamer: __strftime_l: symbol not found
Error relocating webrtc-streamer: __fdelt_chk: symbol not found
Error relocating webrtc-streamer: __isnan: symbol not found
Error relocating webrtc-streamer: fcntl64: symbol not found
Error relocating webrtc-streamer: __sprintf_chk: symbol not found
root@OpenWrt:~/webrtcstreamer# ./webrtc-streamer
-ash: ./webrtc-streamer: not fo
coud you please support openwrt verson?
The loader seems different from the raspberry one or the libc is not the same.
Did you tried to build with the toolchain corresponding to your plateform ?
I still don't know how to compile. I am still looking at how to compile into openwrt. I'm still looking for information, can you help?
Hi,
I guess you have 2 options either build an executable using openwrt build mechanism or build an executable in another way that is compatible with the openwrt runtime. You may find information about openwrt https://openwrt.org/docs/guide-developer/packages
Best Regards, Michel.
谢谢,我试一下。
然而并没有成功。 希望作者能出Openwrt版本的。
Describe the bug A clear and concise description of what the bug is. I can't run it in the openwrt. it is a arm7 (ARMv7 Processor rev 5 (v7l) x 4) I got the response when run it: root@OpenWrt:~/webrtc-streamer-v0.2.6-Linux-armv7l-Release# ./webrtc-streamer -ash: ./webrtc-streamer: not foun
To Reproduce Steps to reproduce the behavior:
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.![image](https://user-images.githubusercontent.com/890157/78974305-4abb4180-7b44-11ea-99a8-6403c80d4b07.png)
Desktop (please complete the following information):
Smartphone (please complete the following information):
Device: [e.g. iPhone6]
Openwrt Arm7 OpenWrt R9.12.03 / LuCI Master (git-19.338.43082-9e87e69)
Additional context Add any other context about the problem here.