Hello, I'm having a problem compiling freeradius-0.5 on RedHat Linux. Version info:
--RedHat 7.1 --OpenLdap 2.0.23 (installed under freeradius-0.5/openldap) Here is how I configured freeradius to compile: ./configure --with-rlm-ldap-lib-dir=/usr/local/src/freeradius-0.5/openldap/l ib --with-rlm-ldap-include-dir==/usr/local/src/freeradius-0.5/openldap/inclu de --prefix=/usr/local The problem is with rlm_ldap, following are the errors: gmake[6]: Entering directory `/usr/local/src/freeradius-0.5/src/modules/rlm_ldap' gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DND EBUG -I../../include -DHAVE_LDAP_START_TLS -c rlm_ldap.c -o rlm_ldap.o rlm_ldap.c: In function `ldap_instantiate': rlm_ldap.c:240: `LDAP_OPT_X_TLS_TRY' undeclared (first use in this function) rlm_ldap.c:240: (Each undeclared identifier is reported only once rlm_ldap.c:240: for each function it appears in.) rlm_ldap.c: In function `perform_search': rlm_ldap.c:477: warning: implicit declaration of function `ldap_get_option' rlm_ldap.c:477: `LDAP_OPT_ERROR_NUMBER' undeclared (first use in this function) rlm_ldap.c: In function `ldap_connect': rlm_ldap.c:1162: warning: implicit declaration of function `ldap_set_option' rlm_ldap.c:1162: `LDAP_OPT_NETWORK_TIMEOUT' undeclared (first use in this function) rlm_ldap.c:1162: `LDAP_OPT_SUCCESS' undeclared (first use in this function) rlm_ldap.c:1165: `LDAP_OPT_TIMELIMIT' undeclared (first use in this function) rlm_ldap.c:1168: `LDAP_OPT_DEBUG_LEVEL' undeclared (first use in this function) rlm_ldap.c:1180: `LDAP_VERSION3' undeclared (first use in this function) rlm_ldap.c:1181: `LDAP_OPT_PROTOCOL_VERSION' undeclared (first use in this function) rlm_ldap.c:1182: warning: implicit declaration of function `ldap_start_tls_s' rlm_ldap.c:1185: `LDAP_OPT_ERROR_NUMBER' undeclared (first use in this function) rlm_ldap.c:1196: warning: passing arg 2 of `ldap_simple_bind' discards qualifiers from pointer target type rlm_ldap.c:1196: warning: passing arg 3 of `ldap_simple_bind' discards qualifiers from pointer target type rlm_ldap.c: In function `ldap_pairget': rlm_ldap.c:1399: warning: passing arg 2 of `pairread' from incompatible pointer type gmake[6]: *** [rlm_ldap.o] Error 1 Any suggestions are gratefully appreciated. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.368 / Virus Database: 204 - Release Date: 5/29/2002 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
