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
kmod-ipt-coova: Fails to build with /src/linux/xt_coova.c:332:11: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]. #5
when I try to build kmod-ipt-coova from the HandsomeMod/packages feed, it fails with /src/linux/xt_coova.c:332:11: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types].
After a failing make -j6, here the terminal output of make -j1 V=sc package/feeds/packages/coova-chilli/compile:
[...]
CC [M] /[...]/build_dir/target-aarch64_cortex-a53+neon_musl/coova-chilli-1.5/src/linux/xt_coova.o
/[...]/build_dir/target-aarch64_cortex-a53+neon_musl/coova-chilli-1.5/src/linux/xt_coova.c: In function 'coova_mt_check':
/[...]/build_dir/target-aarch64_cortex-a53+neon_musl/coova-chilli-1.5/src/linux/xt_coova.c:332:11: error: passing argument 4 of 'proc_create_data' from incompatible pointer type [-Werror=incompatible-pointer-types]
&coova_mt_fops, t);
^~~~~~~~~~~~~~
In file included from /[...]/build_dir/target-aarch64_cortex-a53+neon_musl/coova-chilli-1.5/src/linux/xt_coova.c:23:
./include/linux/proc_fs.h:104:31: note: expected 'const struct proc_ops *' but argument is of type 'const struct file_operations *'
extern struct proc_dir_entry *proc_create_data(const char *, umode_t,
^~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[8]: *** [scripts/Makefile.build:279: /[...]/build_dir/target-aarch64_cortex-a53+neon_musl/coova-chilli-1.5/src/linux/xt_coova.o] Error 1
[...]