Comment 123 for bug 2000947

Revision history for this message
Pedro Tibúrcio Pires de Oliveira (pedrotpo) wrote :

@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
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?