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 had the same problem and found the solution here:


Running this:

sudo depmod -ae
sudo modprobe v4l2loopback_dc

It is working for me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.