Hi
I have tried to install the agent on a Western Digital Ethernet disk, following the documentation. "Configure" went OK but "make" did report an error.
I am nat the in depth linux guy, so I am guessing and could need a bit of help.
The getloadavg seems to be missing or not referenced correctly.
Has any one an idear?
Could it be missing SW on the device?
Can I workaround to omit the CPU references below?
Thanks, Orla
Making all in zabbix_agent
make[2]: Entering directory `/usr/local/src/zabbix-1.4.2/src/zabbix_agent'
gcc -g -O2 -o zabbix_agent zabbix_agent.o stats.o cpustat.o diskdevices.o interfaces.o perfstat.o zbxconf.o ../../src/libs/zbxsysinfo/libzbxagentsysinfo.a ../../src/libs/zbxsysinfo/linux/libspecsysinfo.a ../../src/libs/zbxsysinfo/common/libcommonsysinfo.a ../../src/libs/zbxsysinfo/simple/libsimplesysinfo.a ../../src/libs/zbxlog/libzbxlog.a ../../src/libs/zbxsys/libzbxsys.a ../../src/libs/zbxnix/libzbxnix.a ../../src/libs/zbxcomms/libzbxcomms.a ../../src/libs/zbxconf/libzbxconf.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxcrypto/libzbxcrypto.a -lm
../../src/libs/zbxsysinfo/linux/libspecsysinfo.a(libspecsysinfo_a-cpu.o): In function `SYSTEM_CPU_LOAD1':
/usr/local/src/zabbix-1.4.2/src/libs/zbxsysinfo/linux/cpu.c:180: undefined reference to `getloadavg'
../../src/libs/zbxsysinfo/linux/libspecsysinfo.a(libspecsysinfo_a-cpu.o): In function `SYSTEM_CPU_LOAD5':
/usr/local/src/zabbix-1.4.2/src/libs/zbxsysinfo/linux/cpu.c:199: undefined reference to `getloadavg'
../../src/libs/zbxsysinfo/linux/libspecsysinfo.a(libspecsysinfo_a-cpu.o): In function `SYSTEM_CPU_LOAD15':
/usr/local/src/zabbix-1.4.2/src/libs/zbxsysinfo/linux/cpu.c:218: undefined reference to `getloadavg'
collect2: ld returned 1 exit status
make[2]: *** [zabbix_agent] Error 1
make[2]: Leaving directory `/usr/local/src/zabbix-1.4.2/src/zabbix_agent'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/zabbix-1.4.2/src'
make: *** [all-recursive] Error 1
I have tried to install the agent on a Western Digital Ethernet disk, following the documentation. "Configure" went OK but "make" did report an error.
I am nat the in depth linux guy, so I am guessing and could need a bit of help.
The getloadavg seems to be missing or not referenced correctly.
Has any one an idear?
Could it be missing SW on the device?
Can I workaround to omit the CPU references below?
Thanks, Orla
Making all in zabbix_agent
make[2]: Entering directory `/usr/local/src/zabbix-1.4.2/src/zabbix_agent'
gcc -g -O2 -o zabbix_agent zabbix_agent.o stats.o cpustat.o diskdevices.o interfaces.o perfstat.o zbxconf.o ../../src/libs/zbxsysinfo/libzbxagentsysinfo.a ../../src/libs/zbxsysinfo/linux/libspecsysinfo.a ../../src/libs/zbxsysinfo/common/libcommonsysinfo.a ../../src/libs/zbxsysinfo/simple/libsimplesysinfo.a ../../src/libs/zbxlog/libzbxlog.a ../../src/libs/zbxsys/libzbxsys.a ../../src/libs/zbxnix/libzbxnix.a ../../src/libs/zbxcomms/libzbxcomms.a ../../src/libs/zbxconf/libzbxconf.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxcrypto/libzbxcrypto.a -lm
../../src/libs/zbxsysinfo/linux/libspecsysinfo.a(libspecsysinfo_a-cpu.o): In function `SYSTEM_CPU_LOAD1':
/usr/local/src/zabbix-1.4.2/src/libs/zbxsysinfo/linux/cpu.c:180: undefined reference to `getloadavg'
../../src/libs/zbxsysinfo/linux/libspecsysinfo.a(libspecsysinfo_a-cpu.o): In function `SYSTEM_CPU_LOAD5':
/usr/local/src/zabbix-1.4.2/src/libs/zbxsysinfo/linux/cpu.c:199: undefined reference to `getloadavg'
../../src/libs/zbxsysinfo/linux/libspecsysinfo.a(libspecsysinfo_a-cpu.o): In function `SYSTEM_CPU_LOAD15':
/usr/local/src/zabbix-1.4.2/src/libs/zbxsysinfo/linux/cpu.c:218: undefined reference to `getloadavg'
collect2: ld returned 1 exit status
make[2]: *** [zabbix_agent] Error 1
make[2]: Leaving directory `/usr/local/src/zabbix-1.4.2/src/zabbix_agent'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/zabbix-1.4.2/src'
make: *** [all-recursive] Error 1