Newest kernel update (6.5.0-14-generic) seems to have broken both approaches (yours and https://github.com/Kvalme/uvc)
While trying to compile I get this:
make -C /lib/modules/6.5.0-14-generic/build M=/home/pedro/uvc modules
make[1]: Entering directory '/usr/src/linux-headers-6.5.0-14-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04) 12.3.0
You are using:
CC [M] /home/pedro/uvc/uvc_driver.o
/bin/sh: 1: gcc-12: not found
make[3]: *** [scripts/Makefile.build:251: /home/pedro/uvc/uvc_driver.o] Error 127
make[2]: *** [/usr/src/linux-headers-6.5.0-14-generic/Makefile:2037: /home/pedro/uvc] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-6.5.0-14-generic'
make: *** [Makefile:10: all] Error 2
It was working fine up until that last kernel update. Any idea on a possible fix?
@giuliano69,
Newest kernel update (6.5.0-14-generic) seems to have broken both approaches (yours and https:/ /github. com/Kvalme/ uvc)
While trying to compile I get this:
make -C /lib/modules/ 6.5.0-14- generic/ build M=/home/pedro/uvc modules linux-headers- 6.5.0-14- generic' linux-gnu- gcc-12 (Ubuntu 12.3.0- 1ubuntu1~ 22.04) 12.3.0 uvc/uvc_ driver. o Makefile. build:251: /home/pedro/ uvc/uvc_ driver. o] Error 127 linux-headers- 6.5.0-14- generic/ Makefile: 2037: /home/pedro/uvc] Error 2 linux-headers- 6.5.0-14- generic'
make[1]: Entering directory '/usr/src/
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-
You are using:
CC [M] /home/pedro/
/bin/sh: 1: gcc-12: not found
make[3]: *** [scripts/
make[2]: *** [/usr/src/
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: Leaving directory '/usr/src/
make: *** [Makefile:10: all] Error 2
It was working fine up until that last kernel update. Any idea on a possible fix?