make: Entering directory '/usr/src/linux-headers-6.2.0-33-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/souvik/Makefile: No such file or directory
make[1]: *** No rule to make target '/home/souvik/Makefile'. Stop.
make: *** [Makefile:2026: /home/souvik] Error 2
make: Leaving directory '/usr/src/linux-headers-6.2.0-33-generic'
cp: cannot stat 'uvcvideo.ko': No such file or directory
make: Entering directory '/usr/src/ linux-headers- 6.2.0-33- generic' linux-gnu- gcc-11 (Ubuntu 11.4.0- 1ubuntu1~ 22.04) 11.4.0 1ubuntu1~ 22.04) 11.4.0 Makefile. build:41: /home/souvik/ Makefile: No such file or directory souvik/ Makefile' . Stop. linux-headers- 6.2.0-33- generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-
You are using: gcc-11 (Ubuntu 11.4.0-
scripts/
make[1]: *** No rule to make target '/home/
make: *** [Makefile:2026: /home/souvik] Error 2
make: Leaving directory '/usr/src/
cp: cannot stat 'uvcvideo.ko': No such file or directory
This error while running your script @giuliano69