i've problem when i issued the "make" command. at the beginning it's look fine but at the end, this is the error msg:-
zabbix_sucker.c:406: warning: implicit declaration of function `snmp_errstring'
zabbix_sucker.c:406: dereferencing pointer to incomplete type
zabbix_sucker.c:407: dereferencing pointer to incomplete type
zabbix_sucker.c:407: `SNMP_ERR_NOSUCHNAME' undeclared (first use in this function)
zabbix_sucker.c:416: `STAT_TIMEOUT' undeclared (first use in this function)
zabbix_sucker.c:420: warning: implicit declaration of function `snmp_sess_perror'
zabbix_sucker.c:434: warning: implicit declaration of function `snmp_free_pdu'
zabbix_sucker.c:436: warning: implicit declaration of function `snmp_close'
zabbix_sucker.c:269: warning: unused variable `session'
zabbix_sucker.c: In function `get_value':
zabbix_sucker.c:703: `SNMP_VERSION_1' undeclared (first use in this function)
zabbix_sucker.c:712: `SNMP_VERSION_2c' undeclared (first use in this function)
zabbix_sucker.c: In function `main':
zabbix_sucker.c:1201: warning: implicit declaration of function `init_snmp'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/downloads/zabbix-1.0/src/zabbix_sucker'
make: *** [all] Error 1
hope someone will help me. yhanks in adv.
zabbix_sucker.c:406: warning: implicit declaration of function `snmp_errstring'
zabbix_sucker.c:406: dereferencing pointer to incomplete type
zabbix_sucker.c:407: dereferencing pointer to incomplete type
zabbix_sucker.c:407: `SNMP_ERR_NOSUCHNAME' undeclared (first use in this function)
zabbix_sucker.c:416: `STAT_TIMEOUT' undeclared (first use in this function)
zabbix_sucker.c:420: warning: implicit declaration of function `snmp_sess_perror'
zabbix_sucker.c:434: warning: implicit declaration of function `snmp_free_pdu'
zabbix_sucker.c:436: warning: implicit declaration of function `snmp_close'
zabbix_sucker.c:269: warning: unused variable `session'
zabbix_sucker.c: In function `get_value':
zabbix_sucker.c:703: `SNMP_VERSION_1' undeclared (first use in this function)
zabbix_sucker.c:712: `SNMP_VERSION_2c' undeclared (first use in this function)
zabbix_sucker.c: In function `main':
zabbix_sucker.c:1201: warning: implicit declaration of function `init_snmp'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/downloads/zabbix-1.0/src/zabbix_sucker'
make: *** [all] Error 1
hope someone will help me. yhanks in adv.
Comment