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 modcall.c > modcall.c: In function `do_compile_modsingle': > modcall.c:623: warning: assignment discards qualifiers from pointer target type > modcall.c: At top level: > modcall.c:325: warning: `dump_tree' defined but not used > gcc -g -O2 -pthread -D_THREAD_SAFE -D_REENTRANT -Wall -D_GNU_SOURCE -DNDEBUG - > I../include -c session.c > gcc -g -O2 -pthread -D_THREAD_SAFE -D_REENTRANT -Wall -D_GNU_SOURCE -DNDEBUG - > I../include -o xlat.o -c xlat.c > xlat.c: In function `radius_xlat': > xlat.c:277: warning: long int format, time_t arg (arg 4) > 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 > make[4]: *** [threads.o] Error 1 > make[4]: Leaving directory `/home/ddalton/src/freeradius-0.3/src/main' > make[3]: *** [common] Error 1 > make[3]: Leaving directory `/home/ddalton/src/freeradius-0.3/src' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/home/ddalton/src/freeradius-0.3/src' > make[1]: *** [common] Error 1 > make[1]: Leaving directory `/home/ddalton/src/freeradius-0.3' > make: *** [all] Error 2 > > - > List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html