rosietastic
Member
- Joined
- Sep 15, 2014
- Messages
- 32
i am having fun trying to get Droidcam working on my Pyra.
it works fine on the same network with a browser (Vivaldi). with the cam running on an Android device.
i am trying to compile from source and have managed to create the turbojpeg library and droidcam-cli.
The client software installs fine (./install-client), but when i try to create the video piece (./installl-video) which should enable /dev/video0), i get the error as below. It looks like an architecture issue. but i am not sure what to do. Any help would be much appreciated. Anyone built droidcam ok?
rosie@zaphod:~/droidcam$ sudo ./install-video
Webcam parameters: '640' and '480'
Building v4l2loopback-dc.ko
make: Entering directory '/home/rosie/droidcam/v4l2loopback'
make -C /lib/modules/5.6.19-daveiii-pyradef-aufs/build M=/home/rosie/droidcam/v4l2loopback modules
make[1]: Entering directory '/usr/src/linux-headers-5.6.19-daveiii-pyradef-aufs'
CC [M] /home/rosie/droidcam/v4l2loopback/v4l2loopback-dc.o
/bin/sh: 1: scripts/basic/fixdep: Exec format error
make[2]: *** [scripts/Makefile.build:268: /home/rosie/droidcam/v4l2loopback/v4l2loopback-dc.o] Error 2
make[2]: *** Deleting file '/home/rosie/droidcam/v4l2loopback/v4l2loopback-dc.o'
make[1]: *** [Makefile:1695: /home/rosie/droidcam/v4l2loopback] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.6.19-daveiii-pyradef-aufs'
make: *** [Makefile:8: all] Error 2
make: Leaving directory '/home/rosie/droidcam/v4l2loopback'
Also. "file" gives this output on the fixdep file:
rosie@zaphod:~/droidcam$ file /usr/src/linux-headers-5.6.19-daveiii-pyradef-aufs/scripts/basic/fixdep
/usr/src/linux-headers-5.6.19-daveiii-pyradef-aufs/scripts/basic/fixdep: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=7d04e36eff6be20fda9163ffdc5e1a89adefb1e8, not stripped
Running droidcam-cli without the video build gives the predictable:
rosie@zaphod:~/droidcam$ ./droidcam-cli 192.168.0.19 4747
Error: Droidcam/v4l2loopback device not found (/dev/video[0-9]).
Did it install correctly?
If you had a kernel update, you may need to re-install.
it works fine on the same network with a browser (Vivaldi). with the cam running on an Android device.
i am trying to compile from source and have managed to create the turbojpeg library and droidcam-cli.
The client software installs fine (./install-client), but when i try to create the video piece (./installl-video) which should enable /dev/video0), i get the error as below. It looks like an architecture issue. but i am not sure what to do. Any help would be much appreciated. Anyone built droidcam ok?
rosie@zaphod:~/droidcam$ sudo ./install-video
Webcam parameters: '640' and '480'
Building v4l2loopback-dc.ko
make: Entering directory '/home/rosie/droidcam/v4l2loopback'
make -C /lib/modules/5.6.19-daveiii-pyradef-aufs/build M=/home/rosie/droidcam/v4l2loopback modules
make[1]: Entering directory '/usr/src/linux-headers-5.6.19-daveiii-pyradef-aufs'
CC [M] /home/rosie/droidcam/v4l2loopback/v4l2loopback-dc.o
/bin/sh: 1: scripts/basic/fixdep: Exec format error
make[2]: *** [scripts/Makefile.build:268: /home/rosie/droidcam/v4l2loopback/v4l2loopback-dc.o] Error 2
make[2]: *** Deleting file '/home/rosie/droidcam/v4l2loopback/v4l2loopback-dc.o'
make[1]: *** [Makefile:1695: /home/rosie/droidcam/v4l2loopback] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.6.19-daveiii-pyradef-aufs'
make: *** [Makefile:8: all] Error 2
make: Leaving directory '/home/rosie/droidcam/v4l2loopback'
Also. "file" gives this output on the fixdep file:
rosie@zaphod:~/droidcam$ file /usr/src/linux-headers-5.6.19-daveiii-pyradef-aufs/scripts/basic/fixdep
/usr/src/linux-headers-5.6.19-daveiii-pyradef-aufs/scripts/basic/fixdep: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=7d04e36eff6be20fda9163ffdc5e1a89adefb1e8, not stripped
Running droidcam-cli without the video build gives the predictable:
rosie@zaphod:~/droidcam$ ./droidcam-cli 192.168.0.19 4747
Error: Droidcam/v4l2loopback device not found (/dev/video[0-9]).
Did it install correctly?
If you had a kernel update, you may need to re-install.