Hi I just want to report an issue I had with the compilation and insertion of Jool v. 3.3.2
I've been making some tests in Suse version 11 with kernel 3.0:
nat64@localhost:> lsb_release -a
LSB Version: n/a
Distributor ID: SUSE LINUX
Description: SUSE Linux Enterprise Desktop 11 (x86_64)
nat64@localhost:> uname -a
Linux localhost 3.0.101-0.47.52-default #1 SMP Thu Mar 26 10:55:49 UTC 2015 (0e3c7c8) x86_64 x86_64 x86_64 GNU/Linux
I ran the Makefile and later I tried to insert de module with make insert, but I got this message:
nat64@localhost:~/Desktop/Jool-3.3.2/mod/stateless> make insert
sudo dmesg -c
sudo /sbin/insmod jool_siit.ko pool6=2001:db8💯:/40
insmod: error inserting 'jool_siit.ko': -1 Unknown symbol in module
make: *** [insert] Error 1
[ 2213.566827] jool_siit: Unknown symbol sessiondb_get_timeout (err 0)
It's disturbing to think that it never crossed my mind that dead code deletion was a compiler feature, not a language feature.
Adding to the current milestone; thank you.
Now SIIT and NAT64 compile using the same flags. This forces me to not rely on dead code.