Hey guys... im trying to install an agent on mac os x
I'm doing this:
./configure --enable-agent --with-mysql --with-libcurl
make install
then, i get this:
anyone have any solutions/suggestions?
Thanks!
I'm doing this:
./configure --enable-agent --with-mysql --with-libcurl
make install
then, i get this:
Code:
make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. Making install in zabbix_agent gcc -DHAVE_CONFIG_H -I. -I../../include -g -O2 -MT cpustat.o -MD -MP -MF .deps/cpustat.Tpo -c -o cpustat.o cpustat.c cpustat.c: In function 'get_cpustat': cpustat.c:206: error: 'CPUSTATES' undeclared (first use in this function) cpustat.c:206: error: (Each undeclared identifier is reported only once cpustat.c:206: error: for each function it appears in.) cpustat.c:298: error: 'CP_USER' undeclared (first use in this function) cpustat.c:299: error: 'CP_NICE' undeclared (first use in this function) cpustat.c:300: error: 'CP_SYS' undeclared (first use in this function) cpustat.c:301: error: 'CP_INTR' undeclared (first use in this function) cpustat.c:302: error: 'CP_IDLE' undeclared (first use in this function) make[2]: *** [cpustat.o] Error 1 make[1]: *** [install-recursive] Error 1 make: *** [install-recursive] Error 1
anyone have any solutions/suggestions?
Thanks!
Comment