I had the same problem while installing dkms module. I reverted default gcc and g++ compiler back to gcc-5 from gcc-4.7 and after that all works fine.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1581804 Title: v4l2loopback-dkms 0.9.1-4: v4l2loopback kernel module failed to build [error: code model kernel does not support PIC mode] To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/v4l2loopback/+bug/1581804/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs