I've gone through and made the changes to the source, but compiling still
gives me:

Making static dynamic in rlm_counter...
make[6]: Entering directory
`/usr/src/freeradius-0.9.3/src/modules/rlm_counter'
gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DND
EBUG  -I../../include  -c rlm_counter.c -o rlm_counter.o
rlm_counter.c: In function `add_defaults':
rlm_counter.c:177: warning: assignment discards qualifiers from pointer
target type
rlm_counter.c:189: warning: assignment discards qualifiers from pointer
target type
rlm_counter.c: In function `counter_instantiate':
rlm_counter.c:480: warning: assignment discards qualifiers from pointer
target type
rlm_counter.c:501: warning: assignment discards qualifiers from pointer
target type
rlm_counter.c: In function `counter_accounting':
rlm_counter.c:683: warning: assignment from incompatible pointer type
rlm_counter.c: In function `counter_authorize':
rlm_counter.c:824: warning: int format, uint32_t arg (arg 3)
rlm_counter.c:846: warning: int format, uint32_t arg (arg 3)
/usr/src/freeradius-0.9.3/libtool --mode=link ld \
-module -static  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU
_SOURCE -DNDEBUG  -I../../include  rlm_counter.o -o rlm_counter.a
mkdir .libs
ar cru rlm_counter.a rlm_counter.o
ranlib rlm_counter.a
/usr/src/freeradius-0.9.3/libtool --mode=compile
gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DND
EBUG  -I../../include  -c rlm_counter.c
gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DNDE
BUG -I../../include -c rlm_counter.c -o rlm_counter.o
rlm_counter.c: In function `add_defaults':
rlm_counter.c:177: warning: assignment discards qualifiers from pointer
target type
rlm_counter.c:189: warning: assignment discards qualifiers from pointer
target type
rlm_counter.c: In function `counter_instantiate':
rlm_counter.c:480: warning: assignment discards qualifiers from pointer
target type
rlm_counter.c:501: warning: assignment discards qualifiers from pointer
target type
rlm_counter.c: In function `counter_accounting':
rlm_counter.c:683: warning: assignment from incompatible pointer type
rlm_counter.c: In function `counter_authorize':
rlm_counter.c:824: warning: int format, uint32_t arg (arg 3)
rlm_counter.c:846: warning: int format, uint32_t arg (arg 3)
echo timestamp > rlm_counter.lo
/usr/src/freeradius-0.9.3/libtool --mode=link gcc -release 0.9.3 \
-module -static  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU
_SOURCE -DNDEBUG  -I../../include   \
-o rlm_counter.la -rpath /usr/local/lib
lm_counter.lo -lgdbm -lresolv  -lpthread
libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
shared libraries
rm -fr .libs/rlm_counter.la .libs/rlm_counter.* .libs/rlm_counter-0.9.3.*
ar cru .libs/rlm_counter.a  rlm_counter.o
ranlib .libs/rlm_counter.a
creating rlm_counter.la
(cd .libs && rm -f rlm_counter.la && ln -s ../rlm_counter.la rlm_counter.la)
make[6]: Leaving directory
`/usr/src/freeradius-0.9.3/src/modules/rlm_counter'
Making static dynamic in rlm_dbm...
make[6]: Entering directory `/usr/src/freeradius-0.9.3/src/modules/rlm_dbm'
Makefile:23: *** missing separator (did you mean TAB instead of 8 spaces?).
Stop.
make[6]: Leaving directory `/usr/src/freeradius-0.9.3/src/modules/rlm_dbm'
make[5]: *** [common] Error 1
make[5]: Leaving directory `/usr/src/freeradius-0.9.3/src/modules'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/usr/src/freeradius-0.9.3/src/modules'
make[3]: *** [common] Error 1
make[3]: Leaving directory `/usr/src/freeradius-0.9.3/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/freeradius-0.9.3/src'
make[1]: *** [common] Error 1
make[1]: Leaving directory `/usr/src/freeradius-0.9.3'
make: *** [all] Error 2

Can anyone help?  I need to get this up and running relatively quickly.
I've reinstalled Cygwin with the kitchen sink, and still can't get the thing
to compile.  Does it compile or doesn't it?  If further libs or whatever are
required, then let me know.

-- 
Aaron Clausen


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

Reply via email to