I'm running redhat 7.2 and I am unable to compile the latest snapshots. I get this: Making all in lib... gmake[4]: Entering directory `/usr/local/src/freeradius-snapshot-20020304/src/lib' gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE -DND EBUG -D_LIBRADIUS -I../include -c misc.c misc.c: In function `ip_hostname': misc.c:57: warning: passing arg 7 of `gethostbyaddr_r' from incompatible pointer type misc.c:57: too few arguments to function `gethostbyaddr_r' misc.c:57: warning: assignment makes pointer from integer without a cast misc.c: In function `ip_getaddr': misc.c:90: warning: passing arg 5 of `gethostbyname_r' from incompatible pointer type misc.c:90: too few arguments to function `gethostbyname_r' misc.c:90: warning: assignment makes pointer from integer without a cast gmake[4]: *** [misc.o] Error 1 gmake[4]: Leaving directory `/usr/local/src/freeradius-snapshot-20020304/src/lib' gmake[3]: *** [common] Error 1 gmake[3]: Leaving directory `/usr/local/src/freeradius-snapshot-20020304/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/local/src/freeradius-snapshot-20020304/src' gmake[1]: *** [common] Error 1 gmake[1]: Leaving directory `/usr/local/src/freeradius-snapshot-20020304' make: *** [all] Error 2
I was originally using snapshot 20020223 until, when using Simultaneous-Use, radiusd crashed with: undefined symbol: rad_unlockfd..... Sure enough, I went a hunting through the source for the definition of that function and sure enough, there was no such animal. There was a declaration in one of the headers and it was being called in several places, but not defined anywhere. I downloaded the latest snapshot and now I'm getting the above. Autoconf correctly sees that I have 'gethostbyaddr_r' but the header and the lib that has the versions that this snapshot uses are in lwres/netdb.h and liblwres.so/liblwres.a respectively. Is this just something redhat has doen. Do you have any suggestions on fixing it? Thanks, vec - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
