Hey fella's,
I'm getting an error when i try to compile the zabbix agent under fedora core 4.
i'm using ./configure --prefix=/zabbix --enable-static --enable-agent
which is ok.
and then when i do a make.... this is what it spits out at the end...
glibc-headers-2.3.6-3
glibc-kernheaders-2.4-9.1.94
glibc-2.3.6-3
glibc-devel-2.3.6-3
glibc-common-2.3.6-3
if that helps...
I'm getting an error when i try to compile the zabbix agent under fedora core 4.
i'm using ./configure --prefix=/zabbix --enable-static --enable-agent
which is ok.
and then when i do a make.... this is what it spits out at the end...
HTML Code:
../libs/zbxsysinfo/linux/libzbxsysinfo2.a(proc.o)(.text+0x42e): In function `PROC_MEMORY': /zabbix-1.1/src/libs/zbxsysinfo/linux/proc.c:83: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../libs/zbxsysinfo/libzbxsysinfo.a(common.o)(.text+0x1be9): In function `forward_request': common/common.c:1391: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking ../libs/zbxsysinfo/libzbxsysinfo.a(common.o)(.text+0x220e): In function `CHECK_DNS': common.c: undefined reference to `__res_query' collect2: ld returned 1 exit status make[3]: *** [zabbix_agent] Error 1 make[3]: Leaving directory `/zabbix-1.1/src/zabbix_agent' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/zabbix-1.1/src/zabbix_agent' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/zabbix-1.1/src' make: *** [all-recursive] Error 1
glibc-kernheaders-2.4-9.1.94
glibc-2.3.6-3
glibc-devel-2.3.6-3
glibc-common-2.3.6-3
if that helps...