NICMx / Jool

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

Compilation Error in Suse #152

Closed hugo16gl closed 8 years ago

hugo16gl commented 9 years ago

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) Release: 11 Codename: n/a 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:100::/40 insmod: error inserting 'jool_siit.ko': -1 Unknown symbol in module make: *\ [insert] Error 1

nat64@localhost:~/Desktop/Jool-3.3.2/mod/stateless> dmesg [ 2213.566827] jool_siit: Unknown symbol sessiondb_get_timeout (err 0) nat64@localhost:~/Desktop/Jool-3.3.2/mod/stateless>

ydahhrk commented 9 years ago

Indeed.

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.