Error compiling cvs-snapshot on FreeBSD 5.4-RELEASE

Nicolas Baradakis nbk at sitadelle.com
Wed Aug 24 15:49:48 CEST 2005


Valeriy V. Peshkoff wrote:

>>> In file included from ../include/libradius.h:38,
>>>                from dict.c:42:
>>> /usr/include/sys/socket.h:243: error: redefinition of `struct
>>> sockaddr_storage'
>> 
>> It seems to me the bug is either in autoconf or in FreeBSD headers.
>> I don't know what could be done in FreeRADIUS to work around it.
>> 
>> You could possibly try:
>> 1. Install the latest autoconf version and run a "make configure".
>> 2. If it still doesn't work, try to use 
>> CFLAGS=-DHAVE_STRUCT_SOCKADDR_STORAGE
> 
> But i've compile 1.0.4 version on this server without any problem

Version 1.0.4 uses autoconf 2.13, lastest CVS uses autoconf 2.59.

Did you try to regenerate "configure" with the autotools from the
FreeBSD port ?

-- 
Nicolas Baradakis




More information about the Freeradius-Users mailing list