NICMx / Jool

SIIT and NAT64 for Linux
GNU General Public License v2.0
331 stars 66 forks source link

Build error on RHEL 9 / Rocky linux 9 #395

Closed petrkr closed 1 year ago

petrkr commented 1 year ago

Seems like similar problem as #379 but since RHEL uses kernel version 5.14 so that makros LINUX_VERSION_LOWER_THAN and LINUX_VERSION_AT_LEAST are not evaluated correctly...

Do not know what are right values to there, but if I comment out that makros, then it can compile just fine

/var/lib/dkms/jool/4.1.8/build/src/mod/common/rfc7915/4to6.c: In function ‘allocate_fast’:
/var/lib/dkms/jool/4.1.8/build/src/mod/common/rfc7915/4to6.c:407:9: error: implicit declaration of function ‘nf_reset’ [-Werror=implicit-function-declaration]
  407 |         nf_reset(out);
      |         ^~~~~~~~