today i have compiled Zabbix Agent to test on HPUX IA64 release 11.23
and i have find some problem, the main one is this (other guy on forum
have found it http://www.zabbix.com/forum/showthread.php?t=26535):
Compile Error:
cc -DSYSCONFDIR="\"/usr/local/etc\"" -g -o zabbix_agent
zabbix_agent-zabbix_agent.o zabbix_agent-stats.o
zabbix_agent-cpustat.o zabbix_agent-diskdevices.o
zabbix_agent-perfstat.o zabbix_agent-vmstats.o zabbix_agent-zbxconf.o
../../src/libs/zbxsysinfo/libzbxagentsysinfo.a
../../src/libs/zbxsysinfo/hpux/libspecsysinfo.a
../../src/libs/zbxsysinfo/agent/libagentsysinfo.a
../../src/libs/zbxsysinfo/common/libcommonsysinfo.a
../../src/libs/zbxsysinfo/simple/libsimplesysinfo.a
../../src/libs/zbxlog/libzbxlog.a ../../src/libs/zbxalgo/libzbxalgo.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
../../src/libs/zbxjson/libzbxjson.a
../../src/libs/zbxexec/libzbxexec.a -lm
/usr/ccs/bin/ld: Unsatisfied symbols:
if_freenameindex (first referenced in
../../src/libs/zbxsysinfo/hpux/libspecsysinfo.a(libspecsysinfo_a-net.o))
(code)
if_nameindex (first referenced in
../../src/libs/zbxsysinfo/hpux/libspecsysinfo.a(libspecsysinfo_a-net.o))
(code)
-
-
- Error exit code 1
- Error exit code 1
-
I have solved in this mode:
—
- export LDFLAGS="-lipv6"
- ./configure --enable-agent
- make
- make install
—