I try to fix it... with below modification... it's work..!! no more make
error.. just follow patch from rlm_counter
*** rlm_ippool.c Wed Sep 24 13:44:58 2003
--- rlm_ippool.c.ORIG Tue Jul 15 01:29:30 2003
***************
*** 87,108 ****
int override;
GDBM_FILE gdbm;
GDBM_FILE ip;
- #ifdef HAVE_PTHREAD_H
pthread_mutex_t session_mutex;
pthread_mutex_t ip_mutex;
- #endif
} rlm_ippool_t;
-
- #ifndef HAVE_PTHREAD_H
- /*
- * This is a lot simpler than putting ifdef's around
- * every use of the pthread functions.
- */
- #define pthread_mutex_lock(a)
- #define pthread_mutex_unlock(a)
- #define pthread_mutex_init(a,b)
- #define pthread_mutex_destroy(a)
- #endif
typedef struct ippool_info {
uint32_t ipaddr;
--- 87,95 ----
----- Original Message -----
From: "Rohaizam Abu Bakar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 1:33 PM
Subject: Re: FreeRADIUS 0.9.1. under FreeBSD^ making errors
> I can't fix it... not that good at looking into source code...
> please help me... I might be using ippool module...
>
> thanks..
>
> --haizam
>
> ----- Original Message -----
> From: "Alan DeKok" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, September 19, 2003 10:32 PM
> Subject: Re: FreeRADIUS 0.9.1. under FreeBSD^ making errors
>
>
> > "Rohaizam Abu Bakar" <[EMAIL PROTECTED]> wrote:
> > > patched rlm_counter but still error as below:
> > >
> > > running as # ./configure --without-threads
> > >
> > >
> > > rlm_ippool.c: In function `ippool_detach':
> >
> > If you're not going to use rlm_ippool, then delete it.
> >
> > If you are going to use it, then try to spend some time yourself
> > figuring out how to fix it. It's really not that hard.
> >
> > 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
>
> [ Scanned by JARING E-Mail Virus Scanner ( http://www.jaring.my ) ]
>
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html