-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module not found after make install #238
Comments
please, pretty please, use a meaningful title ("does not work" is not meaningful, neither is "found a bug"; "following" is meaningless when you look at the list of issues, "last update of kernel" means something totally different for you (who is running anyhow: I am not sure whether the error you see is really an error. there have been reports of similar "issues" (e.g. #230) and all of them turned out to be some intermediate glitches that resolved to warnings in the end. If you indeed experience an error, the last line of the output you receive from make: *** [Makefile:47: install] Error 2 If the last line does not indicate an error, most likely there is none. and you succeeded to |
After : modprobe v4l2loopback in terminal |
please run:
and paste the full output you get, including the command you run (at the beginning) and the cmdline-prompt (at the end). |
~$ cd v4l2loopback
~/v4l2loopback$ sudo make install V=1; echo $?
make -C /lib/modules/`uname -r`/build M=/home/corinnes/v4l2loopback modules_install
make[1] : on entre dans le répertoire « /usr/src/linux-headers-4.15.0-65-generic »
test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \
echo >&2; \
echo >&2 " ERROR: Kernel configuration is invalid."; \
echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo >&2 ; \
/bin/false)
mkdir -p /lib/modules/4.15.0-65-generic/extra
make -f ./scripts/Makefile.modinst
mkdir -p /lib/modules/4.15.0-65-generic/extra ; cp /home/corinnes/v4l2loopback/v4l2loopback.ko /lib/modules/4.15.0-65-generic/extra ; true /lib/modules/4.15.0-65-generic/extra/v4l2loopback.ko ; if (echo "/lib/modules/4.15.0-65-generic/extra/v4l2loopback.ko" | egrep -q "\/drivers\/staging\/") && [ -f ./drivers/staging/signature-inclusion ] && (! egrep -x "v4l2loopback.ko" ./drivers/staging/signature-inclusion) ; then echo Not signing "/lib/modules/4.15.0-65-generic/extra/v4l2loopback.ko"; else scripts/sign-file "sha512" "certs/signing_key.pem" certs/signing_key.x509 /lib/modules/4.15.0-65-generic/extra/v4l2loopback.ko || true && true /lib/modules/4.15.0-65-generic/extra/v4l2loopback.ko; fi
At main.c:160:
- SSL error:02001002:system library:fopen:No such file or directory: ../crypto/bio/bss_file.c:72
- SSL error:2006D080:BIO routines:BIO_new_file:no such file: ../crypto/bio/bss_file.c:79
sign-file: certs/signing_key.pem: No such file or directory
/bin/bash ./scripts/depmod.sh /sbin/depmod 4.15.0-65-generic ""
make[1] : on quitte le répertoire « /usr/src/linux-headers-4.15.0-65-generic »
0 |
PS : Sorry about name and so on, I am only a normal human ! A Muggle ! |
so according to the output, both the compilation and the installation succeed and the module is copied to then run then run if it still cannot find the module, try running |
with this directory i really meant the anyhow, your trace clearly shows that suddenly the module can be found (see the third-last line in the trace, the one containing a successfull That might have multiple reasons, but I'd like to stress that all of these reasons are due to your system setup, and not related to (or fixable by) The obvious fix is to make sure that you properly re-compile: make clean
make
sudo make install
sudo modprobe v4l2loopback make sure that |
so did that fix the issue? |
I was not at office today, and tomorrow it will be the same. I will look at that friday, as I don't want to do it quickly, I have to concentrate. Thanks for asking. If it is ok, I will inform you of course. |
I did "make clean", I have "make: *** Aucune règle pour fabriquer la cible « clean ». Arrêt. |
where did you run |
On the terminal. |
nah. i meant "in which directory". if you have no rule for " clean", then i think you are running that command in the wrong directory. |
OK, I did not understand I have to be in the directory from v4l2loopback
Make :
And it still don't work with obs and no virtual cam : |
i'm about 99% sure that this problem is not related to since you are using ubuntu, why don't you just install the
this should install all the relevant packages for building kernel modules, and build and install them. if the above still fails to produce usable kernel modules, try installing another dkms-package (e.g. if everything works and only |
sudo depmod -a
|
see #237
I did previously make install and it was working until the new kernel.
I redo it and it gave that :
The text was updated successfully, but these errors were encountered: