NICMx / Jool

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

Add jool<->kernel version matrix on the install-mod page #268

Closed uablrek closed 5 years ago

uablrek commented 6 years ago

Version; jool 3.5.7.

The build for the stateful module stateful/jool.ko fails on linux4.17.13 with;

/home/uablrek/ekvm-v1.11/workspace/Jool-3.5.7/mod/stateful/fragment_db.c: In function ‘inet6_hash_frag’:
/home/uablrek/ekvm-v1.11/workspace/Jool-3.5.7/mod/stateful/fragment_db.c:96:14: error: ‘INETFRAGS_HASHSZ’ undeclared (first use in this function)
  return c & (INETFRAGS_HASHSZ - 1);
              ^
/home/uablrek/ekvm-v1.11/workspace/Jool-3.5.7/mod/stateful/fragment_db.c:96:14: note: each undeclared identifier is reported only once for each function it appears in
/home/uablrek/ekvm-v1.11/workspace/Jool-3.5.7/mod/stateful/fragment_db.c:97:1: warning: control reaches end of non-void function [-Wreturn-type]
 }
 ^
/home/uablrek/archive/linux-4.17.13/scripts/Makefile.build:312: recipe for target '/home/uablrek/ekvm-v1.11/workspace/Jool-3.5.7/mod/stateful/fragment_db.o' failed

Probably earlier kernels does not work as well but this is the one I tested.

I am not sure if this is supposed to work, but I did not find any "max supported kernel version".

The stateless/jool_siit.ko builds just fine and seem to work well. Since this is the module I use I am not affected myself of this problem but I thought is was appropriate to report it.

ydahhrk commented 6 years ago

The most recent kernel that Jool 3.5.7 supports is 4.16.

Jool 3.5.8 will support 4.17, but its other features are still in the testing phase. In any case, the 4.17 support commit in particular was already merged into master.

uablrek commented 6 years ago

Thanks. I close this issue since it is no bug. Please consider a jool<->kernel version matrix on the install-mod page.

ydahhrk commented 6 years ago

Ok. In the meantime, this information can be collected in the news.

Please consider a jool<->kernel version matrix on the install-mod page.

So reopening.

ydahhrk commented 5 years ago

https://jool.mx/en/intro-jool.html#compatibility