Hello,

I am trying to compile freeradius-0.9.1 with snmp support
on a RedHat 9.0 with net-snmp-5.0.6-17.

I found the following errors in config.log:

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

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

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

I am using --enable-ucd-snmp-compatibility when I run configure.

When I did a search on this list, I did find a thread on this subject,
Dated: Tue, 29 Jul 2003, RE: Need Help with SNMP.

The previous post suggests:

1. remove the ifdefs in the headers files in /usr/include/ucd-snmp
If I do this, I get the following errors:

/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libsnmp.so: undefined
reference to `EVP_DigestInit'
.... [SNIPPED OUT OTHER ERRORS]
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libsnmp.so: undefined
reference to `AES_cfb128_encrypt'

AND

/usr/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
.... [SNIPPED OUT OTHER ERRORS]
/usr/lib/libsnmp.so: undefined reference to `AES_cfb128_encrypt'


2. OR down grade to ucd-snmp-4.2.6 since the net-snmp-5.0.6-17
headers contain:

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


AND the previous post also says:

"I think that when the --enable-ucb-snmp-compatibility switch is passed
to ./configure, the configure script does not #define UCD_COMPATABILITY.
This might be the problem."

Sorry for such a long post, I was wondering if anyone has
any other suggestions or work arounds?

Thanks,

Dave


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

Reply via email to