-
Notifications
You must be signed in to change notification settings - Fork 71
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
Can't compile under fedora with 6.3.4 kernel #20
Comments
What is the bitness of your system (32/64-bit)? |
64 bit |
@jlnhab This could be due to torvalds/linux@2a81ada. Can you please try my patch at #21. Basically, struct bus_type.uevent() now takes a const *. |
I applied it and I still have errors. |
Is this still an issue for you? I just tested with Fedora 40 using kernel 6.8.5, and I don't run into this build issue. The fix that listout pointed out was also merged in d7bbc8a |
CC [M] /usr/src/phones/dahdi-linux/drivers/dahdi/xpp/xbus-sysfs.o /usr/src/phones/dahdi-linux/drivers/dahdi/xpp/xbus-sysfs.c:467:19: error: initialization of Ç int (*)(const struct device *, struct kobj_uevent_env *) Ç from incompatible pointer type Ç int (*)(struct device *, struct kobj_uevent_env *) Ç [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Werror=incompatible-pointer-types8;;] 467 | .uevent = astribank_uevent, | ^~~~~~~~~~~~~~~~
The text was updated successfully, but these errors were encountered: