Hi,
I´m trying to compile Zabbix 1.6 on a Mac OS X, 10.5.5 (Leopard) system. Both client and server are stopping.First the server:
./configure --enable-server --with-mysql=path-to-mysql_config
Undefined symbols:
"_res_9_query", referenced from:
_CHECK_DNS in libcommonsysinfo.a(net.o)
"_res_9_init", referenced from:
_CHECK_DNS in libcommonsysinfo.a(net.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [zabbix_server] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Next the client:
./configure --enable-client
cpustat.c: In function ‘get_cpustat’:
cpustat.c:202: error: ‘CPUSTATES’ undeclared (first use in this function)
cpustat.c:202: error: (Each undeclared identifier is reported only once
cpustat.c:202: error: for each function it appears in.)
cpustat.c:276: error: ‘CP_USER’ undeclared (first use in this function)
cpustat.c:277: error: ‘CP_NICE’ undeclared (first use in this function)
cpustat.c:278: error: ‘CP_SYS’ undeclared (first use in this function)
cpustat.c:279: error: ‘CP_INTR’ undeclared (first use in this function)
cpustat.c:280: error: ‘CP_IDLE’ undeclared (first use in this function)
make[2]: *** [cpustat.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Any suggestions how to make them? Did I miss some libs?
Greetings,
Mike
I´m trying to compile Zabbix 1.6 on a Mac OS X, 10.5.5 (Leopard) system. Both client and server are stopping.First the server:
./configure --enable-server --with-mysql=path-to-mysql_config
Undefined symbols:
"_res_9_query", referenced from:
_CHECK_DNS in libcommonsysinfo.a(net.o)
"_res_9_init", referenced from:
_CHECK_DNS in libcommonsysinfo.a(net.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [zabbix_server] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Next the client:
./configure --enable-client
cpustat.c: In function ‘get_cpustat’:
cpustat.c:202: error: ‘CPUSTATES’ undeclared (first use in this function)
cpustat.c:202: error: (Each undeclared identifier is reported only once
cpustat.c:202: error: for each function it appears in.)
cpustat.c:276: error: ‘CP_USER’ undeclared (first use in this function)
cpustat.c:277: error: ‘CP_NICE’ undeclared (first use in this function)
cpustat.c:278: error: ‘CP_SYS’ undeclared (first use in this function)
cpustat.c:279: error: ‘CP_INTR’ undeclared (first use in this function)
cpustat.c:280: error: ‘CP_IDLE’ undeclared (first use in this function)
make[2]: *** [cpustat.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Any suggestions how to make them? Did I miss some libs?
Greetings,
Mike
Comment