Open jlnhab opened 1 year ago
What is the bitness of your system (32/64-bit)? Does it work if you compile using PhreakScript? https://github.com/InterLinked1/phreakscript
64 bit No, I didn't. I maintained a working source until now, but I can't find the definition to correct it.
@jlnhab This could be due to https://github.com/torvalds/linux/commit/2a81ada32f0e584fc0c943e0d3a8c9f4fae411d6. 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. Thanks for your help.
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, | ^
~~~