Greetings,

I'm having problems installing freeradius on an 'inherited' server. 0.2, 
0.3, 0.4 and 0.5 all don't complile and/or executable crashes.  Please 
comment on the following. radiusd -X output at end of email. Thanks in 
advance.


#uname -a
FreeBSD 4.4-RC FreeBSD 4.4-RC #0:

make warnings and errors:

misc.c: In function `ip_hostname':
misc.c:57: warning: implicit declaration of function `gethostbyaddr_r'
In file included from eap.h:17,
                 from rlm_eap.c:25:
/usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
../../include/missing.h:73: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
../../include/missing.h:77: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
../../include/missing.h:81: warning: this is the location of the previous 
definition
In file included from eap.h:17,
                 from eap.c:56:
/usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
../../include/missing.h:73: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
../../include/missing.h:77: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
../../include/missing.h:81: warning: this is the location of the previous 
definition
In file included from eap.h:17,
                 from mem.c:24:
/usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
../../include/missing.h:73: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
../../include/missing.h:77: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
../../include/missing.h:81: warning: this is the location of the previous 
definition
In file included from eap.h:17,
                 from state.c:23:
/usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
../../include/missing.h:73: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
../../include/missing.h:77: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
../../include/missing.h:81: warning: this is the location of the previous 
definition
In file included from ../../eap.h:17,
                 from eap_md5.h:4,
                 from rlm_eap_md5.c:29:
/usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
../../../../include/missing.h:73: warning: this is the location of the 
previous definition
/usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
../../../../include/missing.h:77: warning: this is the location of the 
previous definition
/usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
../../../../include/missing.h:81: warning: this is the location of the 
previous definition
In file included from ../../eap.h:17,
                 from eap_md5.c:39:
/usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
../../../../include/missing.h:73: warning: this is the location of the 
previous definition
/usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
../../../../include/missing.h:77: warning: this is the location of the 
previous definition
/usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
../../../../include/missing.h:81: warning: this is the location of the 
previous definition
In file included from eap.h:17,
                 from rlm_eap.c:25:
/usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
../../include/missing.h:73: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
../../include/missing.h:77: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
../../include/missing.h:81: warning: this is the location of the previous 
definition
In file included from eap.h:17,
                 from eap.c:56:
/usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
../../include/missing.h:73: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
../../include/missing.h:77: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
../../include/missing.h:81: warning: this is the location of the previous 
definition
In file included from eap.h:17,
                 from mem.c:24:
/usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
../../include/missing.h:73: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
../../include/missing.h:77: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
../../include/missing.h:81: warning: this is the location of the previous 
definition
In file included from eap.h:17,
                 from state.c:23:
/usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
../../include/missing.h:73: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
../../include/missing.h:77: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
../../include/missing.h:81: warning: this is the location of the previous 
definition
In file included from ../../eap.h:17,
                 from eap_md5.h:4,
                 from rlm_eap_md5.c:29:
/usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
../../../../include/missing.h:73: warning: this is the location of the 
previous definition
/usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
../../../../include/missing.h:77: warning: this is the location of the 
previous definition
/usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
../../../../include/missing.h:81: warning: this is the location of the 
previous definition
In file included from ../../eap.h:17,
                 from eap_md5.c:39:
/usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
../../../../include/missing.h:73: warning: this is the location of the 
previous definition
/usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
../../../../include/missing.h:77: warning: this is the location of the 
previous definition
/usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
../../../../include/missing.h:81: warning: this is the location of the 
previous definition
In file included from /usr/local/include/python2.1/Python.h:24,
                 from rlm_python.c:33:
/usr/local/include/python2.1/config.h:165: warning: `_POSIX_THREADS' 
redefined
/usr/include/sys/unistd.h:71: warning: this is the location of the previous 
definition
In file included from /usr/local/include/python2.1/Python.h:24,
                 from rlm_python.c:33:
/usr/local/include/python2.1/config.h:165: warning: `_POSIX_THREADS' 
redefined
/usr/include/sys/unistd.h:71: warning: this is the location of the previous 
definition
sql.c: In function `sql_check_ts':
sql.c:356: warning: passing arg 2 of `signal' from incompatible pointer type
sql.c: In function `sql_check_ts':
sql.c:356: warning: passing arg 2 of `signal' from incompatible pointer type
cache.c: In function `unix_buildpwcache':
cache.c:85: warning: unused variable `cur'
cache.c: In function `unix_buildpwcache':
cache.c:85: warning: unused variable `cur'
In file included from x99_rlm.c:52:
/usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
../../include/missing.h:73: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
../../include/missing.h:77: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
../../include/missing.h:81: warning: this is the location of the previous 
definition
x99_sync.c: In function `x99_acquire_sd_lock':
x99_sync.c:283: warning: `fd' might be used uninitialized in this function
In file included from x99_rlm.c:52:
/usr/include/netinet/in.h:267: warning: `INADDR_ANY' redefined
../../include/missing.h:73: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:268: warning: `INADDR_LOOPBACK' redefined
../../include/missing.h:77: warning: this is the location of the previous 
definition
/usr/include/netinet/in.h:271: warning: `INADDR_NONE' redefined
../../include/missing.h:81: warning: this is the location of the previous 
definition
x99_sync.c: In function `x99_acquire_sd_lock':
x99_sync.c:283: warning: `fd' might be used uninitialized in this function
modcall.c:325: warning: `dump_tree' defined but not used
/usr/lib/libcipher.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libcipher.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libcipher.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libcipher.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so.4: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so.4: warning: mktemp() possibly used unsafely; consider using 
mkstemp()
/usr/lib/libc.so.4: warning: tmpnam() possibly used unsafely; consider using 
mkstemp()
/usr/lib/libc.so.4: warning: this program uses f_prealloc(), which is 
stupid.
/usr/lib/libc.so.4: warning: tempnam() possibly used unsafely; consider 
using mkstemp()
/usr/lib/libc.so: WARNING!  setkey(3) not present in the system!
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using 
mkstemp()
/usr/lib/libc.so: WARNING!  des_setkey(3) not present in the system!
/usr/lib/libc.so: WARNING!  encrypt(3) not present in the system!
/usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using 
mkstemp()
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is stupid.
/usr/lib/libc.so: WARNING!  des_cipher(3) not present in the system!
/usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider using 
mkstemp()
radclient.c: In function `readvp':
radclient.c:93: warning: passing arg 2 of `pairread' from incompatible 
pointer type


#radiusd -X

Module: Instantiated files (files)
Module: Loaded Acct-Unique-Session-Id
acct_unique: key = "User-Name, Acct-Session-Id, NAS-IP-Address, 
Client-IP-Address, NAS-Port-Id"
Module: Instantiated acct_unique (acct_unique)
Module: Loaded detail
detail: detailfile = "/var/log/radius/radacct/%{Client-IP-Address}/detail"
detail: detailperm = 384
detail: dirperm = 493
Module: Instantiated detail (detail)
Module: Loaded radutmp
radutmp: filename = "/var/log/radius/radutmp"
radutmp: perm = 384
radutmp: callerid = yes
Module: Instantiated radutmp (radutmp)
Listening on IP address *, ports 1645/udp and 1646/udp, with proxy on 
1647/udp.
Ready to process requests.
modcall: entering group preacct
  modcall[preacct]: module "suffix" returns ok
Segmentation fault (core dumped)


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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

Reply via email to