Comment 115 for bug 2000947

Revision history for this message
ivuser (ivuser12) wrote (last edit ):

I used compile_module.sh from #110 and got message: "cp: cannot stat 'uvcvideo.ko': No such file or directory".
I have Acer Nitro 5 AN515-57 and same problem happened when executing post #19.

This is whole problem:

make: Entering directory '/usr/src/linux-headers-6.2.0-37-generic'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
  You are using: gcc-11 (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
scripts/Makefile.build:41: /home/$(uname -r)/Makefile: No such file or directory
make[1]: *** No rule to make target '/home/$(uname -r)/Makefile'. Stop.
make: *** [Makefile:2026: /home/$(uname -r)] Error 2
make: Leaving directory '/usr/src/linux-headers-6.2.0-37-generic'
cp: cannot stat 'uvcvideo.ko': No such file or directory

What should I do?