I think we're good to go for tomorrow.

Arran Cudbard-Bell A.Cudbard-Bell at sussex.ac.uk
Thu Jan 10 10:21:25 CET 2008


Alan DeKok wrote:
>   Alan Buxey ran into an issue with an infinite loop when a home server
> was marked down.  I've just tracked it down and committed a fix.
> 
>   I've also run the server through valgrind, and corrected one or two
> other memory leaks on exit.  They're not critical, but it's useful to fix.
> 
>   Alan DeKok.
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html

ssing-prototypes -Wmissing-declarations -Wnested-externs -W 
-Wredundant-decls -Wundef -I/usr/local/src/freeradius-cvscurrent/src 
-I/usr/local/src/freeradius-cvscurrent/libltdl -c rlm_acctlog.c -o 
rlm_acctlog.o >/dev/null 2>&1
/usr/local/src/freeradius-cvscurrent/libtool --mode=link gcc -release 
2.0.0-beta \
-module -export-dynamic   -o rlm_acctlog.la     \
-rpath /usr/local/freeradius-cvs100108/lib rlm_acctlog.lo rlm_acctlog.c 
/usr/local/src/freeradius-cvscurrent/src/lib/libfreeradius-radius.la 
-framework DirectoryService -lresolv  -lpthread
gcc ${wl}-flat_namespace ${wl}-undefined ${wl}suppress -o 
.libs/rlm_acctlog-2.0.0-beta.so -bundle  .libs/rlm_acctlog.o 
/usr/local/src/freeradius-cvscurrent/src/lib/.libs/libfreeradius-radius.dylib 
-lresolv -lpthread -framework DirectoryService
(cd .libs && rm -f rlm_acctlog.so && ln -s rlm_acctlog-2.0.0-beta.so 
rlm_acctlog.so)
ar cru .libs/rlm_acctlog.a  rlm_acctlog.o
ranlib .libs/rlm_acctlog.a
creating rlm_acctlog.la
(cd .libs && rm -f rlm_acctlog.la && ln -s ../rlm_acctlog.la rlm_acctlog.la)
usage: cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src target
        cp [-R [-H | -L | -P]] [-f | -i | -n] [-pv] src1 ... srcN directory
make[6]: *** [build-module] Error 64
make[5]: *** [common] Error 2
make[4]: *** [all] Error 2
make[3]: *** [common] Error 2
make[2]: *** [all] Error 2
make[1]: *** [common] Error 2
make: *** [all] Error 2

MACs use BSD Style cp command, if that makes a difference.

Also I see you've cleaned up the code to get rid of build time warnings 
. But theres still issues in misc.c

/usr/local/src/freeradius-cvscurrent/libtool --mode=compile gcc  -g -O2 
-D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DDARWIN -Wall -D_GNU_SOURCE -g 
-Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wwrite-strings 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -W -Wredundant-decls -Wundef -D_LIBRADIUS 
-I/usr/local/src/freeradius-cvscurrent/src -c misc.c
  gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DDARWIN -Wall 
-D_GNU_SOURCE -g -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes 
-Wmissing-declarations -Wnested-externs -W -Wredundant-decls -Wundef 
-D_LIBRADIUS -I/usr/local/src/freeradius-cvscurrent/src -c misc.c 
-fno-common -DPIC -o .libs/misc.o
misc.c: In function 'rad_lockfd':
misc.c:60: warning: unused parameter 'lock_len'
misc.c: In function 'rad_lockfd_nonblock':
misc.c:83: warning: unused parameter 'lock_len'
misc.c: In function 'rad_unlockfd':
misc.c:106: warning: unused parameter 'lock_len'




More information about the Freeradius-Devel mailing list