Hi ,
I get the following error while compiling latest zabbix ( zabbix-1.1alpha12 ) on freebsd .
I have net-snmp installed from ports .
the error i get is :
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I/usr/local/include/mysql -g -O2 -MT checks_snmp.o -MD -MP -MF ".deps/checks_snmp.Tpo" -c -o checks_snmp.o checks_snmp.c; then mv -f ".deps/checks_snmp.Tpo" ".deps/checks_snmp.Po"; else rm -f ".deps/checks_snmp.Tpo"; exit 1; fi
In file included from checks_snmp.c:20:
checks_snmp.h:35:39: net-snmp/net-snmp-config.h: No such file or directory
checks_snmp.h:36:41: net-snmp/net-snmp-includes.h: No such file or directory
checks_snmp.c: In function `get_value_snmp':
checks_snmp.c:29: error: storage size of 'session' isn't known
checks_snmp.c:37: error: syntax error before "anOID"
checks_snmp.c:38: error: `MAX_OID_LEN' undeclared (first use in this function
i tried adding the following :INCLUDES=-I@top_srcdir@/include @MYSQL_INCLUDE@ @SNMP_INCLUDE@ to : src/zabbix_server/poller/Makefile.am but i get the same error ( clean source from tar file ) .
any idea's ?
thank you , Moti
I get the following error while compiling latest zabbix ( zabbix-1.1alpha12 ) on freebsd .
I have net-snmp installed from ports .
the error i get is :
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include -I/usr/local/include/mysql -g -O2 -MT checks_snmp.o -MD -MP -MF ".deps/checks_snmp.Tpo" -c -o checks_snmp.o checks_snmp.c; then mv -f ".deps/checks_snmp.Tpo" ".deps/checks_snmp.Po"; else rm -f ".deps/checks_snmp.Tpo"; exit 1; fi
In file included from checks_snmp.c:20:
checks_snmp.h:35:39: net-snmp/net-snmp-config.h: No such file or directory
checks_snmp.h:36:41: net-snmp/net-snmp-includes.h: No such file or directory
checks_snmp.c: In function `get_value_snmp':
checks_snmp.c:29: error: storage size of 'session' isn't known
checks_snmp.c:37: error: syntax error before "anOID"
checks_snmp.c:38: error: `MAX_OID_LEN' undeclared (first use in this function
i tried adding the following :INCLUDES=-I@top_srcdir@/include @MYSQL_INCLUDE@ @SNMP_INCLUDE@ to : src/zabbix_server/poller/Makefile.am but i get the same error ( clean source from tar file ) .
any idea's ?
thank you , Moti