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 | [EMAIL PROTECTED]
+7 (812) 327-6131
+7 (812) 327-1442


Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to