[ZBX-4264] Zabbix agent does not compile on HP-UX Created: 2011 Oct 24 Updated: 2017 May 30 Resolved: 2011 Oct 27 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Agent (G), Installation (I) |
Affects Version/s: | 1.8.9, 1.9.7 (beta) |
Fix Version/s: | 1.8.9, 1.9.7 (beta) |
Type: | Incident report | Priority: | Blocker |
Reporter: | dimir | Assignee: | dimir |
Resolution: | Fixed | Votes: | 0 |
Labels: | agent, compilation, hp-ux | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
HP-UX B.11.11 U 9000/800 886900688 unlimited-user license |
Description |
$ ./configure --enable-agent cc -g zabbix_agentd_SOURCES = active.c active.h stats.c stats.h cpustat.c cpustat.h diskdevices.c diskdevices.h perfstat.c perfstat.h vmstats.c vmstats.h logfiles.c logfiles.h zabbix_agentd.c zbxconf.c zbxconf.h listener.c listener.h eventlog.c eventlog.h -o zabbix_agent zabbix_agent.o stats.o cpustat.o diskdevices.o perfstat.o vmstats.o zbxconf.o ../../src/libs/zbxsysinfo/libzbxagentsysinfo.a ../../src/libs/zbxsysinfo/hpux/libspecsysinfo.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 zabbix_agent_SOURCES = zabbix_agent.c stats.c stats.h cpustat.c cpustat.h diskdevices.c diskdevices.h perfstat.c perfstat.h vmstats.c vmstats.h zbxconf.c zbxconf.h -lm |
Comments |
Comment by dimir [ 2011 Oct 24 ] |
The problem is that "-I ../../include" is lost somewhere. If I add this to the cc command-line it compiles. |
Comment by dimir [ 2011 Oct 25 ] |
The problem appeared to be the way "make" handles multi-line values on HP-UX (or just old "make"). |
Comment by dimir [ 2011 Oct 25 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-4264 . |
Comment by Aleksandrs Saveljevs [ 2011 Oct 26 ] |
(1) You have done two fixes: one which moves @AGENT_LIBS@ around and another one which moves @AGENT_LDFLAGS@. It would be nice to figure out which one of them actually helps and whether we can do with just one of them. Once that is decided, we might wish to do the same for server and proxy. <dimir> Keeping the order of libs in "agent_ldadd" variable. RESOLVED in r22739 . <asaveljevs> CLOSED |
Comment by dimir [ 2011 Oct 27 ] |
Fixed in pre-1.8.9 r22757, pre-1.9.8 r22760 . |