Assuming you are not using threads, which I was not when I did this
(./configure --without-threads), you should be able to just remove
the reference to that line, and everything should work fine, since
that procedure should be ifdef'd out anyway.

I successfully compiled and installed with 
(total_active_threads == 0) || 
removed, but have not yet had the server running in a production
environment, and am by no means a developer, so no promises :)

I just did this yesterday on a NetBSD 1.6 machine.

rax

On Fri, Jul 25, 2003 at 05:30:55PM -0300, Guillermo Delmastro 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'
> gmake[4]: *** [radiusd] Error 1
> gmake[4]: Leaving directory `/usr/freeradius-0.9.0/src/main'
> gmake[3]: *** [common] Error 1
> gmake[3]: Leaving directory `/usr/freeradius-0.9.0/src'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/usr/freeradius-0.9.0/src'
> gmake[1]: *** [common] Error 1
> gmake[1]: Leaving directory `/usr/freeradius-0.9.0'
> gmake: *** [all] Error 2
> 
> Does anybody know how can i fix it?
> 
> Thanks!!!
> 
> 
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

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

Reply via email to