I've been trying to install Droidcam on my Ubuntu 18.04 and I've encountered an error I can't solve:
root@homelab:/tmp/droidcam-64bit# sudo ./install
Webcam parameters: '640' and '480'
Building v4l2loopback-dc.ko
make: Entering directory '/tmp/droidcam-64bit/v4l2loopback'
make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory '/usr/src/linux-headers-4.18.0-15-generic'
Makefile:970: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
CC [M] /tmp/droidcam-64bit/v4l2loopback/v4l2loopback-dc.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/droidcam-64bit/v4l2loopback/v4l2loopback-dc.mod.o
LD [M] /tmp/droidcam-64bit/v4l2loopback/v4l2loopback-dc.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.18.0-15-generic'
make: Leaving directory '/tmp/droidcam-64bit/v4l2loopback'
Moving driver and executable to system folders
Registering webcam device
insmod: ERROR: could not insert module /lib/modules/4.18.0-15-generic/kernel/drivers/media/video/v4l2loopback-dc.ko: Unknown symbol in module
Since my microphone doesn't work I am mainly using Droidcam to emulate a mic on my linux machine using my phone. I don't need the webcam capabillities either, so if I could just create a fake device I'd be happy. I just need to stream my audio through my phone to my linux machine. If I try to open Droidcam right now, I'm getting the following error: Device not found (/dev/video[0-9]). Did you install it?
Your help would be much appreciated :) Also, here's the tutorial I followed to install Droidcam (it's the official website).
I faced similar problem but in a bit different scenario. I was running already installed Droidcam on Ubuntu and saw this error. It was caused due to a lost video device which happened after kernel update.
So that, I uninstalled Droidcam-
Then reinstalled it following this procedure.
The problem was solved afterwards.
I had the same problem and found the solution here:
https://stackoverflow.com/questions/34800731/module-not-found-when-i-do-a-modprobe
Running this:
It is working for me.
Just tried to use droid cam and hit same bugs. What got me going was to first install standard loopback camera from apt.
doing install prompt for the MOK password. Then reboot and get another prompt about MOK password. Don't skip the password.
After that, I did the droid cam instructions again from the link above and the module was no more error.
I had usb debuggin on the old alcatel phone and I can find it in cheese program camera list. Here is the firs picture.
Now need to see about the resolution. onlye seeing 640x480 in the list of cheese settings.
install/update script
I have solved this problem just now, and if you have a Secure Boot enabled you might wanna uninstall the droidcam first then run this command
then reboot you should see the Mok Manager then proceed to enroll key and sign it and continue booting up then re-install the droidcam