You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i got the cam working, but after an recent update it does not work.
it says that gcc is the wrong version, but for me it looks like the same version.
here is the error
make -C /lib/modules/6.5.0-28-generic/build M=/home/cornelia/uvc modules
make[1]: Verzeichnis „/usr/src/linux-headers-6.5.0-28-generic“ wird betreten
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-1ubuntu122.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu122.04) 12.3.0
CC [M] /home/cornelia/uvc/uvc_driver.o
/home/cornelia/uvc/uvc_driver.c:2462:11: error: request for member ‘bInterfaceClass’ in something not a structure or union
2462 | .bInterfaceClass = USB_CLASS_VIDEO,
| ^
make[3]: *** [scripts/Makefile.build:251: /home/cornelia/uvc/uvc_driver.o] Fehler 1
make[2]: *** [/usr/src/linux-headers-6.5.0-28-generic/Makefile:2039: /home/cornelia/uvc] Fehler 2
make[1]: *** [Makefile:234: __sub-make] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-6.5.0-28-generic“ wird verlassen
make: *** [Makefile:10: all] Fehler 2
how can i installl the right gcc?
can you please help me?
andreas
The text was updated successfully, but these errors were encountered:
hi kvalme.
i got the cam working, but after an recent update it does not work.
it says that gcc is the wrong version, but for me it looks like the same version.
here is the error
make -C /lib/modules/6.5.0-28-generic/build M=/home/cornelia/uvc modules
make[1]: Verzeichnis „/usr/src/linux-headers-6.5.0-28-generic“ wird betreten
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.022.04) 12.3.0You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1
CC [M] /home/cornelia/uvc/uvc_driver.o
/home/cornelia/uvc/uvc_driver.c:2462:11: error: request for member ‘bInterfaceClass’ in something not a structure or union
2462 | .bInterfaceClass = USB_CLASS_VIDEO,
| ^
make[3]: *** [scripts/Makefile.build:251: /home/cornelia/uvc/uvc_driver.o] Fehler 1
make[2]: *** [/usr/src/linux-headers-6.5.0-28-generic/Makefile:2039: /home/cornelia/uvc] Fehler 2
make[1]: *** [Makefile:234: __sub-make] Fehler 2
make[1]: Verzeichnis „/usr/src/linux-headers-6.5.0-28-generic“ wird verlassen
make: *** [Makefile:10: all] Fehler 2
how can i installl the right gcc?
can you please help me?
andreas
The text was updated successfully, but these errors were encountered: