Trying to install to 3.x kernel module fails due to incompatibility with newer Linux kernels:
/var/lib/dkms/jool/3.5.7/build/mod/stateful/bib/db.c: In function ‘log_bib’:
/var/lib/dkms/jool/3.5.7/build/mod/stateful/bib/db.c:501:2: error: implicit declaration of function ‘do_gettimeofday’; did you mean ‘do_settimeofday64’? [-Werror=implicit-function-declaration]
501 | do_gettimeofday(&tval);
| ^~~~~~~~~~~~~~~
| do_settimeofday64
/var/lib/dkms/jool/3.5.7/build/mod/stateful/pool4/rfc6056.c: In function ‘rfc6056_f’:
/var/lib/dkms/jool/3.5.7/build/mod/stateful/pool4/rfc6056.c:100:6: error: ‘struct shash_desc’ has no member named ‘flags’
100 | desc->flags = 0;
| ^~
/var/lib/dkms/jool/3.5.7/build/mod/stateful/pool4/empty.c: In function ‘contains_addr’:
/var/lib/dkms/jool/3.5.7/build/mod/stateful/pool4/empty.c:20:3: error: implicit declaration of function ‘for_primary_ifa’ [-Werror=implicit-function-declaration]
20 | for_primary_ifa(in_dev) {
| ^~~~~~~~~~~~~~~
/var/lib/dkms/jool/3.5.7/build/mod/stateful/pool4/empty.c:20:26: error: expected ‘;’ before ‘{’ token
20 | for_primary_ifa(in_dev) {
| ^~
| ;
/var/lib/dkms/jool/3.5.7/build/mod/stateful/bib/db.c:502:2: error: implicit declaration of function ‘time_to_tm’; did you mean ‘time64_to_tm’? [-Werror=implicit-function-declaration]
502 | time_to_tm(tval.tv_sec, 0, &t);
| ^~~~~~~~~~
| time64_to_tm
Trying to install to 3.x kernel module fails due to incompatibility with newer Linux kernels:
Semi-related links: https://github.com/NICMx/Jool/issues/283 https://github.com/openwrt/packages/pull/7176