errors in proccess build
Андрей - <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi. I can't build net-snmp for python: # python setup.py build > netsnmp/client_intf.c:3:38: error: net-snmp/net-snmp-config.h: No such file > or directory > netsnmp/client_intf.c:4:40: error: net-snmp/net-snmp-includes.h: No such > file or directory > netsnmp/client_intf.c:68: error: expected '=', ',', ';', 'asm' or > '__attribute__' before 'SnmpSession' > netsnmp/client_intf.c:77: error: expected declaration specifiers or '...' > before 'netsnmp_variable_list' > netsnmp/client_intf.c:79: error: expected declaration specifiers or '...' > before 'oid' > netsnmp/client_intf.c:80: error: expected declaration specifiers or '...' > before 'oid' > netsnmp/client_intf.c:83: error: expected ')' before '*' token > netsnmp/client_intf.c:86: error: expected ')' before '*' token > netsnmp/client_intf.c:87: error: expected declaration specifiers or '...' > before 'oid' > netsnmp/client_intf.c:88: error: expected ')' before '*' token > netsnmp/client_intf.c:89: error: expected ')' before '*' token > netsnmp/client_intf.c: In function '__libraries_init': > netsnmp/client_intf.c:126: error: 'NETSNMP_DS_LIBRARY_ID' undeclared (first > use in this function) > netsnmp/client_intf.c:126: error: (Each undeclared identifier is reported > only once > netsnmp/client_intf.c:126: error: for each function it appears in.) > netsnmp/client_intf.c:126: error: 'NETSNMP_DS_LIB_DONT_BREAKDOWN_OIDS' > undeclared (first use in this function) > netsnmp/client_intf.c:127: error: 'NETSNMP_DS_LIB_PRINT_SUFFIX_ONLY' > undeclared (first use in this function) > netsnmp/client_intf.c:128: error: 'NETSNMP_DS_LIB_OID_OUTPUT_FORMAT' > undeclared (first use in this function) > netsnmp/client_intf.c:129: error: 'NETSNMP_OID_OUTPUT_SUFFIX' undeclared > (first use in this function) > netsnmp/client_intf.c: In function '__is_leaf': > netsnmp/client_intf.c:188: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:189: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:189: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c: In function '__get_next_mib_node': > netsnmp/client_intf.c:198: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:198: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:199: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:199: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:200: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:201: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:201: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:201: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:202: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:204: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c: In function '__translate_appl_type': > netsnmp/client_intf.c:214: error: 'TYPE_INTEGER32' undeclared (first use in > this function) > netsnmp/client_intf.c:216: error: 'TYPE_INTEGER' undeclared (first use in > this function) > netsnmp/client_intf.c:218: error: 'TYPE_UNSIGNED32' undeclared (first use in > this function) > netsnmp/client_intf.c:220: error: 'TYPE_COUNTER' undeclared (first use in > this function) > netsnmp/client_intf.c:222: error: 'TYPE_GAUGE' undeclared (first use in this > function) > netsnmp/client_intf.c:224: error: 'TYPE_IPADDR' undeclared (first use in > this function) > netsnmp/client_intf.c:226: error: 'TYPE_OCTETSTR' undeclared (first use in > this function) > netsnmp/client_intf.c:228: error: 'TYPE_TIMETICKS' undeclared (first use in > this function) > netsnmp/client_intf.c:230: error: 'TYPE_OPAQUE' undeclared (first use in > this function) > netsnmp/client_intf.c:232: error: 'TYPE_OBJID' undeclared (first use in this > function) > netsnmp/client_intf.c:234: error: 'TYPE_NETADDR' undeclared (first use in > this function) > netsnmp/client_intf.c:236: error: 'TYPE_COUNTER64' undeclared (first use in > this function) > netsnmp/client_intf.c:238: error: 'TYPE_NULL' undeclared (first use in this > function) > netsnmp/client_intf.c:240: error: 'TYPE_BITSTRING' undeclared (first use in > this function) > netsnmp/client_intf.c:242: error: 'SNMP_ENDOFMIBVIEW' undeclared (first use > in this function) > netsnmp/client_intf.c:244: error: 'SNMP_NOSUCHOBJECT' undeclared (first use > in this function) > netsnmp/client_intf.c:246: error: 'SNMP_NOSUCHINSTANCE' undeclared (first > use in this function) > netsnmp/client_intf.c:248: error: 'TYPE_UINTEGER' undeclared (first use in > this function) > netsnmp/client_intf.c:251: error: 'TYPE_NOTIFTYPE' undeclared (first use in > this function) > netsnmp/client_intf.c:253: error: 'TYPE_TRAPTYPE' undeclared (first use in > this function) > netsnmp/client_intf.c: In function '__translate_asn_type': > netsnmp/client_intf.c:262: error: 'ASN_INTEGER' undeclared (first use in > this function) > netsnmp/client_intf.c:263: error: 'TYPE_INTEGER' undeclared (first use in > this function) > netsnmp/client_intf.c:265: error: 'ASN_OCTET_STR' undeclared (first use in > this function) > netsnmp/client_intf.c:266: error: 'TYPE_OCTETSTR' undeclared (first use in > this function) > netsnmp/client_intf.c:268: error: 'ASN_OPAQUE' undeclared (first use in this > function) > netsnmp/client_intf.c:269: error: 'TYPE_OPAQUE' undeclared (first use in > this function) > netsnmp/client_intf.c:271: error: 'ASN_OBJECT_ID' undeclared (first use in > this function) > netsnmp/client_intf.c:272: error: 'TYPE_OBJID' undeclared (first use in this > function) > netsnmp/client_intf.c:274: error: 'ASN_TIMETICKS' undeclared (first use in > this function) > netsnmp/client_intf.c:275: error: 'TYPE_TIMETICKS' undeclared (first use in > this function) > netsnmp/client_intf.c:277: error: 'ASN_GAUGE' undeclared (first use in this > function) > netsnmp/client_intf.c:278: error: 'TYPE_GAUGE' undeclared (first use in this > function) > netsnmp/client_intf.c:280: error: 'ASN_COUNTER' undeclared (first use in > this function) > netsnmp/client_intf.c:281: error: 'TYPE_COUNTER' undeclared (first use in > this function) > netsnmp/client_intf.c:283: error: 'ASN_IPADDRESS' undeclared (first use in > this function) > netsnmp/client_intf.c:284: error: 'TYPE_IPADDR' undeclared (first use in > this function) > netsnmp/client_intf.c:286: error: 'ASN_BIT_STR' undeclared (first use in > this function) > netsnmp/client_intf.c:287: error: 'TYPE_BITSTRING' undeclared (first use in > this function) > netsnmp/client_intf.c:289: error: 'ASN_NULL' undeclared (first use in this > function) > netsnmp/client_intf.c:290: error: 'TYPE_NULL' undeclared (first use in this > function) > netsnmp/client_intf.c:293: error: 'SNMP_ENDOFMIBVIEW' undeclared (first use > in this function) > netsnmp/client_intf.c:294: error: 'SNMP_NOSUCHOBJECT' undeclared (first use > in this function) > netsnmp/client_intf.c:295: error: 'SNMP_NOSUCHINSTANCE' undeclared (first > use in this function) > netsnmp/client_intf.c:298: error: 'ASN_UINTEGER' undeclared (first use in > this function) > netsnmp/client_intf.c:299: error: 'TYPE_UINTEGER' undeclared (first use in > this function) > netsnmp/client_intf.c:301: error: 'ASN_COUNTER64' undeclared (first use in > this function) > netsnmp/client_intf.c:302: error: 'TYPE_COUNTER64' undeclared (first use in > this function) > netsnmp/client_intf.c:305: error: 'TYPE_OTHER' undeclared (first use in this > function) > netsnmp/client_intf.c: In function '__snprint_value': > netsnmp/client_intf.c:318: error: expected declaration specifiers before > 'netsnmp_variable_list' > netsnmp/client_intf.c:322: error: argument 'var' doesn't match prototype > netsnmp/client_intf.c:78: error: prototype declaration > netsnmp/client_intf.c:322: error: argument 'tp' doesn't match prototype > netsnmp/client_intf.c:78: error: prototype declaration > netsnmp/client_intf.c:322: error: number of arguments doesn't match > prototype > netsnmp/client_intf.c:78: error: prototype declaration > netsnmp/client_intf.c:330: error: invalid type argument of '->' > netsnmp/client_intf.c:330: error: invalid type argument of '->' > netsnmp/client_intf.c:333: error: invalid type argument of '->' > netsnmp/client_intf.c:334: error: 'ASN_INTEGER' undeclared (first use in > this function) > netsnmp/client_intf.c:336: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:336: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:337: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:337: error: invalid type argument of '->' > netsnmp/client_intf.c:338: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:346: error: invalid type argument of '->' > netsnmp/client_intf.c:351: error: 'ASN_GAUGE' undeclared (first use in this > function) > netsnmp/client_intf.c:352: error: 'ASN_COUNTER' undeclared (first use in > this function) > netsnmp/client_intf.c:353: error: 'ASN_TIMETICKS' undeclared (first use in > this function) > netsnmp/client_intf.c:354: error: 'ASN_UINTEGER' undeclared (first use in > this function) > netsnmp/client_intf.c:355: error: invalid type argument of '->' > netsnmp/client_intf.c:359: error: 'ASN_OCTET_STR' undeclared (first use in > this function) > netsnmp/client_intf.c:360: error: 'ASN_OPAQUE' undeclared (first use in this > function) > netsnmp/client_intf.c:361: error: invalid type argument of '->' > netsnmp/client_intf.c:364: error: invalid type argument of '->' > netsnmp/client_intf.c:367: error: 'ASN_IPADDRESS' undeclared (first use in > this function) > netsnmp/client_intf.c:368: error: invalid type argument of '->' > netsnmp/client_intf.c:373: error: 'ASN_NULL' undeclared (first use in this > function) > netsnmp/client_intf.c:376: error: 'ASN_OBJECT_ID' undeclared (first use in > this function) > netsnmp/client_intf.c:377: error: 'oid' undeclared (first use in this > function) > netsnmp/client_intf.c:377: error: expected expression before ')' token > netsnmp/client_intf.c:377: error: invalid type argument of '->' > netsnmp/client_intf.c:378: error: invalid type argument of '->' > netsnmp/client_intf.c:378: error: too many arguments to function > '__sprint_num_objid' > netsnmp/client_intf.c:382: error: 'SNMP_ENDOFMIBVIEW' undeclared (first use > in this function) > netsnmp/client_intf.c:385: error: 'SNMP_NOSUCHOBJECT' undeclared (first use > in this function) > netsnmp/client_intf.c:388: error: 'SNMP_NOSUCHINSTANCE' undeclared (first > use in this function) > netsnmp/client_intf.c:392: error: 'ASN_COUNTER64' undeclared (first use in > this function) > netsnmp/client_intf.c:397: error: invalid type argument of '->' > netsnmp/client_intf.c:408: error: 'ASN_BIT_STR' undeclared (first use in > this function) > netsnmp/client_intf.c:424: error: 'ASN_NSAP' undeclared (first use in this > function) > netsnmp/client_intf.c:426: error: invalid type argument of '->' > netsnmp/client_intf.c: In function '__sprint_num_objid': > netsnmp/client_intf.c:435: error: expected declaration specifiers before > 'oid' > netsnmp/client_intf.c:437: error: number of arguments doesn't match > prototype > netsnmp/client_intf.c:79: error: prototype declaration > netsnmp/client_intf.c:441: error: invalid type argument of 'unary *' > netsnmp/client_intf.c: In function '__tp_sprint_num_objid': > netsnmp/client_intf.c:452: error: 'oid' undeclared (first use in this > function) > netsnmp/client_intf.c:452: error: expected ';' before 'newname' > netsnmp/client_intf.c:454: error: 'op' undeclared (first use in this > function) > netsnmp/client_intf.c:454: error: 'newname' undeclared (first use in this > function) > netsnmp/client_intf.c:454: error: 'MAX_OID_LEN' undeclared (first use in > this function) > netsnmp/client_intf.c:455: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:456: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:459: error: too many arguments to function > '__sprint_num_objid' > netsnmp/client_intf.c: In function '__scan_num_objid': > netsnmp/client_intf.c:465: error: expected declaration specifiers before > 'oid' > netsnmp/client_intf.c:467: error: argument 'objid' doesn't match prototype > netsnmp/client_intf.c:80: error: prototype declaration > netsnmp/client_intf.c:467: error: number of arguments doesn't match > prototype > netsnmp/client_intf.c:80: error: prototype declaration > netsnmp/client_intf.c: In function '__get_type_str': > netsnmp/client_intf.c:496: error: 'TYPE_OBJID' undeclared (first use in this > function) > netsnmp/client_intf.c:499: error: 'TYPE_OCTETSTR' undeclared (first use in > this function) > netsnmp/client_intf.c:502: error: 'TYPE_INTEGER' undeclared (first use in > this function) > netsnmp/client_intf.c:505: error: 'TYPE_INTEGER32' undeclared (first use in > this function) > netsnmp/client_intf.c:508: error: 'TYPE_UNSIGNED32' undeclared (first use in > this function) > netsnmp/client_intf.c:511: error: 'TYPE_NETADDR' undeclared (first use in > this function) > netsnmp/client_intf.c:514: error: 'TYPE_IPADDR' undeclared (first use in > this function) > netsnmp/client_intf.c:517: error: 'TYPE_COUNTER' undeclared (first use in > this function) > netsnmp/client_intf.c:520: error: 'TYPE_GAUGE' undeclared (first use in this > function) > netsnmp/client_intf.c:523: error: 'TYPE_TIMETICKS' undeclared (first use in > this function) > netsnmp/client_intf.c:526: error: 'TYPE_OPAQUE' undeclared (first use in > this function) > netsnmp/client_intf.c:529: error: 'TYPE_COUNTER64' undeclared (first use in > this function) > netsnmp/client_intf.c:532: error: 'TYPE_NULL' undeclared (first use in this > function) > netsnmp/client_intf.c:535: error: 'SNMP_ENDOFMIBVIEW' undeclared (first use > in this function) > netsnmp/client_intf.c:538: error: 'SNMP_NOSUCHOBJECT' undeclared (first use > in this function) > netsnmp/client_intf.c:541: error: 'SNMP_NOSUCHINSTANCE' undeclared (first > use in this function) > netsnmp/client_intf.c:544: error: 'TYPE_UINTEGER' undeclared (first use in > this function) > netsnmp/client_intf.c:548: error: 'TYPE_NOTIFTYPE' undeclared (first use in > this function) > netsnmp/client_intf.c:551: error: 'TYPE_BITSTRING' undeclared (first use in > this function) > netsnmp/client_intf.c:554: error: 'TYPE_TRAPTYPE' undeclared (first use in > this function) > netsnmp/client_intf.c:557: error: 'TYPE_OTHER' undeclared (first use in this > function) > netsnmp/client_intf.c:558: error: 'TYPE_NSAPADDRESS' undeclared (first use > in this function) > netsnmp/client_intf.c: In function '__oid_cmp': > netsnmp/client_intf.c:680: error: expected declaration specifiers before > 'oid' > netsnmp/client_intf.c:682: error: expected declaration specifiers before > 'oid' > netsnmp/client_intf.c:687: error: invalid type argument of 'unary *' > netsnmp/client_intf.c:687: error: invalid type argument of 'unary *' > netsnmp/client_intf.c:688: error: invalid type argument of 'unary *' > netsnmp/client_intf.c:688: error: invalid type argument of 'unary *' > netsnmp/client_intf.c: In function '__tag2oid': > netsnmp/client_intf.c:701: error: expected declaration specifiers before > 'oid' > netsnmp/client_intf.c:705: error: argument 'oid_arr' doesn't match prototype > netsnmp/client_intf.c:87: error: prototype declaration > netsnmp/client_intf.c:705: error: argument 'type' doesn't match prototype > netsnmp/client_intf.c:87: error: prototype declaration > netsnmp/client_intf.c:705: error: number of arguments doesn't match > prototype > netsnmp/client_intf.c:87: error: prototype declaration > netsnmp/client_intf.c:708: error: 'oid' undeclared (first use in this > function) > netsnmp/client_intf.c:708: error: expected ';' before 'newname' > netsnmp/client_intf.c:711: error: 'MAX_OID_LEN' undeclared (first use in > this function) > netsnmp/client_intf.c:734: error: 'newname' undeclared (first use in this > function) > netsnmp/client_intf.c:734: error: too many arguments to function > '__scan_num_objid' > netsnmp/client_intf.c:738: warning: assignment makes pointer from integer > without a cast > netsnmp/client_intf.c:744: warning: assignment makes pointer from integer > without a cast > netsnmp/client_intf.c:749: warning: assignment makes pointer from integer > without a cast > netsnmp/client_intf.c:751: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:752: warning: comparison between pointer and integer > netsnmp/client_intf.c:753: warning: passing argument 1 of 'memcpy' makes > pointer from integer without a cast > netsnmp/client_intf.c:763: error: too many arguments to function > '__scan_num_objid' > netsnmp/client_intf.c:766: warning: assignment makes pointer from integer > without a cast > netsnmp/client_intf.c:770: warning: assignment makes pointer from integer > without a cast > netsnmp/client_intf.c:772: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:773: warning: comparison between pointer and integer > netsnmp/client_intf.c:774: warning: passing argument 1 of 'memcpy' makes > pointer from integer without a cast > netsnmp/client_intf.c:781: warning: assignment makes pointer from integer > without a cast > netsnmp/client_intf.c:783: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:784: warning: comparison between pointer and integer > netsnmp/client_intf.c:786: error: 'op' undeclared (first use in this > function) > netsnmp/client_intf.c:787: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:788: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:793: warning: passing argument 1 of 'memcpy' makes > pointer from integer without a cast > netsnmp/client_intf.c: In function '__oid2tp': > netsnmp/client_intf.c:807: error: expected declaration specifiers before > 'oid' > netsnmp/client_intf.c:815: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:816: error: invalid type argument of 'unary *' > netsnmp/client_intf.c:816: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:826: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c: At top level: > netsnmp/client_intf.c:847: error: static declaration of '__concat_oid_str' > follows non-static declaration > netsnmp/client_intf.c:799: error: previous implicit declaration of > '__concat_oid_str' was here > netsnmp/client_intf.c: In function '__concat_oid_str': > netsnmp/client_intf.c:847: error: expected declaration specifiers before > 'oid' > netsnmp/client_intf.c:851: error: 'MAX_OID_LEN' undeclared (first use in > this function) > netsnmp/client_intf.c:860: error: subscripted value is neither array nor > pointer > netsnmp/client_intf.c: In function '__add_var_val_str': > netsnmp/client_intf.c:872: error: expected declaration specifiers before > 'netsnmp_pdu' > netsnmp/client_intf.c:873: error: expected declaration specifiers before > 'oid' > netsnmp/client_intf.c:879: error: 'netsnmp_variable_list' undeclared (first > use in this function) > netsnmp/client_intf.c:879: error: 'vars' undeclared (first use in this > function) > netsnmp/client_intf.c:880: error: 'oid' undeclared (first use in this > function) > netsnmp/client_intf.c:880: error: expected ';' before 'oidbuf' > netsnmp/client_intf.c:883: error: invalid type argument of '->' > netsnmp/client_intf.c:884: error: invalid type argument of '->' > netsnmp/client_intf.c:885: error: expected expression before ')' token > netsnmp/client_intf.c:887: error: invalid type argument of '->' > netsnmp/client_intf.c:892: error: expected expression before ')' token > netsnmp/client_intf.c:900: error: 'TYPE_INTEGER' undeclared (first use in > this function) > netsnmp/client_intf.c:901: error: 'TYPE_INTEGER32' undeclared (first use in > this function) > netsnmp/client_intf.c:902: error: 'ASN_INTEGER' undeclared (first use in > this function) > netsnmp/client_intf.c:913: error: 'TYPE_GAUGE' undeclared (first use in this > function) > netsnmp/client_intf.c:914: error: 'TYPE_UNSIGNED32' undeclared (first use in > this function) > netsnmp/client_intf.c:915: error: 'ASN_GAUGE' undeclared (first use in this > function) > netsnmp/client_intf.c:917: error: 'TYPE_COUNTER' undeclared (first use in > this function) > netsnmp/client_intf.c:918: error: 'ASN_COUNTER' undeclared (first use in > this function) > netsnmp/client_intf.c:920: error: 'TYPE_TIMETICKS' undeclared (first use in > this function) > netsnmp/client_intf.c:921: error: 'ASN_TIMETICKS' undeclared (first use in > this function) > netsnmp/client_intf.c:923: error: 'TYPE_UINTEGER' undeclared (first use in > this function) > netsnmp/client_intf.c:924: error: 'ASN_UINTEGER' undeclared (first use in > this function) > netsnmp/client_intf.c:936: error: 'TYPE_OCTETSTR' undeclared (first use in > this function) > netsnmp/client_intf.c:937: error: 'ASN_OCTET_STR' undeclared (first use in > this function) > netsnmp/client_intf.c:940: error: 'TYPE_BITSTRING' undeclared (first use in > this function) > netsnmp/client_intf.c:944: error: 'TYPE_OPAQUE' undeclared (first use in > this function) > netsnmp/client_intf.c:958: error: 'TYPE_IPADDR' undeclared (first use in > this function) > netsnmp/client_intf.c:959: error: 'ASN_IPADDRESS' undeclared (first use in > this function) > netsnmp/client_intf.c:970: error: 'TYPE_OBJID' undeclared (first use in this > function) > netsnmp/client_intf.c:971: error: 'ASN_OBJECT_ID' undeclared (first use in > this function) > netsnmp/client_intf.c:972: error: 'MAX_OID_LEN' undeclared (first use in > this function) > netsnmp/client_intf.c:975: error: 'oidbuf' undeclared (first use in this > function) > netsnmp/client_intf.c:985: error: 'ASN_NULL' undeclared (first use in this > function) > netsnmp/client_intf.c: In function '__send_sync_pdu': > netsnmp/client_intf.c:999: error: expected declaration specifiers before > 'netsnmp_session' > netsnmp/client_intf.c:1000: error: expected declaration specifiers before > 'netsnmp_pdu' > netsnmp/client_intf.c:1001: error: expected declaration specifiers before > 'netsnmp_pdu' > netsnmp/client_intf.c:1008: error: invalid type argument of '->' > netsnmp/client_intf.c:1009: error: invalid type argument of 'unary *' > netsnmp/client_intf.c:1016: error: invalid type argument of 'unary *' > netsnmp/client_intf.c:1016: error: 'STAT_SUCCESS' undeclared (first use in > this function) > netsnmp/client_intf.c:1016: error: 'STAT_ERROR' undeclared (first use in > this function) > netsnmp/client_intf.c:1020: error: invalid type argument of 'unary *' > netsnmp/client_intf.c:1021: error: 'SNMP_ERR_NOERROR' undeclared (first use > in this function) > netsnmp/client_intf.c:1024: error: 'SNMP_ERR_NOSUCHNAME' undeclared (first > use in this function) > netsnmp/client_intf.c:1025: error: invalid type argument of 'unary *' > netsnmp/client_intf.c:1026: error: invalid type argument of 'unary *' > netsnmp/client_intf.c:1026: error: invalid type argument of 'unary *' > netsnmp/client_intf.c:1031: error: 'SNMP_ERR_TOOBIG' undeclared (first use > in this function) > netsnmp/client_intf.c:1032: error: 'SNMP_ERR_BADVALUE' undeclared (first use > in this function) > netsnmp/client_intf.c:1033: error: 'SNMP_ERR_READONLY' undeclared (first use > in this function) > netsnmp/client_intf.c:1034: error: 'SNMP_ERR_GENERR' undeclared (first use > in this function) > netsnmp/client_intf.c:1036: error: 'SNMP_ERR_NOACCESS' undeclared (first use > in this function) > netsnmp/client_intf.c:1037: error: 'SNMP_ERR_WRONGTYPE' undeclared (first > use in this function) > netsnmp/client_intf.c:1038: error: 'SNMP_ERR_WRONGLENGTH' undeclared (first > use in this function) > netsnmp/client_intf.c:1039: error: 'SNMP_ERR_WRONGENCODING' undeclared > (first use in this function) > netsnmp/client_intf.c:1040: error: 'SNMP_ERR_WRONGVALUE' undeclared (first > use in this function) > netsnmp/client_intf.c:1041: error: 'SNMP_ERR_NOCREATION' undeclared (first > use in this function) > netsnmp/client_intf.c:1042: error: 'SNMP_ERR_INCONSISTENTVALUE' undeclared > (first use in this function) > netsnmp/client_intf.c:1043: error: 'SNMP_ERR_RESOURCEUNAVAILABLE' undeclared > (first use in this function) > netsnmp/client_intf.c:1044: error: 'SNMP_ERR_COMMITFAILED' undeclared (first > use in this function) > netsnmp/client_intf.c:1045: error: 'SNMP_ERR_UNDOFAILED' undeclared (first > use in this function) > netsnmp/client_intf.c:1046: error: 'SNMP_ERR_AUTHORIZATIONERROR' undeclared > (first use in this function) > netsnmp/client_intf.c:1047: error: 'SNMP_ERR_NOTWRITABLE' undeclared (first > use in this function) > netsnmp/client_intf.c:1049: error: 'SNMP_ERR_INCONSISTENTNAME' undeclared > (first use in this function) > netsnmp/client_intf.c:1051: error: invalid type argument of 'unary *' > netsnmp/client_intf.c:1052: error: invalid type argument of 'unary *' > netsnmp/client_intf.c:1053: error: invalid type argument of 'unary *' > netsnmp/client_intf.c:1054: error: invalid type argument of 'unary *' > netsnmp/client_intf.c:1059: error: 'STAT_TIMEOUT' undeclared (first use in > this function) > netsnmp/client_intf.c:1061: error: invalid type argument of '->' > netsnmp/client_intf.c:1062: error: invalid type argument of '->' > netsnmp/client_intf.c:1067: error: invalid type argument of '->' > netsnmp/client_intf.c: In function 'netsnmp_create_session': > netsnmp/client_intf.c:1158: error: 'SnmpSession' undeclared (first use in > this function) > netsnmp/client_intf.c:1158: error: expected ';' before 'session' > netsnmp/client_intf.c:1159: error: 'ss' undeclared (first use in this > function) > netsnmp/client_intf.c:1169: error: 'session' undeclared (first use in this > function) > netsnmp/client_intf.c:1174: error: 'SNMP_VERSION_1' undeclared (first use in > this function) > netsnmp/client_intf.c:1179: error: 'SNMP_VERSION_2c' undeclared (first use > in this function) > netsnmp/client_intf.c:1183: error: 'SNMP_VERSION_3' undeclared (first use in > this function) > netsnmp/client_intf.c: In function 'netsnmp_create_session_v3': > netsnmp/client_intf.c:1228: error: 'SnmpSession' undeclared (first use in > this function) > netsnmp/client_intf.c:1228: error: expected ';' before 'session' > netsnmp/client_intf.c:1229: error: 'ss' undeclared (first use in this > function) > netsnmp/client_intf.c:1244: error: 'session' undeclared (first use in this > function) > netsnmp/client_intf.c:1244: error: 'SNMP_VERSION_3' undeclared (first use in > this function) > netsnmp/client_intf.c:1260: error: 'USM_SEC_MODEL_NUMBER' undeclared (first > use in this function) > netsnmp/client_intf.c:1273: error: 'usmHMACMD5AuthProtocol' undeclared > (first use in this function) > netsnmp/client_intf.c:1280: error: 'usmHMACSHA1AuthProtocol' undeclared > (first use in this function) > netsnmp/client_intf.c:1291: error: 'SNMP_SEC_LEVEL_AUTHNOPRIV' undeclared > (first use in this function) > netsnmp/client_intf.c:1293: error: 'USM_AUTH_KU_LEN' undeclared (first use > in this function) > netsnmp/client_intf.c:1298: error: 'SNMPERR_SUCCESS' undeclared (first use > in this function) > netsnmp/client_intf.c:1308: error: 'usmDESPrivProtocol' undeclared (first > use in this function) > netsnmp/client_intf.c:1315: error: 'usmAESPrivProtocol' undeclared (first > use in this function) > netsnmp/client_intf.c:1316: error: 'USM_PRIV_PROTO_AES_LEN' undeclared > (first use in this function) > netsnmp/client_intf.c:1327: error: 'SNMP_SEC_LEVEL_AUTHPRIV' undeclared > (first use in this function) > netsnmp/client_intf.c:1328: error: 'USM_PRIV_KU_LEN' undeclared (first use > in this function) > netsnmp/client_intf.c:1346: error: 'snmp_errno' undeclared (first use in > this function) > netsnmp/client_intf.c: In function 'netsnmp_delete_session': > netsnmp/client_intf.c:1358: error: 'SnmpSession' undeclared (first use in > this function) > netsnmp/client_intf.c:1358: error: 'ss' undeclared (first use in this > function) > netsnmp/client_intf.c:1364: error: expected expression before ')' token > netsnmp/client_intf.c: In function 'netsnmp_get': > netsnmp/client_intf.c:1380: error: 'netsnmp_session' undeclared (first use > in this function) > netsnmp/client_intf.c:1380: error: 'ss' undeclared (first use in this > function) > netsnmp/client_intf.c:1381: error: 'netsnmp_pdu' undeclared (first use in > this function) > netsnmp/client_intf.c:1381: error: 'pdu' undeclared (first use in this > function) > netsnmp/client_intf.c:1381: error: 'response' undeclared (first use in this > function) > netsnmp/client_intf.c:1382: error: 'netsnmp_variable_list' undeclared (first > use in this function) > netsnmp/client_intf.c:1382: error: 'vars' undeclared (first use in this > function) > netsnmp/client_intf.c:1385: error: 'oid' undeclared (first use in this > function) > netsnmp/client_intf.c:1385: error: 'oid_arr' undeclared (first use in this > function) > netsnmp/client_intf.c:1386: error: 'MAX_OID_LEN' undeclared (first use in > this function) > netsnmp/client_intf.c:1414: error: 'SnmpSession' undeclared (first use in > this function) > netsnmp/client_intf.c:1414: error: expected expression before ')' token > netsnmp/client_intf.c:1431: error: 'SNMP_MSG_GET' undeclared (first use in > this function) > netsnmp/client_intf.c:1442: warning: passing argument 5 of '__tag2oid' makes > integer from pointer without a cast > netsnmp/client_intf.c:1442: error: too many arguments to function > '__tag2oid' > netsnmp/client_intf.c:1478: error: 'NETSNMP_DS_LIBRARY_ID' undeclared (first > use in this function) > netsnmp/client_intf.c:1479: error: 'NETSNMP_DS_LIB_OID_OUTPUT_FORMAT' > undeclared (first use in this function) > netsnmp/client_intf.c:1486: error: 'NETSNMP_OID_OUTPUT_FULL' undeclared > (first use in this function) > netsnmp/client_intf.c:1497: error: 'NETSNMP_OID_OUTPUT_NUMERIC' undeclared > (first use in this function) > netsnmp/client_intf.c:1518: warning: assignment makes pointer from integer > without a cast > netsnmp/client_intf.c:1526: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:1526: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:1526: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:1532: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:1548: warning: passing argument 4 of '__snprint_value' > makes integer from pointer without a cast > netsnmp/client_intf.c:1548: error: too many arguments to function > '__snprint_value' > netsnmp/client_intf.c: In function 'netsnmp_getnext': > netsnmp/client_intf.c:1585: error: 'netsnmp_session' undeclared (first use > in this function) > netsnmp/client_intf.c:1585: error: 'ss' undeclared (first use in this > function) > netsnmp/client_intf.c:1586: error: 'netsnmp_pdu' undeclared (first use in > this function) > netsnmp/client_intf.c:1586: error: 'pdu' undeclared (first use in this > function) > netsnmp/client_intf.c:1586: error: 'response' undeclared (first use in this > function) > netsnmp/client_intf.c:1587: error: 'netsnmp_variable_list' undeclared (first > use in this function) > netsnmp/client_intf.c:1587: error: 'vars' undeclared (first use in this > function) > netsnmp/client_intf.c:1590: error: 'oid' undeclared (first use in this > function) > netsnmp/client_intf.c:1590: error: 'oid_arr' undeclared (first use in this > function) > netsnmp/client_intf.c:1591: error: 'MAX_OID_LEN' undeclared (first use in > this function) > netsnmp/client_intf.c:1619: error: 'SnmpSession' undeclared (first use in > this function) > netsnmp/client_intf.c:1619: error: expected expression before ')' token > netsnmp/client_intf.c:1636: error: 'SNMP_MSG_GETNEXT' undeclared (first use > in this function) > netsnmp/client_intf.c:1646: warning: passing argument 5 of '__tag2oid' makes > integer from pointer without a cast > netsnmp/client_intf.c:1646: error: too many arguments to function > '__tag2oid' > netsnmp/client_intf.c:1686: error: 'NETSNMP_DS_LIBRARY_ID' undeclared (first > use in this function) > netsnmp/client_intf.c:1687: error: 'NETSNMP_DS_LIB_OID_OUTPUT_FORMAT' > undeclared (first use in this function) > netsnmp/client_intf.c:1694: error: 'NETSNMP_OID_OUTPUT_FULL' undeclared > (first use in this function) > netsnmp/client_intf.c:1705: error: 'NETSNMP_OID_OUTPUT_NUMERIC' undeclared > (first use in this function) > netsnmp/client_intf.c:1727: warning: assignment makes pointer from integer > without a cast > netsnmp/client_intf.c:1731: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:1731: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:1731: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:1752: warning: passing argument 4 of '__snprint_value' > makes integer from pointer without a cast > netsnmp/client_intf.c:1752: error: too many arguments to function > '__snprint_value' > netsnmp/client_intf.c: In function 'netsnmp_walk': > netsnmp/client_intf.c:1792: error: 'netsnmp_session' undeclared (first use > in this function) > netsnmp/client_intf.c:1792: error: 'ss' undeclared (first use in this > function) > netsnmp/client_intf.c:1793: error: 'netsnmp_pdu' undeclared (first use in > this function) > netsnmp/client_intf.c:1793: error: 'pdu' undeclared (first use in this > function) > netsnmp/client_intf.c:1793: error: 'response' undeclared (first use in this > function) > netsnmp/client_intf.c:1794: error: 'netsnmp_variable_list' undeclared (first > use in this function) > netsnmp/client_intf.c:1794: error: 'vars' undeclared (first use in this > function) > netsnmp/client_intf.c:1797: error: 'oid' undeclared (first use in this > function) > netsnmp/client_intf.c:1797: error: 'oid_arr' undeclared (first use in this > function) > netsnmp/client_intf.c:1798: error: 'MAX_OID_LEN' undeclared (first use in > this function) > netsnmp/client_intf.c:1835: error: 'SnmpSession' undeclared (first use in > this function) > netsnmp/client_intf.c:1835: error: expected expression before ')' token > netsnmp/client_intf.c:1854: error: 'SNMP_MSG_GETNEXT' undeclared (first use > in this function) > netsnmp/client_intf.c:1862: warning: passing argument 5 of '__tag2oid' makes > integer from pointer without a cast > netsnmp/client_intf.c:1862: error: too many arguments to function > '__tag2oid' > netsnmp/client_intf.c:1909: error: 'NETSNMP_DS_LIBRARY_ID' undeclared (first > use in this function) > netsnmp/client_intf.c:1910: error: 'NETSNMP_DS_LIB_OID_OUTPUT_FORMAT' > undeclared (first use in this function) > netsnmp/client_intf.c:1917: error: 'NETSNMP_OID_OUTPUT_FULL' undeclared > (first use in this function) > netsnmp/client_intf.c:1929: error: 'NETSNMP_OID_OUTPUT_NUMERIC' undeclared > (first use in this function) > netsnmp/client_intf.c:1952: error: 'STAT_SUCCESS' undeclared (first use in > this function) > netsnmp/client_intf.c:1953: error: 'SNMP_ERR_NOERROR' undeclared (first use > in this function) > netsnmp/client_intf.c:1960: error: 'SNMP_ENDOFMIBVIEW' undeclared (first use > in this function) > netsnmp/client_intf.c:1961: error: 'SNMP_NOSUCHOBJECT' undeclared (first use > in this function) > netsnmp/client_intf.c:1962: error: 'SNMP_NOSUCHINSTANCE' undeclared (first > use in this function) > netsnmp/client_intf.c:1975: warning: assignment makes pointer from integer > without a cast > netsnmp/client_intf.c:1979: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:1979: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:1979: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:1999: warning: passing argument 4 of '__snprint_value' > makes integer from pointer without a cast > netsnmp/client_intf.c:1999: error: too many arguments to function > '__snprint_value' > netsnmp/client_intf.c: In function 'netsnmp_getbulk': > netsnmp/client_intf.c:2065: error: 'netsnmp_session' undeclared (first use > in this function) > netsnmp/client_intf.c:2065: error: 'ss' undeclared (first use in this > function) > netsnmp/client_intf.c:2066: error: 'netsnmp_pdu' undeclared (first use in > this function) > netsnmp/client_intf.c:2066: error: 'pdu' undeclared (first use in this > function) > netsnmp/client_intf.c:2066: error: 'response' undeclared (first use in this > function) > netsnmp/client_intf.c:2067: error: 'netsnmp_variable_list' undeclared (first > use in this function) > netsnmp/client_intf.c:2067: error: 'vars' undeclared (first use in this > function) > netsnmp/client_intf.c:2070: error: 'oid' undeclared (first use in this > function) > netsnmp/client_intf.c:2070: error: 'oid_arr' undeclared (first use in this > function) > netsnmp/client_intf.c:2071: error: 'MAX_OID_LEN' undeclared (first use in > this function) > netsnmp/client_intf.c:2102: error: 'SnmpSession' undeclared (first use in > this function) > netsnmp/client_intf.c:2102: error: expected expression before ')' token > netsnmp/client_intf.c:2119: error: 'SNMP_MSG_GETBULK' undeclared (first use > in this function) > netsnmp/client_intf.c:2131: warning: passing argument 5 of '__tag2oid' makes > integer from pointer without a cast > netsnmp/client_intf.c:2131: error: too many arguments to function > '__tag2oid' > netsnmp/client_intf.c:2165: error: 'NETSNMP_DS_LIBRARY_ID' undeclared (first > use in this function) > netsnmp/client_intf.c:2166: error: 'NETSNMP_DS_LIB_OID_OUTPUT_FORMAT' > undeclared (first use in this function) > netsnmp/client_intf.c:2173: error: 'NETSNMP_OID_OUTPUT_FULL' undeclared > (first use in this function) > netsnmp/client_intf.c:2184: error: 'NETSNMP_OID_OUTPUT_NUMERIC' undeclared > (first use in this function) > netsnmp/client_intf.c:2216: warning: assignment makes pointer from integer > without a cast > netsnmp/client_intf.c:2219: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:2219: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:2219: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:2237: warning: passing argument 4 of '__snprint_value' > makes integer from pointer without a cast > netsnmp/client_intf.c:2237: error: too many arguments to function > '__snprint_value' > netsnmp/client_intf.c: In function 'netsnmp_set': > netsnmp/client_intf.c:2294: error: 'netsnmp_session' undeclared (first use > in this function) > netsnmp/client_intf.c:2294: error: 'ss' undeclared (first use in this > function) > netsnmp/client_intf.c:2295: error: 'netsnmp_pdu' undeclared (first use in > this function) > netsnmp/client_intf.c:2295: error: 'pdu' undeclared (first use in this > function) > netsnmp/client_intf.c:2295: error: 'response' undeclared (first use in this > function) > netsnmp/client_intf.c:2302: error: 'oid' undeclared (first use in this > function) > netsnmp/client_intf.c:2302: error: 'oid_arr' undeclared (first use in this > function) > netsnmp/client_intf.c:2303: error: 'MAX_OID_LEN' undeclared (first use in > this function) > netsnmp/client_intf.c:2323: error: 'SnmpSession' undeclared (first use in > this function) > netsnmp/client_intf.c:2323: error: expected expression before ')' token > netsnmp/client_intf.c:2334: error: 'SNMP_MSG_SET' undeclared (first use in > this function) > netsnmp/client_intf.c:2344: warning: passing argument 5 of '__tag2oid' makes > integer from pointer without a cast > netsnmp/client_intf.c:2344: error: too many arguments to function > '__tag2oid' > netsnmp/client_intf.c:2367: error: 'TYPE_INTEGER' undeclared (first use in > this function) > netsnmp/client_intf.c:2367: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:2368: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:2368: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:2369: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:2370: error: dereferencing pointer to incomplete type > netsnmp/client_intf.c:2402: error: 'STAT_SUCCESS' undeclared (first use in > this function) > error: command 'cc' failed with exit status 1 > My OS: > # uname -a > FreeBSD Monitor.localhost 7.0-RELEASE FreeBSD 7.0-RELEASE #4: Fri Apr 10 > 16:46:25 YEKST 2009 [email protected]:/usr/obj/usr/src/sys/My i386 > Can you help me? Thanks. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ 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