Error compiling cvs-snapshot on FreeBSD 5.4-RELEASE

Valeriy V. Peshkoff peshkoff at gmail.com
Wed Aug 24 14:57:55 CEST 2005


Nicolas Baradakis пишет:

>Valeriy V. Peshkoff wrote:
>
>  
>
>>I'm still unable to compile CVS version of freeradius on Freebsd
>>    
>>
>
>[...]
>
>  
>
>>gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DOPENSSL_NO_KRB5
>>-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../include -DHMAC_SHA1_DATA_PROBLEMS -c dict.c  -fPIC
>>-DPIC -o .libs/dict.o
>>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

-- 
Russia,  St. Petersburg
Quantum Communications
Valeriy V. Peshkov | simps at quantum.ru
+7 (812) 327-6131
+7 (812) 327-1442


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3174 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20050824/89e315df/attachment.bin>


More information about the Freeradius-Users mailing list