Error compiling cvs-snapshot on FreeBSD 5.4-RELEASE

Valeriy V. Peshkoff peshkoff at gmail.com
Wed Aug 24 09:41:22 CEST 2005


Hi!
I'm still unable to compile CVS version of freeradius on Freebsd
Configure it like that
./configure --prefix=/usr/local/radius

Only this seems bad to me
.....
checking net/if.h usability... no
checking net/if.h presence... yes
configure: WARNING: net/if.h: present but cannot be compiled
configure: WARNING: net/if.h:     check for missing prerequisite headers?
configure: WARNING: net/if.h: see the Autoconf documentation
configure: WARNING: net/if.h:     section "Present But Cannot Be Compiled"
configure: WARNING: net/if.h: proceeding with the preprocessor's result
configure: WARNING: net/if.h: in the future, the compiler will take 
precedence
configure: WARNING:     ## ------------------------------------------ ##
configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
configure: WARNING:     ## ------------------------------------------ ##
checking for net/if.h... yes
......

radius1[root]:.../freeradius-snapshot-20050823 # gmake all
gmake[1]: Entering directory `/root/freeradius-snapshot-20050823'
Making all in libltdl...
gmake[2]: Entering directory `/root/freeradius-snapshot-20050823/libltdl'
/usr/local/bin/gmake  all-am
gmake[3]: Entering directory `/root/freeradius-snapshot-20050823/libltdl'
/usr/local/bin/bash ./libtool --mode=compile --tag=CC gcc 
-DHAVE_CONFIG_H -I. -I. -I.     -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 -c -o ltdl.lo ltdl.c
mkdir .libs
 gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c ltdl.c  -fPIC -DPIC -o 
.libs/ltdl.o
ltdl.c:119:5: warning: "HAVE_ARGZ_H" is not defined
ltdl.c:131:5: warning: "WITH_DMALLOC" is not defined
ltdl.c:229:5: warning: "WITH_DMALLOC" is not defined
ltdl.c:563:7: warning: "HAVE_ARGZ_APPEND" is not defined
ltdl.c:605:7: warning: "HAVE_ARGZ_CREATE_SEP" is not defined
ltdl.c:668:7: warning: "HAVE_ARGZ_INSERT" is not defined
ltdl.c:725:7: warning: "HAVE_ARGZ_NEXT" is not defined
ltdl.c: In function `rpl_argz_next':
ltdl.c:752: warning: cast discards qualifiers from pointer target type
ltdl.c:770:7: warning: "HAVE_ARGZ_STRINGIFY" is not defined
ltdl.c:1057:5: warning: "HAVE_SYS_DL_H" is not defined
ltdl.c: At top level:
ltdl.c:1104: warning: function declaration isn't a prototype
ltdl.c:1119: warning: function declaration isn't a prototype
ltdl.c:1135: warning: function declaration isn't a prototype
ltdl.c:1165:5: warning: "HAVE_SHL_LOAD" is not defined
ltdl.c:1519:5: warning: "HAVE_DLD" is not defined
ltdl.c:1587:5: warning: "HAVE_DYLD" is not defined
ltdl.c:1948: warning: function declaration isn't a prototype
ltdl.c:1967: warning: function declaration isn't a prototype
ltdl.c:1989: warning: function declaration isn't a prototype
ltdl.c:1997: warning: function declaration isn't a prototype
ltdl.c:2035: warning: function declaration isn't a prototype
ltdl.c: In function `presym_open':
ltdl.c:2067: warning: cast discards qualifiers from pointer target type
ltdl.c: At top level:
ltdl.c:2085: warning: function declaration isn't a prototype
ltdl.c:2095: warning: function declaration isn't a prototype
ltdl.c:2214:5: warning: "HAVE_SHL_LOAD" is not defined
ltdl.c:2223:5: warning: "HAVE_DLD" is not defined
ltdl.c:2226:5: warning: "HAVE_DYLD" is not defined
ltdl.c:2455: warning: function declaration isn't a prototype
ltdl.c: In function `foreach_dirinpath':
ltdl.c:2684: warning: comparison between signed and unsigned
ltdl.c:2693: warning: comparison between signed and unsigned
ltdl.c: In function `try_dlopen':
ltdl.c:3137: warning: comparison between signed and unsigned
ltdl.c: In function `lt_dlpath_insertdir':
ltdl.c:3989: warning: comparison between signed and unsigned
ltdl.c: In function `lt_dlinsertsearchdir':
ltdl.c:4051: warning: cast discards qualifiers from pointer target type
ltdl.c: At top level:
ltdl.c:2769: warning: unused parameter 'ignored'
ltdl.c:1135: warning: unused parameter 'loader_data'
ltdl.c:1119: warning: unused parameter 'loader_data'
ltdl.c:1104: warning: unused parameter 'loader_data'
ltdl.c:1989: warning: unused parameter 'loader_data'
ltdl.c:2095: warning: unused parameter 'loader_data'
ltdl.c:2085: warning: unused parameter 'loader_data'
ltdl.c:2035: warning: unused parameter 'loader_data'
ltdl.c:1948: warning: unused parameter 'loader_data'
 gcc -DHAVE_CONFIG_H -I. -I. -I. -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 -c ltdl.c -o ltdl.o 
 >/dev/null 2>&1
/usr/local/bin/bash ./libtool --mode=link --tag=CC 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   
-o libltdl.la -rpath /usr/local/radius//lib -no-undefined -version-info 
4:0:1 ltdl.lo  -lcrypto  -lpthread
gcc -shared  .libs/ltdl.o  -lcrypto -lpthread  -Wl,-soname 
-Wl,libltdl.so.4 -o .libs/libltdl.so.4
(cd .libs && rm -f libltdl.so && ln -s libltdl.so.4 libltdl.so)
(cd .libs && rm -f libltdl.so && ln -s libltdl.so.4 libltdl.so)
ar cru .libs/libltdl.a  ltdl.o
ranlib .libs/libltdl.a
creating libltdl.la
(cd .libs && rm -f libltdl.la && ln -s ../libltdl.la libltdl.la)
gmake[3]: Leaving directory `/root/freeradius-snapshot-20050823/libltdl'
gmake[2]: Leaving directory `/root/freeradius-snapshot-20050823/libltdl'
Making all in src...
gmake[2]: Entering directory `/root/freeradius-snapshot-20050823/src'
gmake[3]: Entering directory `/root/freeradius-snapshot-20050823/src'
Making all in include...
gmake[4]: Entering directory 
`/root/freeradius-snapshot-20050823/src/include'
gmake[4]: Цель `all' не требует выполнения команд.
gmake[4]: Leaving directory `/root/freeradius-snapshot-20050823/src/include'
Making all in lib...
gmake[4]: Entering directory `/root/freeradius-snapshot-20050823/src/lib'
/root/freeradius-snapshot-20050823/libtool --mode=compile 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
mkdir .libs
 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'
dict.c: In function `dict_stat_free':
dict.c:113: warning: passing arg 1 of `free' discards qualifiers from 
pointer target type
dict.c:115: warning: passing arg 1 of `free' discards qualifiers from 
pointer target type
dict.c:125: warning: passing arg 1 of `free' discards qualifiers from 
pointer target type
dict.c: In function `dict_attrbyname':
dict.c:1155: warning: comparison between signed and unsigned
gmake[4]: *** [dict.lo] Ошибка 1
gmake[4]: Leaving directory `/root/freeradius-snapshot-20050823/src/lib'
gmake[3]: *** [common] Ошибка 2
gmake[3]: Leaving directory `/root/freeradius-snapshot-20050823/src'
gmake[2]: *** [all] Ошибка 2
gmake[2]: Leaving directory `/root/freeradius-snapshot-20050823/src'
gmake[1]: *** [common] Ошибка 2
gmake[1]: Leaving directory `/root/freeradius-snapshot-20050823'
gmake: *** [all] Ошибка 2
radius1[root]:.../freeradius-snapshot-20050823 #

-- 
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/960f7b30/attachment.bin>


More information about the Freeradius-Users mailing list