Compilation Error in Suse #152

Closed
hugo16gl opened this Issue May 20, 2015 · 1 comment

Projects

None yet

2 participants

@hugo16gl

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💯:/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
Member
ydahhrk commented May 20, 2015

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.

@ydahhrk ydahhrk added this to the 3.3.3 milestone May 20, 2015
@ydahhrk ydahhrk added a commit that referenced this issue Jul 8, 2015
@ydahhrk ydahhrk Issue #152.
Now SIIT and NAT64 compile using the same flags. This forces me to not rely on dead code.
e9a35c7
@ydahhrk ydahhrk modified the milestone: 3.4.0, 3.3.3 Aug 17, 2015
@ydahhrk ydahhrk closed this Nov 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment