Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

again gcc-error #4

Open
judgeace opened this issue May 7, 2024 · 1 comment
Open

again gcc-error #4

judgeace opened this issue May 7, 2024 · 1 comment

Comments

@judgeace
Copy link

judgeace commented May 7, 2024

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-1ubuntu122.04) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1
22.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

@judgeace
Copy link
Author

judgeace commented May 7, 2024

sorry, made a mistake in the uvc_driver file.

after a new try it worked again.

issue closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant