FR 2.1.6 doesnt build under RHEL3
Alan Buxey
A.L.M.Buxey at lboro.ac.uk
Mon Aug 24 12:30:32 CEST 2009
hi,
just a quick heads-up (until i check the GIT version and
delve deeper)
2.1.6 doesnt compile on RHEL with default options
Making all in rlm_ldap...
gmake[6]: Entering directory `/usr/src/freeradius-server-2.1.6/src/modules/rlm_ldap'
/usr/src/freeradius-server-2.1.6/libtool --mode=compile gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/src/freeradius-server-2.1.6/src -I/usr/src/freeradius-server-2.1.6/libltdl -DHAVE_LDAP_START_TLS -DHAVE_LDAP_INITIALIZE -DHAVE_LDAP_INT_TLS_CONFIG -DLDAP_DEPRECATED -c rlm_ldap.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/usr/src/freeradius-server-2.1.6/src -I/usr/src/freeradius-server-2.1.6/libltdl -DHAVE_LDAP_START_TLS -DHAVE_LDAP_INITIALIZE -DHAVE_LDAP_INT_TLS_CONFIG -DLDAP_DEPRECATED -c rlm_ldap.c -fPIC -DPIC -o .libs/rlm_ldap.o
rlm_ldap.c: In function `read_mappings':
rlm_ldap.c:714: warning: passing arg 1 of `gettoken' from incompatible pointer type
rlm_ldap.c: In function `ldap_connect':
rlm_ldap.c:2224: warning: passing arg 2 of `ldap_set_rebind_proc' from incompatible pointer type
rlm_ldap.c:2224: too many arguments to function `ldap_set_rebind_proc'
rlm_ldap.c:2299: warning: implicit declaration of function `ldap_int_tls_config'
gmake[6]: *** [rlm_ldap.lo] Error 1
gmake[6]: Leaving directory `/usr/src/freeradius-server-2.1.6/src/modules/rlm_ldap'
gmake[5]: *** [common] Error 2
gmake[5]: Leaving directory `/usr/src/freeradius-server-2.1.6/src/modules'
gmake[4]: *** [all] Error 2
gmake[4]: Leaving directory `/usr/src/freeradius-server-2.1.6/src/modules'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/usr/src/freeradius-server-2.1.6/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/src/freeradius-server-2.1.6/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/usr/src/freeradius-server-2.1.6'
make: *** [all] Error 2
Red Hat Enterprise Linux AS release 3 (Taroon Update 9)
gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-59)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
looks like some LDAP function isnt sane or the same with older versions.
alan
More information about the Freeradius-Devel
mailing list