I downloaded the CVS snapshot freeradius-snapshot-20020225 and went to 
compile it with these flags:

./configure --localstatedir=/var --sysconfdir=/etc --with-thread-pool 
--with-mysql-include-dir=/usr/include/mysql/ --with-mysql-lib-dir=/usr/lib/ 
--with-mysql-dir=/usr/bin/mysql/

the configure went perfectly. The problems came when I started the make.

Here are the errors that it reported:

rlm_counter.c: In function `counter_instantiate':
rlm_counter.c:330: `GDBM_NOLOCK' undeclared (first use in this function)
rlm_counter.c:330: (Each undeclared identifier is reported only once
rlm_counter.c:330: for each function it appears in.)
rlm_counter.c:336: warning: implicit declaration of function `gdbm_fdesc'
rlm_counter.c: In function `counter_accounting':
rlm_counter.c:384: `GDBM_NOLOCK' undeclared (first use in this function)
rlm_counter.c: In function `counter_authorize':
rlm_counter.c:517: `GDBM_NOLOCK' undeclared (first use in this function)
make[6]: *** [rlm_counter.o] Error 1
make[6]: Leaving directory 
`/root/freeradius-snapshot-20020225/src/modules/rlm_counter'
make[5]: *** [common] Error 1
make[5]: Leaving directory `/root/freeradius-snapshot-20020225/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/root/freeradius-snapshot-20020225/src/modules'
make[3]: *** [common] Error 1
make[3]: Leaving directory `/root/freeradius-snapshot-20020225/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/freeradius-snapshot-20020225/src'
make[1]: *** [common] Error 1
make[1]: Leaving directory `/root/freeradius-snapshot-20020225'
make: *** [all] Error 2

_______________________________

Does anyone have any ideas on how to get this to finish the make? I really 
don't need the counter module, so I am going to try commenting it out and 
seeing if it will then finish the make. I just wanted to see if there was 
something else that I might be doing wrong.

I am compiling this on a debian 2.2 system.

-- 
Nick Davis 
Associate Systems Administrator 
[EMAIL PROTECTED] 
Internet Exposure, Inc. 
http://www.iexposure.com  

(612)676-1946 
Web Development-Web Marketing-ISP Services

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

Reply via email to