Hi!
I can't compile last snapshot with errors:
misc.c:57: too few arguments to function `gethostbyaddr_r'
misc.c:90: too few arguments to function `gethostbyname_r'
in src/lib/misc.c:57
hp = gethostbyname_r(host, &result, buffer, sizeof(buffer), &error);
gethostbyname_r have a 5 arguments.
in /usr/include/netdb.h:
extern int gethostbyname_r (__const char *__restrict __name,
struct hostent *__restrict __result_buf,
char *__restrict __buf, size_t __buflen,
struct hostent **__restrict __result,
int *__restrict __h_errnop) __THROW;
6 args.
Slackware-8.0 glibc-2.2.3
what's wrong?
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html