I've been playing around with building a NetBSD package for FreeRadius 0.8. I was able to successfully compile 0.7.1, but I keep running into a problem when compiling rlm_counter:

Making static dynamic in rlm_counter...
gmake[6]: Entering directory `/usr/pkgsrc/net/freeradius/work/freeradius-0.8/src/modules/rlm_counter'
gcc -g -O2 -Wall -D_GNU_SOURCE -DNDEBUG -I../../include -I/usr/local/include/ -c rlm_counter.c -o rlm_counter.o
rlm_counter.c:83: parse error before `pthread_mutex_t'
rlm_counter.c:83: warning: no semicolon at end of struct or union
rlm_counter.c:85: warning: type defaults to `int' in declaration of `rlm_counter_t'
rlm_counter.c:85: warning: data definition has no type or storage class
rlm_counter.c:97: parse error before `)'
rlm_counter.c:97: initializer element is not constant
rlm_counter.c:97: (near initialization for `module_config[0].offset')
rlm_counter.c:98: parse error before `)'

I've tried all of the standard tricks to get this working, but I haven't hit the right combination. I assume it's an include file dependency, but I can't figure out which file (or files) are causing the problem. Any suggestions?

Dave



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

Reply via email to