9.1 is failing to compile on FreeBSD 4.8 Stable. Dave Point of trouble:
Making static dynamic in rlm_counter... gmake[5]: Entering directory `/usr/sources/freeradius-snapshot-20030915/src/modules/rlm_counter' gcc -g -O2 -Wall -D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissin g-declarations -Wnested-externs -W -Wredundant-decls -Wundef -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I../../include -I/usr/local/include/ -c rlm_c ounter.c -o rlm_counter.o In file included from /usr/include/sys/types.h:45, from ../../include/libradius.h:15, from rlm_counter.c:27: /usr/include/sys/cdefs.h:273: warning: `_POSIX_C_SOURCE' is not defined /usr/include/sys/cdefs.h:279: warning: `_POSIX_C_SOURCE' is not defined In file included from rlm_counter.c:38: /usr/local/include/gdbm.h:85: warning: function declaration isn't a prototype rlm_counter.c:85: syntax error before `pthread_mutex_t' rlm_counter.c: In function `counter_cmp': rlm_counter.c:118: warning: unused parameter `req' rlm_counter.c: In function `add_defaults': rlm_counter.c:161: warning: assignment discards qualifiers from pointer target type rlm_counter.c:173: warning: assignment discards qualifiers from pointer target type rlm_counter.c: In function `counter_instantiate': rlm_counter.c:448: warning: assignment discards qualifiers from pointer target type rlm_counter.c:466: warning: assignment discards qualifiers from pointer target type rlm_counter.c:490: warning: implicit declaration of function `pthread_mutex_init' rlm_counter.c:490: structure has no member named `mutex' rlm_counter.c: In function `counter_accounting': rlm_counter.c:534: warning: implicit declaration of function `pthread_mutex_lock' rlm_counter.c:534: structure has no member named `mutex' rlm_counter.c:536: warning: implicit declaration of function `pthread_mutex_unlock' rlm_counter.c:536: structure has no member named `mutex' rlm_counter.c:548: warning: comparison between signed and unsigned rlm_counter.c:577: structure has no member named `mutex' rlm_counter.c:579: structure has no member named `mutex' rlm_counter.c:615: warning: comparison between signed and unsigned rlm_counter.c:633: warning: assignment from incompatible pointer type rlm_counter.c:636: structure has no member named `mutex' rlm_counter.c:638: structure has no member named `mutex' rlm_counter.c: In function `counter_authorize': rlm_counter.c:679: structure has no member named `mutex' 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:758: warning: comparison between signed and unsigned 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 `/usr/sources/freeradius-snapshot-20030915/src/modules/rlm_counter' gmake[4]: *** [common] Error 1 gmake[4]: Leaving directory `/usr/sources/freeradius-snapshot-20030915/src/modules' gmake[3]: *** [all] Error 2 gmake[3]: Leaving directory `/usr/sources/freeradius-snapshot-20030915/src/modules' gmake[2]: *** [common] Error 1 gmake[2]: Leaving directory `/usr/sources/freeradius-snapshot-20030915/src' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/usr/sources/freeradius-snapshot-20030915/src' gmake: *** [common] Error 1 *** Error code 2 Stop in /usr/sources/freeradius-snapshot-20030915. -- David L. Aldridge The Aldridge Company 713-403-9150 (fax: 713-621-1826) http://www.aldridge.com/ Powered by Pentium/FreeBSD/Apache - Because it works. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html