Dear All,
I try to compile net-snmp with QoS modules, but got errors when compiling
the source.
Here's my command :
./configure --enable-ucd-snmp-compatibility --without-dmalloc --without-efen
ce --without-rsaref --with-mib-modules="host smux ucd-snmp/dlmod
qos" --with-defaults
Here's the error log :
In file included from /usr/include/arpa/nameser.h:552,
from /usr/include/resolv.h:65,
from qos_checkfns_local.c:33:
/usr/include/arpa/nameser_compat.h:88: warning: `MAXLABEL' redefined
../../include/net-snmp/library/parse.h:32: warning: this is the location of
the previous definition
qos_checkfns_local.c: In function `insert_entry':
qos_checkfns_local.c:308: `TCA_HTB_RTAB' undeclared (first use in this
function)
qos_checkfns_local.c:308: (Each undeclared identifier is reported only once
qos_checkfns_local.c:308: for each function it appears in.)
qos_checkfns_local.c:308: size of array `tb2' has non-integer type
qos_checkfns_local.c:314: dereferencing pointer to incomplete type
qos_checkfns_local.c:315: dereferencing pointer to incomplete type
qos_checkfns_local.c:316: dereferencing pointer to incomplete type
qos_checkfns_local.c:317: dereferencing pointer to incomplete type
qos_checkfns_local.c:319: dereferencing pointer to incomplete type
qos_checkfns_local.c:319: dereferencing pointer to incomplete type
qos_checkfns_local.c:320: dereferencing pointer to incomplete type
qos_checkfns_local.c:320: dereferencing pointer to incomplete type
qos_checkfns_local.c:323: dereferencing pointer to incomplete type
qos_checkfns_local.c:324: dereferencing pointer to incomplete type
qos_checkfns_local.c:326: dereferencing pointer to incomplete type
qos_checkfns_local.c:334: `TCA_HTB_PARMS' undeclared (first use in this
function)
qos_checkfns_local.c:337: dereferencing pointer to incomplete type
qos_checkfns_local.c:341: dereferencing pointer to incomplete type
qos_checkfns_local.c:342: dereferencing pointer to incomplete type
qos_checkfns_local.c:343: dereferencing pointer to incomplete type
make[2]: *** [qos_checkfns_local.lo] Error 1
make[2]: Leaving directory `/usr/local/src/net-snmp-5.1/agent/mibgroup'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/usr/local/src/net-snmp-5.1/agent'
make: *** [subdirs] Error 1
And I got the patch QoS modules from http://x-ray.prokon.cz/data/snmp/.
Any ideas would be really helpful.
Thanks
Regards,
Kris
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users