Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Undefined reference errors in tls.c during compilation #1572
Comments
|
You probably need to re-run "configure". |
tdebaets
commented
Apr 1, 2016
|
Unfortunately that didn't help. I get the same errors after a new run of |
|
Hmm.. CentOS 5 is at least 6 years old, and the base distribution is 10 years old. This kind of bug isn't a high priority. It's better to use a recent distribution than for us to track down why valid C code doesn't compile. |
alandekok
closed this
Apr 1, 2016
tdebaets
commented
Apr 1, 2016
|
Ok, but the latest 3.0.11 release still compiles and works fine on CentOS 5. I can understand that I can't use 3.1, but shouldn't 3.0 continue to work for the sake of backwards compatibility? |
|
You have done
right? |
tdebaets
commented
Apr 1, 2016
|
I have just tried it and it doesn't make any difference. |
|
We don't have CentOS 5 here, and aren't inclined to install it just to fix a bug. CentOS is 10 years old, and the base RedHat OS isn't even supported by RedHat any more. The code seems to be correct, and builds for all Linux / BSD distributions we have access to. So our inclination is to say it's a CentOS 5 bug, and to ignore it. The larger question is why are you running such an old distribution? It costs nothing to install a recent version of CentOS, which will work. |
lytboris
commented
Apr 19, 2016
•
|
My FreeBSD 9.3-PRERELEASE (mid 2014) build is failed too. Actually, this seems to be a failure for radeapclient rather than tls.o itself:
v.3.1.x is building OK on the same server, this is v3.0.x issue. |
alandekok
added a commit
that referenced
this issue
Apr 19, 2016
|
|
alandekok |
696e40d
|
|
Just successfully built a clean v3.0.x HEAD on fresh install of FreeBSD 9.3-RELEASE. No problems at all, including radeapclient. [edit: refreshed page and see @alandekok just pushed a fix, so that probably explains it... :) ] |
lytboris
commented
Apr 19, 2016
|
Yeah, I know, I have another RELENG_10 machine with no issues. Will dig it tomorrow properly and update this thread with findings. |
lytboris
commented
Apr 20, 2016
lytboris
commented
Apr 20, 2016
|
Here you go |
alandekok
referenced
this issue
Apr 20, 2016
Merged
Fix build when PSK_MAX_IDENTITY_LEN is not defined #1586
arr2036
added a commit
that referenced
this issue
Apr 20, 2016
|
|
alandekok + arr2036 |
9b4c8f3
|
tdebaets
commented
Apr 20, 2016
|
Compilation on CentOS 5 is now again fine as well, thanks! |
tdebaets commentedMar 31, 2016
When I try to compile branch 3.0.x on CentOS 5, the compilation fails with these linker errors:
I have no clue why the linker is unable to find the tls_error_log and tls_error_io_log functions, as these are just defined in the same tls.c file. This was probably introduced by commit 8d8234b. Could someone have a look? Thanks!