Re: build errors on OpenBSD 2.9

2001-11-02 Thread Spike Ilacqua
> If this is on i386, have you tried linking and compiling with > '-pthreads' the native threads support for OpenBSD? As I recall the problem is not pthreads, freeradius *does* use pthreads on BSD systems. The problem is that freeradius uses POSIX semaphores (sem_init(3) etc.), but BSDI (as of 4

Re: build errors on OpenBSD 2.9

2001-11-02 Thread Spike Ilacqua
Doug Dalton wrote: > The fix for this is to compile with the --with-threads=no I had the same problem under BSDI and unfortunately "--with-threads=no" doesn't really work. The threadless version of freeradius has issues (and is unsupport) and will stop authenticating after a time. Instead grab:

Re: build errors on OpenBSD 2.9

2001-11-02 Thread aland
Doug Dalton <[EMAIL PROTECTED]> wrote: > gcc -g -O2 -pthread -D_THREAD_SAFE -D_REENTRANT -Wall -D_GNU_SOURCE -DNDEBUG - > I../include -o threads.o -c threads.c > threads.c:31: semaphore.h: No such file or directory OpenBSD should upgrade to something approaching support of POSIX. Alan DeK

Re: build errors on OpenBSD 2.9

2001-11-01 Thread Doug Dalton
The fix for this is to compile with the --with-threads=no Doug Dalton wrote: > Ignore the previous error, this is the error I am seeing. > > R/Doug > > gcc -g -O2 -pthread -D_THREAD_SAFE -D_REENTRANT -Wall -D_GNU_SOURCE -DNDEBUG - > I../include -I/home/ddalton/src/freeradius-0.3/libltdl -c

Re: build errors on OpenBSD 2.9

2001-11-01 Thread Doug Dalton
Ignore the previous error, this is the error I am seeing. R/Doug gcc -g -O2 -pthread -D_THREAD_SAFE -D_REENTRANT -Wall -D_GNU_SOURCE -DNDEBUG - I../include -I/home/ddalton/src/freeradius-0.3/libltdl -c modcall.c modcall.c: In function `do_compile_modsingle': modcall.c:623: warning: assignment

build errors on OpenBSD 2.9

2001-11-01 Thread Doug Dalton
Making all in main... make[4]: Entering directory `/home/ddalton/src/freeradius-0.3/src/main' gcc -g -O2 -pthread -D_THREAD_SAFE -D_REENTRANT -Wall -D_GNU_SOURCE -DNDEBUG - I../include -c radiusd.c radiusd.c:114: syntax error before `RADIUSD_VERSION' radiusd.c: In function `main': radiusd.c:557