Unable to compile Freeradius 3.0.16

Peter Balsianok balsianok.peter at gmail.com
Mon Jan 15 08:28:52 CET 2018


Hi,

I am unable to compile Freeradius 3.0.16.

OS version:
Red Hat Enterprise Linux Server release 5.11 (Tikanga)

Compiler version:
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada
--enable-java-awt=gtk --disable-dssi --disable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=i386-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-55)

Debug logs:
CC jlibtool.c
HEADER src/include/attributes.h
HEADER src/include/features.h
HEADER src/include/missing.h
HEADER src/include/tls.h
HEADER src/include/rfc2865.h
HEADER src/include/rfc2866.h
HEADER src/include/rfc2867.h
HEADER src/include/rfc2868.h
HEADER src/include/rfc2869.h
HEADER src/include/rfc3162.h
HEADER src/include/rfc3576.h
HEADER src/include/rfc3580.h
HEADER src/include/rfc4072.h
HEADER src/include/rfc4372.h
HEADER src/include/rfc4603.h
HEADER src/include/rfc4675.h
HEADER src/include/rfc4679.h
HEADER src/include/rfc4818.h
HEADER src/include/rfc4849.h
HEADER src/include/rfc5090.h
HEADER src/include/rfc5176.h
HEADER src/include/rfc5447.h
HEADER src/include/rfc5580.h
HEADER src/include/rfc5607.h
HEADER src/include/rfc5904.h
HEADER src/include/rfc6519.h
HEADER src/include/rfc6572.h
HEADER src/include/rfc6677.h
HEADER src/include/rfc6911.h
HEADER src/include/rfc6929.h
HEADER src/include/rfc6930.h
HEADER src/include/rfc7055.h
HEADER src/include/rfc7155.h
HEADER src/include/rfc7268.h
HEADER src/include/rfc7499.h
HEADER src/include/rfc7930.h
HEADER src/include/vqp.h
HEADER src/include/freeradius.h
CC src/lib/cbuff.c
cc1: error: unrecognized command line option "-Wno-date-time"
make: *** [build/objs/src/lib/cbuff.lo] Error 1

I have fixed this issue by removing "-Wno-date-time" from configure &
configure.ac files. But question is: is it correct approach?

Thank you very much.


More information about the Freeradius-Users mailing list