Hello,

I just updated to freeradius1.0.0pre3, I am not able to use snmp support with 
freeradius

I am using freeradius with
RedHar Linux9
net-snmp-devel-5.0.9-2.90.1
net-snmp-utils-5.0.9-2.90.1
net-snmp-5.0.9-2.90.1
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-118)
GNU Make version 3.79.1
ltmain.sh (GNU libtool) 1.4.3 (1.922.2.111 2002/10/23 02:54:36)

When i searched the config.log it says:-
configure:7888: checking for ut_xtime in struct utmpx
configure:7904: gcc -c -g -O2 -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS 
-DOPENSSL_NO_KRB5   
conftest.c 1>&5
configure: In function `main':
configure:7900: structure has no member named `ut_xtime'
configure: failed program was:
#line 7892 "configure"


/usr/local/include/ucd-snmp/snmp.h:7:2: #error "Please update your headers or 
configure using
--enable-ucd-snmp-compatibility"
In file included from configure:8257:
/usr/local/include/ucd-snmp/snmp_impl.h:9:2: #error "Please update your headers or 
configure using
--enable-ucd-snmp-compatibility"


my snmp.h listing:-
#ifdef UCD_COMPATIBLE
#include <net-snmp/library/snmp.h>
#else
#error "Please update your headers or configure using --enable-ucd-snmp-compatibility"
#endif

I tried without UCD_COMPATIBLE(comment it out in snmp.h and snmp_impl.h) radius is 
compiled but on
running it gave me segmentation fault.

What I am doing wrong ? and how to fix this ?

Thanks in advance
Babar Shafiq.

=====
God is a great Programmer


        
                
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail 

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

Reply via email to