At 03:30 PM 7/25/2003, you wrote:
Hi

When I do gmake I get this error:

gcc .libs/radiusdS.o -g -O2 -Wall -D_GNU_SOURCE -DNDEBUG -I../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 -rdynamic  -L/usr/freeradius-0.9.0/src/lib
/usr/freeradius-0.9.0/src/lib/.libs/libradius.so
/usr/freeradius-0.9.0/libltdl/.libs/libltdl.so -ldl
radiusd.o: In function `main':
/usr/freeradius-0.9.0/src/main/radiusd.c:845: undefined reference to
`total_active_threads'


total_active_threads() is used to wait on a HUP to the server. There are three places it *was* defined/used. They were:

/include/radiusd.h #prototype (this is most likely where it is *not* anymore)
/main/threads.c
/main/radiusd.c

I haven't downloaded 0.9 yet, but I know it was added to radiusd.h V1.134.

The prototype is "extern int total_active_threads(void);"
The function is defined in threads.c, and it is called in radiusd.c.

HTH,

Chris



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

Reply via email to