I got the following errror when running make:
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.2) 12.3.0
You are using: gcc-12 (Ubuntu 12.3.0-1ubuntu1~22.04.2) 12.3.0
CC [M] platform/platform_ops.o
platform/platform_ops.c:15:10: fatal error: drv_types.h: Datei oder Verzeichnis nicht gefunden
15 | #include <drv_types.h>
| ^~~~~~~~~~~~~
compilation terminated.
I did some research and found these similar issues:
https://github.com/morrownr/rtl8852cu-20240510/issues/29
Seems like the kernel-update from 6.14 to 6.15 introduced breaking changes that introduce this error:
https://github.com/morrownr/rtl8852cu-20240510/issues/29#issuecomment-2964329358
In the above issue the maintainer states to have fixed it for that driver, so it might be a helpful starting point for a fix.
Is there anyone who could have a look at this and provide a fix/patch?
Update: I think i managed to run with 6.14 kernel (although not entirely sure, since i used this approach: https://community.learnlinux.tv/t/rollback-kernel/1987/4 and uname -r shows 6.17 which i suppose is the symlink)
It still doesn't run make. So it may be something different.
Also: Same Issue on Ubuntu Forums with Kernel 6.14 (no fix unfortunately):
https://discourse.ubuntu.com/t/installing-realtek-wireless-driver-kernel-6-14-0-13/58705
I tried the proposed solutions in the above issue too, though.
And i found a debian package with a very similar (or same?) driver which provided similar errors (not this exact one, but some that happened when i changed the #include to "home/user/include/drv_types.h"
https://www.tendacn.com/material/show/105769
I got the following errror when running make:
I did some research and found these similar issues:
https://github.com/morrownr/rtl8852cu-20240510/issues/29
Seems like the kernel-update from 6.14 to 6.15 introduced breaking changes that introduce this error:
https://github.com/morrownr/rtl8852cu-20240510/issues/29#issuecomment-2964329358
In the above issue the maintainer states to have fixed it for that driver, so it might be a helpful starting point for a fix.
Is there anyone who could have a look at this and provide a fix/patch?
Update: I think i managed to run with 6.14 kernel (although not entirely sure, since i used this approach: https://community.learnlinux.tv/t/rollback-kernel/1987/4 and uname -r shows 6.17 which i suppose is the symlink)
It still doesn't run make. So it may be something different.
Also: Same Issue on Ubuntu Forums with Kernel 6.14 (no fix unfortunately):
https://discourse.ubuntu.com/t/installing-realtek-wireless-driver-kernel-6-14-0-13/58705
I tried the proposed solutions in the above issue too, though.
And i found a debian package with a very similar (or same?) driver which provided similar errors (not this exact one, but some that happened when i changed the #include to "home/user/include/drv_types.h"
https://www.tendacn.com/material/show/105769