Hi all,

I don't know what's the bug reporting process so I decide to notify it
on this ML.
I compile and run free radius 0.8.1 on BSDI4 for 3 months with no
problem but some crashes occured however.
I Tried to compile the latest free radius release (0.9.0 pre3)
on my BSDI box with no success, using the configuration line:
 CFLAGS="-O2" ./configure --without-threads 

First I get :
gcc  -O2 -Wall -D_GNU_SOURCE -DNDEBUG  -I../include   -c radiusd.c
radiusd.c: In function `main':
radiusd.c:309: structure has no member named `sa_sigaction'
radiusd.c: At top level:
radiusd.c:106: warning: `got_child' defined but not used
radiusd.c:117: warning: `needs_child_cleanup' defined but not used


So I made the following changes:
309c309
<       act.sa_handler = NULL;
---
>       act.sa_sigaction = NULL;
2213a2214
>       act.sa_sigaction = NULL;


Then I got 
radiusd.o: In function `main':
radiusd.o(.text+0xd00): undefined reference to `total_active_threads'


Since I disable Threads, this change is needed
845d844
< #if HAVE_PTHREAD_H
848,850d846
< #else
<                                 if   (max_wait >= 5) {
< #endif


It compiles fine right now....


Thanks.



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

Reply via email to