Dear Phil Langraf,
I have same warnings during compilation, but everything works. If you
want to upgrade existing radius installation make sure to remove older
installation first.
--Saturday, April 6, 2002, 4:26:35 AM, you wrote to [EMAIL PROTECTED]:
PL> Greetings,
PL> I'm having problems installing freeradius on an 'inherited' server. 0.2,
PL> 0.3, 0.4 and 0.5 all don't complile and/or executable crashes. Please
PL> comment on the following. radiusd -X output at end of email. Thanks in
PL> advance.
PL> #uname -a
PL> FreeBSD 4.4-RC FreeBSD 4.4-RC #0:
PL> make warnings and errors:
PL> misc.c: In function `ip_hostname':
PL> misc.c:57: warning: implicit declaration of function `gethostbyaddr_r'
PL> In file included from eap.h:17,
PL> from rlm_eap.c:25:
PL> /usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
PL> ../../include/missing.h:73: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
PL> ../../include/missing.h:77: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
PL> ../../include/missing.h:81: warning: this is the location of the previous
PL> definition
PL> In file included from eap.h:17,
PL> from eap.c:56:
PL> /usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
PL> ../../include/missing.h:73: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
PL> ../../include/missing.h:77: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
PL> ../../include/missing.h:81: warning: this is the location of the previous
PL> definition
PL> In file included from eap.h:17,
PL> from mem.c:24:
PL> /usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
PL> ../../include/missing.h:73: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
PL> ../../include/missing.h:77: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
PL> ../../include/missing.h:81: warning: this is the location of the previous
PL> definition
PL> In file included from eap.h:17,
PL> from state.c:23:
PL> /usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
PL> ../../include/missing.h:73: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
PL> ../../include/missing.h:77: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
PL> ../../include/missing.h:81: warning: this is the location of the previous
PL> definition
PL> In file included from ../../eap.h:17,
PL> from eap_md5.h:4,
PL> from rlm_eap_md5.c:29:
PL> /usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
PL> ../../../../include/missing.h:73: warning: this is the location of the
PL> previous definition
PL> /usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
PL> ../../../../include/missing.h:77: warning: this is the location of the
PL> previous definition
PL> /usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
PL> ../../../../include/missing.h:81: warning: this is the location of the
PL> previous definition
PL> In file included from ../../eap.h:17,
PL> from eap_md5.c:39:
PL> /usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
PL> ../../../../include/missing.h:73: warning: this is the location of the
PL> previous definition
PL> /usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
PL> ../../../../include/missing.h:77: warning: this is the location of the
PL> previous definition
PL> /usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
PL> ../../../../include/missing.h:81: warning: this is the location of the
PL> previous definition
PL> In file included from eap.h:17,
PL> from rlm_eap.c:25:
PL> /usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
PL> ../../include/missing.h:73: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
PL> ../../include/missing.h:77: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
PL> ../../include/missing.h:81: warning: this is the location of the previous
PL> definition
PL> In file included from eap.h:17,
PL> from eap.c:56:
PL> /usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
PL> ../../include/missing.h:73: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
PL> ../../include/missing.h:77: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
PL> ../../include/missing.h:81: warning: this is the location of the previous
PL> definition
PL> In file included from eap.h:17,
PL> from mem.c:24:
PL> /usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
PL> ../../include/missing.h:73: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
PL> ../../include/missing.h:77: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
PL> ../../include/missing.h:81: warning: this is the location of the previous
PL> definition
PL> In file included from eap.h:17,
PL> from state.c:23:
PL> /usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
PL> ../../include/missing.h:73: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
PL> ../../include/missing.h:77: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
PL> ../../include/missing.h:81: warning: this is the location of the previous
PL> definition
PL> In file included from ../../eap.h:17,
PL> from eap_md5.h:4,
PL> from rlm_eap_md5.c:29:
PL> /usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
PL> ../../../../include/missing.h:73: warning: this is the location of the
PL> previous definition
PL> /usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
PL> ../../../../include/missing.h:77: warning: this is the location of the
PL> previous definition
PL> /usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
PL> ../../../../include/missing.h:81: warning: this is the location of the
PL> previous definition
PL> In file included from ../../eap.h:17,
PL> from eap_md5.c:39:
PL> /usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
PL> ../../../../include/missing.h:73: warning: this is the location of the
PL> previous definition
PL> /usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
PL> ../../../../include/missing.h:77: warning: this is the location of the
PL> previous definition
PL> /usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
PL> ../../../../include/missing.h:81: warning: this is the location of the
PL> previous definition
PL> In file included from /usr/local/include/python2.1/Python.h:24,
PL> from rlm_python.c:33:
PL> /usr/local/include/python2.1/config.h:165: warning: `_POSIX_THREADS'
PL> redefined
PL> /usr/include/sys/unistd.h:71: warning: this is the location of the previous
PL> definition
PL> In file included from /usr/local/include/python2.1/Python.h:24,
PL> from rlm_python.c:33:
PL> /usr/local/include/python2.1/config.h:165: warning: `_POSIX_THREADS'
PL> redefined
PL> /usr/include/sys/unistd.h:71: warning: this is the location of the previous
PL> definition
PL> sql.c: In function `sql_check_ts':
PL> sql.c:356: warning: passing arg 2 of `signal' from incompatible pointer type
PL> sql.c: In function `sql_check_ts':
PL> sql.c:356: warning: passing arg 2 of `signal' from incompatible pointer type
PL> cache.c: In function `unix_buildpwcache':
PL> cache.c:85: warning: unused variable `cur'
PL> cache.c: In function `unix_buildpwcache':
PL> cache.c:85: warning: unused variable `cur'
PL> In file included from x99_rlm.c:52:
PL> /usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
PL> ../../include/missing.h:73: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
PL> ../../include/missing.h:77: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
PL> ../../include/missing.h:81: warning: this is the location of the previous
PL> definition
PL> x99_sync.c: In function `x99_acquire_sd_lock':
PL> x99_sync.c:283: warning: `fd' might be used uninitialized in this function
PL> In file included from x99_rlm.c:52:
PL> /usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
PL> ../../include/missing.h:73: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
PL> ../../include/missing.h:77: warning: this is the location of the previous
PL> definition
PL> /usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
PL> ../../include/missing.h:81: warning: this is the location of the previous
PL> definition
PL> x99_sync.c: In function `x99_acquire_sd_lock':
PL> x99_sync.c:283: warning: `fd' might be used uninitialized in this function
PL> modcall.c:325: warning: `dump_tree' defined but not used
PL> /usr/lib/libcipher.so: WARNING! setkey(3) not present in the system!
PL> /usr/lib/libcipher.so: WARNING! des_setkey(3) not present in the system!
PL> /usr/lib/libcipher.so: WARNING! encrypt(3) not present in the system!
PL> /usr/lib/libcipher.so: WARNING! des_cipher(3) not present in the system!
PL> /usr/lib/libc.so.4: warning: this program uses gets(), which is unsafe.
PL> /usr/lib/libc.so.4: warning: mktemp() possibly used unsafely; consider using
PL> mkstemp()
PL> /usr/lib/libc.so.4: warning: tmpnam() possibly used unsafely; consider using
PL> mkstemp()
PL> /usr/lib/libc.so.4: warning: this program uses f_prealloc(), which is
PL> stupid.
PL> /usr/lib/libc.so.4: warning: tempnam() possibly used unsafely; consider
PL> using mkstemp()
PL> /usr/lib/libc.so: WARNING! setkey(3) not present in the system!
PL> /usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
PL> /usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using
PL> mkstemp()
PL> /usr/lib/libc.so: WARNING! des_setkey(3) not present in the system!
PL> /usr/lib/libc.so: WARNING! encrypt(3) not present in the system!
PL> /usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using
PL> mkstemp()
PL> /usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid.
PL> /usr/lib/libc.so: WARNING! des_cipher(3) not present in the system!
PL> /usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using
PL> mkstemp()
PL> radclient.c: In function `readvp':
PL> radclient.c:93: warning: passing arg 2 of `pairread' from incompatible
PL> pointer type
PL> #radiusd -X
PL> Module: Instantiated files (files)
PL> Module: Loaded Acct-Unique-Session-Id
PL> acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address,
PL> Client-IP-Address, NAS-Port-Id"
PL> Module: Instantiated acct_unique (acct_unique)
PL> Module: Loaded detail
PL> detail: detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/detail"
PL> detail: detailperm = 384
PL> detail: dirperm = 493
PL> Module: Instantiated detail (detail)
PL> Module: Loaded radutmp
PL> radutmp: filename = "/var/log/radius/radutmp"
PL> radutmp: perm = 384
PL> radutmp: callerid = yes
PL> Module: Instantiated radutmp (radutmp)
PL> Listening on IP address *, ports 1645/udp and 1646/udp, with proxy on
PL> 1647/udp.
PL> Ready to process requests.
PL> modcall: entering group preacct
PL> modcall[preacct]: module "suffix" returns ok
PL> Segmentation fault (core dumped)
PL> _________________________________________________________________
PL> Chat with friends online, try MSN Messenger: http://messenger.msn.com
PL> -
PL> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
--
~/ZARAZA
����� ������� ���� ���� ������� � � ���� ����� ���������
����, ��� � ��������� �� ���� ���������. (����)
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html