Hi there, I am just trying to get freeradius up and running to authenticate a chillispot. Thus I will need the sqlcounter module.
I found a small number of postings covering this issue and they all indicate I would have to compile freeradius manually as this module is still experimental. On the other hand, all these postings and howtos seem to be about two years old. So my question is: - Is sqlcounter still experimental or is it yet included in the standard binarys (debian repository)? Because I'm kind of having problems in compiling it myself and can't quite figure out what this errors are all about: > make [...] gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDEBUG -I/root/freeradius-1.1.5/src/include -I/root/freeradius-1.1.5/src/modules/rlm_sql -c rlm_sqlippool.c -fPIC -DPIC -o .libs/rlm_sqlippool.o In file included from rlm_sqlippool.c:37: /root/freeradius-1.1.5/src/include/modpriv.h:7:18: ltdl.h: No such file or directory In file included from rlm_sqlippool.c:37: /root/freeradius-1.1.5/src/include/modpriv.h:16: error: syntax error before "lt_dlhandle" /root/freeradius-1.1.5/src/include/modpriv.h:16: warning: no semicolon at end of struct or union /root/freeradius-1.1.5/src/include/modpriv.h:17: warning: type defaults to `int' in declaration of `module_list_t' /root/freeradius-1.1.5/src/include/modpriv.h:17: warning: data definition has no type or storage class /root/freeradius-1.1.5/src/include/modpriv.h:27: error: syntax error before "module_list_t" /root/freeradius-1.1.5/src/include/modpriv.h:27: warning: no semicolon at end of struct or union /root/freeradius-1.1.5/src/include/modpriv.h:32: error: syntax error before '}' token /root/freeradius-1.1.5/src/include/modpriv.h:32: warning: type defaults to `int' in declaration of `module_instance_t' /root/freeradius-1.1.5/src/include/modpriv.h:32: warning: data definition has no type or storage class /root/freeradius-1.1.5/src/include/modpriv.h:34: error: syntax error before '*' token /root/freeradius-1.1.5/src/include/modpriv.h:34: warning: type defaults to `int' in declaration of `find_module_instance' /root/freeradius-1.1.5/src/include/modpriv.h:34: warning: data definition has no type or storage class In file included from rlm_sqlippool.c:39: /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:15:25: ltdl.h: No such file or directory In file included from rlm_sqlippool.c:39: /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:68: error: syntax error before "lt_dlhandle" /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:68: warning: no semicolon at end of struct or union /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:70: error: syntax error before '}' token /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:70: warning: type defaults to `int' in declaration of `SQL_INST' /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:70: warning: data definition has no type or storage class /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:73: error: syntax error before '*' token /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:74: error: syntax error before '*' token /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:75: error: syntax error before '*' token /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:76: error: syntax error before '*' token /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:77: error: syntax error before '*' token /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:80: error: syntax error before '*' token /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:84: error: syntax error before "SQL_INST" /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:85: error: syntax error before "SQL_INST" /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:86: error: syntax error before "SQL_INST" /root/freeradius-1.1.5/src/modules/rlm_sql/rlm_sql.h:87: error: syntax error before "SQL_INST" rlm_sqlippool.c:53: error: syntax error before "SQL_INST" rlm_sqlippool.c:53: warning: no semicolon at end of struct or union rlm_sqlippool.c:105: error: syntax error before '}' token rlm_sqlippool.c:105: warning: type defaults to `int' in declaration of `rlm_sqlippool_t' rlm_sqlippool.c:105: warning: data definition has no type or storage class rlm_sqlippool.c:128: error: syntax error before ')' token rlm_sqlippool.c:128: error: initializer element is not constant rlm_sqlippool.c:128: error: (near initialization for `module_config[0].offset') rlm_sqlippool.c:128: error: initializer element is not constant rlm_sqlippool.c:128: error: (near initialization for `module_config[0]') rlm_sqlippool.c:130: error: syntax error before ')' token rlm_sqlippool.c:130: error: initializer element is not constant rlm_sqlippool.c:130: error: (near initialization for `module_config[1].offset') rlm_sqlippool.c:130: error: initializer element is not constant rlm_sqlippool.c:130: error: (near initialization for `module_config[1]') rlm_sqlippool.c:132: error: syntax error before ')' token rlm_sqlippool.c:132: error: initializer element is not constant rlm_sqlippool.c:132: error: (near initialization for `module_config[2].offset') [going on like this for much more] make[6]: *** [rlm_sqlippool.lo] Error 1 make[6]: Leaving directory `/root/freeradius-1.1.5/src/modules/rlm_sqlippool' make[5]: *** [common] Error 2 make[5]: Leaving directory `/root/freeradius-1.1.5/src/modules' make[4]: *** [all] Error 2 make[4]: Leaving directory `/root/freeradius-1.1.5/src/modules' make[3]: *** [common] Error 2 make[3]: Leaving directory `/root/freeradius-1.1.5/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/root/freeradius-1.1.5/src' make[1]: *** [common] Error 2 make[1]: Leaving directory `/root/freeradius-1.1.5' make: *** [all] Error 2 Could someone help here, please? This is a sarge installation with mysql5. Thanks in advance, Jan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html