Well, I'm on the way to building my first freeradius server and have one remaining configure error. Can anyone tell me about this one, how to fix it and will it break anything?
Test build is being done on Ubuntu 6.06 dapper. Below is the config.log --Andrew ---- configure:750: checking for gcc configure:863: checking whether the C compiler (gcc ) works configure:879: gcc -o conftest conftest.c 1>&5 configure:905: checking whether the C compiler (gcc ) is a cross-compiler configure:910: checking whether we are using GNU C configure:938: checking whether gcc accepts -g configure:971: checking how to run the C preprocessor configure:1051: checking for AIX configure:1077: checking whether gcc needs -traditional configure:1123: checking whether we are using SUNPro C configure:1143: checking for ranlib configure:1178: checking whether byte ordering is bigendian configure:1271: checking for gmake configure:1302: checking for make configure:1422: checking for lt_dlinit in -lltdl configure:1546: checking for Cygwin environment configure:1579: checking for mingw32 environment configure:1683: checking host system type configure:1704: checking build system type configure:1733: checking for ld used by GCC configure:1801: checking if the linker (/usr/bin/ld) is GNU ld configure:1818: checking for /usr/bin/ld option to reload object files configure:1830: checking for BSD-compatible nm configure:1868: checking whether ln -s works configure:1889: checking how to recognise dependant libraries configure:2072: checking for object suffix configure:2098: checking for executable suffix configure:2139: checking command to parse /usr/bin/nm -B output configure:2322: checking for dlfcn.h configure:2500: checking for ranlib configure:2567: checking for strip configure:2812: checking for objdir configure:2843: checking for gcc option to produce PIC configure:2995: checking if gcc PIC flag -fPIC works configure:3065: checking if gcc static flag -static works configure:3111: checking if gcc supports -c -o file.o configure:3159: checking if gcc supports -c -o file.lo configure:3235: checking if gcc supports -fno-rtti -fno-exceptions configure:3248: gcc -c -g -O2 -fno-rtti -fno-exceptions -c conftest.c conftest.c 1>&5 cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C cc1: warning: command line option "-fno-rtti" is valid for C++/ObjC++ but not for C configure:3279: checking whether the linker (/usr/bin/ld) supports shared libraries configure:3967: checking how to hardcode library paths into programs configure:3999: checking whether stripping libraries is possible configure:4017: checking dynamic linker characteristics configure:4418: checking if libtool supports shared libraries configure:4426: checking whether to build shared libraries configure:4453: checking whether to build static libraries configure:4496: checking for shl_load configure:4542: checking for shl_load in -ldld configure:4580: checking for dlopen configure:4626: checking for dlopen in -ldl configure:4777: checking whether a program can dlopen itself configure:4871: checking whether a statically linked program can dlopen itself configure:4993: checking whether -lc should be explicitly linked in configure:5656: checking logdir configure:5678: checking radacctdir configure:5700: checking raddbdir configure:5923: checking for perl configure:5962: checking for snmpget configure:6001: checking for snmpwalk configure:6040: checking for rusers configure:6076: checking for working aclocal configure:6089: checking for working autoconf configure:6102: checking for working autoheader configure:6118: checking for locate configure:6153: checking for dirname configure:6188: checking for grep configure:6232: checking for pthread.h configure:6271: checking for pthread_create in -lpthread configure:6364: checking for library containing sem_init configure:6428: checking for getsockname in -lsocket configure:6476: checking for inet_aton in -lresolv configure:6524: checking for inet_ntoa in -lnsl configure:6577: checking for DH_new in -lcrypto configure:6687: checking for dirent.h that defines DIR configure:6725: checking for opendir in -ldir configure:6808: checking for ANSI C header files configure:6912: checking whether time.h and sys/time.h may both be included configure:6947: checking for sys/wait.h that is POSIX.1 compatible configure:7024: checking for unistd.h configure:7024: checking for crypt.h configure:7024: checking for errno.h configure:7024: checking for resource.h configure:7024: checking for getopt.h configure:7024: checking for malloc.h configure:7024: checking for utmp.h configure:7024: checking for utmpx.h configure:7024: checking for signal.h configure:7024: checking for sys/select.h configure:7024: checking for syslog.h configure:7024: checking for inttypes.h configure:7024: checking for stdint.h configure:7024: checking for stdio.h configure:7024: checking for netdb.h configure:7024: checking for semaphore.h configure:7024: checking for arpa/inet.h configure:7024: checking for netinet/in.h configure:7024: checking for sys/types.h configure:7024: checking for sys/socket.h configure:7024: checking for sys/time.h configure:7024: checking for sys/wait.h configure:7024: checking for sys/security.h configure:7024: checking for fcntl.h configure:7024: checking for sys/fcntl.h configure:7024: checking for sys/stat.h configure:7024: checking for sys/prctl.h configure:7024: checking for prot.h configure:7024: checking for sia.h configure:7024: checking for siad.h configure:7064: checking for regex.h configure:7234: checking for off_t configure:7267: checking for pid_t configure:7300: checking for size_t configure:7333: checking for uid_t in sys/types.h configure:7369: checking for socklen_t configure:7412: checking for uint8_t configure:7455: checking for uint16_t configure:7498: checking for uint32_t configure:7567: checking for getopt_long configure:7567: checking for lockf configure:7567: checking for strsignal configure:7567: checking for sigaction configure:7567: checking for sigprocmask configure:7567: checking for pthread_sigmask configure:7567: checking for snprintf configure:7567: checking for vsnprintf configure:7567: checking for setsid configure:7567: checking for strncasecmp configure:7567: checking for strcasecmp configure:7567: checking for localtime_r configure:7567: checking for ctime_r configure:7567: checking for gmtime_r configure:7567: checking for strsep configure:7567: checking for inet_aton configure:7567: checking for inet_pton configure:7567: checking for inet_ntop configure:7567: checking for gethostname configure:7567: checking for setlinebuf configure:7567: checking for setvbuf configure:7567: checking for getusershell configure:7567: checking for initgroups configure:7567: checking for closefrom configure:7631: checking whether crypt must be declared configure:7631: checking whether strncasecmp must be declared configure:7631: checking whether strcasecmp must be declared configure:7631: checking whether inet_aton must be declared configure:7631: checking whether gethostname must be declared configure:7631: checking whether setlinebuf must be declared configure:7631: checking whether getusershell must be declared configure:7631: checking whether endusershell must be declared configure:7718: checking return type of signal handlers configure:7763: checking for ut_xtime in struct utmpx configure:7779: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure: In function 'main': configure:7775: error: 'struct utmpx' has no member named 'ut_xtime' configure: failed program was: #line 7767 "configure" #include "confdefs.h" #include <utmpx.h> #ifndef offsetof #define offsetof(TYPE, MEMBER) ((int) &((TYPE *)0)->MEMBER) #endif int main() { int foo = offsetof(struct utmpx, ut_xtime) ; return 0; } configure:7810: checking for ipi_addr in struct in_pktinfo configure:7826: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS conftest.c 1>&5 configure:7856: checking for working const configure:7932: checking type of OS configure:7947: checking for developer gcc flags configure:7962: checking for crypt in -lcrypt configure:8062: checking for setkey in -lcipher configure:8110: checking for asn1.h,snmp.h,snmp_impl.h configure:8139: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG conftest.c 1>&5 configure: In function 'main': configure:8135: warning: unused variable 'a' configure:8309: checking for snmp_build_var_op in -lsnmp configure:8321: gcc -o conftest -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG conftest.c -lnsl -lresolv -lpthread -lsnmp 1>&5 configure:8425: checking gethostbyaddr_r() syntax configure:8448: gcc -o conftest -g -O2 conftest.c -lnsl -lresolv -lpthread 1>&5 configure:8530: checking gethostbyname_r() syntax configure:8542: gcc -o conftest -g -O2 conftest.c -lnsl -lresolv -lpthread 1>&5 configure:8623: checking ctime_r() syntax configure:8634: gcc -o conftest -g -O2 conftest.c -lnsl -lresolv -lpthread 1>&5 configure: In function 'main': configure:8630: error: too many arguments to function 'ctime_r' configure: failed program was: #line 8625 "configure" #include "confdefs.h" #include <time.h> int main() { ctime_r(NULL, NULL, 0) ; return 0; } configure:8659: gcc -o conftest -g -O2 conftest.c -lnsl -lresolv -lpthread 1>&5 ------------------------ - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html