>> I guess I don't have a thread enable daemon now. You told me it is
use
>> by the SQL  code.

 > No... the semaphores are being used by the SQL code.  You probably
> still have threads.

Alan, I could compile version 0.1 with threading enabled, but version
0.2 with threading enabled
does not compile in FreeBSD 3.2.

Now I realize that version 0.1 could work in my box if I knew the
semaphore issue before.


 > Read the messages produced by the server in debug mode.  It will say
> if threads are enabled.

I'll finally had to use --without-threads or it wont compile in FreeBSD
3.2, it looks like I'll have to upgrade to 4.3.
It's a production system so I'm pretty scared.

This is the output of the compilation process with threading enable in a
FreeBSD 3.2 box:


/usr/ports/distfiles/freeradius-0.2/src/main/radiusd.c:2305: undefined
reference
to `pthread_cancel'
 threads.o: In function `request_handler_thread':
 /usr/ports/distfiles/freeradius-0.2/src/main/threads.c:150: undefined
reference
 to `sem_wait'
 /usr/ports/distfiles/freeradius-0.2/src/main/threads.c:181: undefined
reference
 to `sem_destroy'
 threads.o: In function `spawn_thread':
 /usr/ports/distfiles/freeradius-0.2/src/main/threads.c:334: undefined
reference
 to `sem_init'
 threads.o: In function `rad_spawn_child':
 /usr/ports/distfiles/freeradius-0.2/src/main/threads.c:509: undefined
reference
 to `sem_post'
 threads.o: In function `thread_pool_clean':
 /usr/ports/distfiles/freeradius-0.2/src/main/threads.c:616: undefined
reference
 to `sem_post'
 collect2: ld returned 1 exit status
 gmake[4]: *** [radiusd] Error 1
 gmake[4]: Leaving directory
`/usr/ports/distfiles/freeradius-0.2/src/main'
 gmake[3]: *** [common] Error 1
 gmake[3]: Leaving directory `/usr/ports/distfiles/freeradius-0.2/src'
 gmake[2]: *** [all] Error 2
 gmake[2]: Leaving directory `/usr/ports/distfiles/freeradius-0.2/src'
 gmake[1]: *** [common] Error 1
 gmake[1]: Leaving directory `/usr/ports/distfiles/freeradius-0.2'
 gmake: *** [all] Error 2

Elie

--
______________________________
Mr. Eliezer Rodriguez Gonzalez
Net Manager & Sys Admin
CEISIC. Ministry of Culture
______________________________




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

Reply via email to