Hello !!!
I built with and without support for threads and I always got the same
error.
I checked the following files:
./src/include/radiusd.h
and it has the following line:
extern int total_active_threads(void);

./src/main/radiusd.c
and it includes the followings lines
#include "radiusd.h"
if( (total_active_threads() == 0) ||
(max_wait >= 5) ) {
sig_hup_block = FALSE;
break;
}

./src/main/threads.c
and it has the next lines:
int total_active_threads(void)
{
int rcode = 0;
THREAD_HANDLE *handle;
for (handle = thread_pool.head; handle != NULL; handle = handle->next){
if (handle->request != NULL) {
rcode ++;
}
}
return (rcode);
}


Any suggestion?

----- Original Message ----- 
From: "Alan DeKok" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 25, 2003 6:21 PM
Subject: Re: gmake freeradius-0.9.0 on BSDI4.3


> "Guillermo Delmastro" <[EMAIL PROTECTED]> wrote:
> > When I do gmake I get this error:
> ...
> > radiusd.o: In function `main':
> > /usr/freeradius-0.9.0/src/main/radiusd.c:845: undefined reference to
> > `total_active_threads'
>
>   Build with support for threads.
>
>   Alan DeKok.
>
> -
> 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