Hello,

while trying to compile the current CVS snapshot as of about one
hour ago, I stumbled across a small glitch:

gcc .libs/radiusdS.o -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall 
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs 
-I../include -I/usr/include -o .libs/radiusd radiusd.o files.o util.o acct.o nas.o 
log.o valuepair.o version.o proxy.o exec.o auth.o timestr.o conffile.o modules.o 
modcall.o session.o xlat.o threads.o smux.o radius_snmp.o client.o request_list.o 
mainconfig.o -Wl,--export-dynamic  -L/usr/src/freeradius/radiusd/src/lib -lnsl 
-lresolv -lpthread /usr/src/freeradius/radiusd/src/lib/.libs/libradius.so 
/usr/lib/libsnmp.so -lcrypto -lcrypt /usr/lib/libltdl.so -ldl -Wl,--rpath 
-Wl,/usr/lib/freeradius
radius_snmp.o(.text+0x19): In function `get_client':
/usr/src/freeradius/radiusd/src/main/radius_snmp.c:210: undefined reference to 
`clients'
radius_snmp.o(.text+0x76):/usr/src/freeradius/radiusd/src/main/radius_snmp.c:235: 
undefined reference to `clients'
radius_snmp.o(.text+0x81):/usr/src/freeradius/radiusd/src/main/radius_snmp.c:237: 
undefined reference to `clients'
collect2: ld returned 1 exit status
make[5]: *** [radiusd] Error 1


I can stick a random "RADCLIENT *clients" in somewhere, but am not
convinced that this would be an appropriate solution. FWIW, in
.../radiusd.h there is a structure that contains such a component,
but that should apparently be aliased to a global, no?

TIA!


Best,
--Toni++

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to