Hi all, i have zabbix runing on all unix (linux too) platforms, now am trying to get it going on mac os x, i get the following error, any pointers would be appreciated
Making all in src/zabbix_agent
gcc -o ../../bin/zabbix_agent -static -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c -Wall
sysinfo.c: In function `KERNEL_MAXFILES':
sysinfo.c:1644: warning: passing arg 4 of `sysctl' from incompatible pointer type
sysinfo.c: In function `KERNEL_MAXPROC':
sysinfo.c:1666: warning: passing arg 4 of `sysctl' from incompatible pointer type
sysinfo.c: In function `UPTIME':
sysinfo.c:1702: warning: passing arg 4 of `sysctl' from incompatible pointer type
ld: can't locate file for: -lcrt0.o
make[1]: *** [all] Error 1
make: *** [all] Error 1
uptime lives in /usr/bin/uptime etc....
Making all in src/zabbix_agent
gcc -o ../../bin/zabbix_agent -static -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c -Wall
sysinfo.c: In function `KERNEL_MAXFILES':
sysinfo.c:1644: warning: passing arg 4 of `sysctl' from incompatible pointer type
sysinfo.c: In function `KERNEL_MAXPROC':
sysinfo.c:1666: warning: passing arg 4 of `sysctl' from incompatible pointer type
sysinfo.c: In function `UPTIME':
sysinfo.c:1702: warning: passing arg 4 of `sysctl' from incompatible pointer type
ld: can't locate file for: -lcrt0.o
make[1]: *** [all] Error 1
make: *** [all] Error 1
uptime lives in /usr/bin/uptime etc....
Comment