SUN_LEN Error

Alan DeKok aland at deployingradius.com
Fri Dec 12 09:35:59 CET 2008


Anton Borisov wrote:
> Good day!

  You don't need to post the same message multiple times.

> I try to use new version 2.1.3 in Solaris10.
> (uname -a SunOS xxxxx 5.10 Generic_125100-06 sun4u sparc SUNW,Netra-240)
...
> Undefined                       first referenced
>  symbol                             in file
> SUN_LEN                             .libs/listen.o

  You need to add:

#define SUN_LEN(su)  (sizeof(*(su)) - sizeof((su)->sun_path) +
strlen((su)->sun_path))

  to src/include/radiusd.h

  Apparently Solaris doesn't have SUN_LEN

  Alan DeKok.



More information about the Freeradius-Users mailing list