> From: Rohaizam Abu Bakar
> Sent: Thursday, 18 September 2003 6:46 PM

> face same problem with FreeBSD 4.8
> 
> done as below:
> 
> # CFLAGS=-lc_r ./configure --without-threads
> # ./configure --without-threads
>     => both giving same error as below:
> # CFLAGS=-lc_r ./configure
>     => giving gethostbyaddr_r error
> 
> --haizam
> 
> 
> rlm_counter.c:681: structure has no member named `mutex'
> rlm_counter.c:716: structure has no member named `mutex'
> rlm_counter.c:718: structure has no member named `mutex'
> rlm_counter.c: In function `counter_detach':
> rlm_counter.c:813: warning: implicit declaration of function
> `pthread_mutex_destroy'
> rlm_counter.c:813: structure has no member named `mutex'
> gmake[5]: *** [rlm_counter.o] Error 1
> gmake[5]: Leaving directory
> `/var/src/freeradius-0.9.1/src/modules/rlm_counter'
> gmake[4]: *** [common] Error 1
> gmake[4]: Leaving directory `/var/src/freeradius-0.9.1/src/modules'
> gmake[3]: *** [all] Error 2
> gmake[3]: Leaving directory `/var/src/freeradius-0.9.1/src/modules'
> gmake[2]: *** [common] Error 1
> gmake[2]: Leaving directory `/var/src/freeradius-0.9.1/src'
> gmake[1]: *** [all] Error 2
> gmake[1]: Leaving directory `/var/src/freeradius-0.9.1/src'
> gmake: *** [common] Error 1

This is a known error, fixed in CVS, and will be part of
0.9.2...
In the meantime, apply this patch:

http://www.freeradius.org/cgi-bin/cvsweb.cgi/radiusd/src/modules/rlm_counter/rlm_counter.c.diff?r1=1.32.2.2&r2=1.32.2.3

And run make again. You should be past the _r problems now.

--
=========================================================
Paul "TBBle" Hampson
Bubblesworth Pty Ltd (ABN: 51 095 284 361)
[EMAIL PROTECTED]

This is a one line proof...if we start
sufficiently far to the left.
        -- Cambridge University Math Department
---------------------------------------------------------
Random signature generator 3.0 by Paul "TBBle" Hampson
=========================================================


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

Reply via email to