[quagga-dev 3699] net-snmp problem
lich at math.spbu.ru
Fri Sep 30 07:34:57 BST 2005
I use quagga-0.99.1 and net-snmp-188.8.131.52
I have net-snmp includes installed in /usr/local/include/net-snmp
I'm trying to configure quagga with following options:
./configure --enable-snmp --disable-ipv6
It's successfully compiled, but I've notice no snmp code in it, no
constants HAVE_SNMP nor HAVE_NETSNMP defined.
Looking through the configure.ac script, I found that it doesn't checks
asn1.h in /usr/local/include/net-snmp/library, only
I've added /usr/local/include/net-snmp/library/asn1.h in that list, and
started process again. (autoconf, configure, make)
It failed, complaing that it cannot include asn1.h and other snmp-
When I replaced following piece of code in all snmp-related files
#if defined HAVE_NET_SNMP || defined HAVE_NETSNMP
It somehow compiled.
Also, I've noticed two different constants: HAVE_NET_SNMP and
HAVE_NETSNMP. What's the difference?
Please, tell me all Black Magic with net-snmp in quagga!
More information about the Quagga-dev