I am installing the 1.4.2 agent on a OSX 10.4.10 machine that has XCode installed.
I ran the ./configure --enable-agent and it checked out fine, then I ran 'make' and got this error:
cpu.c: In function 'SYSTEM_CPU_UTIL':
cpu.c:50: error: parse error before '}' token
make[4]: *** [libspecsysinfo_a-cpu.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
I found the thread: http://www.zabbix.com/forum/showthread.php?t=7404
I then fixed that problem by changing the cpu.c file as suggested in the thread.
Now I am getting this error:
/usr/bin/ld: Undefined symbols:
_res_9_init
_res_9_query
collect2: ld returned 1 exit status
make[2]: *** [zabbix_agent] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Does anyone have any ideas?
I ran the ./configure --enable-agent and it checked out fine, then I ran 'make' and got this error:
cpu.c: In function 'SYSTEM_CPU_UTIL':
cpu.c:50: error: parse error before '}' token
make[4]: *** [libspecsysinfo_a-cpu.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
I found the thread: http://www.zabbix.com/forum/showthread.php?t=7404
I then fixed that problem by changing the cpu.c file as suggested in the thread.
Now I am getting this error:
/usr/bin/ld: Undefined symbols:
_res_9_init
_res_9_query
collect2: ld returned 1 exit status
make[2]: *** [zabbix_agent] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Does anyone have any ideas?
Comment