[FreeRADIUS 3.0.16][OpenSSL 1.1.1] Linking errors

Sergio NNX sfhacker at hotmail.com
Sun Feb 4 20:58:48 CET 2018


Hi all,

I'm in the process of building FR 3.0.16 from source against OpenSSL 1.1.1 and I have come across the following linking errors:

build/lib/local/.libs/libfreeradius-eap.a(eapcrypto.o):eapcrypto.c:(.text+0xe0): undefined reference to `fr_sha1_update'
build/lib/local/.libs/libfreeradius-eap.a(eapcrypto.o):eapcrypto.c:(.text+0xfa): undefined reference to `fr_sha1_final'
build/lib/local/.libs/libfreeradius-eap.a(fips186prf.o):fips186prf.c:(.text+0xb4): undefined reference to `fr_sha1_init'
build/lib/local/.libs/libfreeradius-eap.a(fips186prf.o):fips186prf.c:(.text+0xe4): undefined reference to `fr_sha1_trans

After a dirty hack (#define .... SHA1 ...), I got the following errors:


build/lib/.libs/libfreeradius-eap.a(eapsimlib.o):eapsimlib.c:(.text+0x337): undefined reference to `fr_hmac_sha1'
build/lib/.libs/libfreeradius-eap.a(eapsimlib.o):eapsimlib.c:(.text+0x78d): undefined reference to `fr_hmac_sha1'
build/lib/.libs/libfreeradius-eap.a(fips186prf.o):fips186prf.c:(.text+0xef): undefined reference to `fr_sha1_final_no_len'
build/lib/.libs/libfreeradius-eap.a(fips186prf.o):fips186prf.c:(.text+0x1a9): undefined reference to `fr_sha1_final_no_len'

In an attempt to carry on with the compilation, I have commented out the lines mentioned above in those two files (sorry about that).

Any assistance in (properly) fixing these errors would be greatly appreciated.

Running some tests at the moment. More to come.

Thanks in advance.


More information about the Freeradius-Users mailing list