Compile errors

Dánial Olsen dol at ft.fo
Tue Oct 16 12:08:05 CEST 2007


I'm getting these errors when compiling CVS and 2.0.0-pre2 on OpenBSD
4.1:

Making all in lib...
gmake[3]: Entering directory
`/root/freeradius/freeradius-server-2.0.0-pre2/src/lib'
/root/freeradius/freeradius-server-2.0.0-pre2/libtool --mode=compile
gcc  -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE
-DNDEBUG -D_LIBRADIUS
-I/root/freeradius/freeradius-server-2.0.0-pre2/src -c dict.c
mkdir .libs
 gcc -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -D_GNU_SOURCE
-DNDEBUG -D_LIBRADIUS
-I/root/freeradius/freeradius-server-2.0.0-pre2/src -c dict.c  -fPIC
-DPIC -o .libs/dict.o
In file included from
/root/freeradius/freeradius-server-2.0.0-pre2/src/freeradius-devel/libradius.h:30,
                 from dict.c:26:
/root/freeradius/freeradius-server-2.0.0-pre2/src/freeradius-devel/missing.h:182:
error: redefinition of `struct in6_addr'
In file included from
/root/freeradius/freeradius-server-2.0.0-pre2/src/freeradius-devel/libradius.h:30,
                 from dict.c:26:
/root/freeradius/freeradius-server-2.0.0-pre2/src/freeradius-devel/missing.h:188:1:
warning: "s6_addr" redefined
In file included from /usr/include/netinet/in.h:554,
                 from
/root/freeradius/freeradius-server-2.0.0-pre2/src/freeradius-devel/missing.h:42,
                 from
/root/freeradius/freeradius-server-2.0.0-pre2/src/freeradius-devel/libradius.h:30,
                 from dict.c:26:
/usr/include/netinet6/in6.h:124:1: warning: this is the location of the
previous definition
/root/freeradius/freeradius-server-2.0.0-pre2/src/freeradius-devel/missing.h:272:
error: redefinition of `struct sockaddr_storage'
In file included from dict.c:31:
/usr/include/malloc.h:4:2: warning: #warning "<malloc.h> is obsolete,
use <stdlib.h>"
gmake[3]: *** [dict.lo] Error 1
gmake[3]: Leaving directory
`/root/freeradius/freeradius-server-2.0.0-pre2/src/lib'
gmake[2]: *** [common] Error 2
gmake[2]: Leaving directory
`/root/freeradius/freeradius-server-2.0.0-pre2/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/root/freeradius/freeradius-server-2.0.0-pre2/src'
gmake: *** [common] Error 2
*** Error code 2

Stop in /root/freeradius/freeradius-server-2.0.0-pre2 (line 18 of
Makefile).


Any clues?

/Danial



More information about the Freeradius-Users mailing list