Steps to reproduce:
- Build Zabbix 6.0.23 agent in AIX 7.2 or 7.3
Result:
ar cru libzbxagent.a libzbxagent_a-active.o libzbxagent_a-cpustat.o libzbxagent_a-diskdevices.o libzbxagent_a-listener.o libzbxagent_a-procstat.o libzbxagent_a-stats.o libzbxagent_a-vmstats.o libzbxagent_a-zbxconf.o libzbxagent_a-zbxkstat.o ranlib libzbxagent.a make: Cannot find a rule to create target ../../src/libs/zbxsysinfo/aix/libfunclistsysinfo.a from dependencies. Stop.
Expected:
Pass build
Causes:
src/libs/zbxsysinfo/<PLATFORM>/Makefile.am has changed in 6.0.23. For example:
diff --git a/src/libs/zbxsysinfo/hpux/Makefile.am b/src/libs/zbxsysinfo/hpux/Makefile.am index d25fb54e380..6918a1979aa 100644 --- a/src/libs/zbxsysinfo/hpux/Makefile.am +++ b/src/libs/zbxsysinfo/hpux/Makefile.am @@ -1,6 +1,9 @@ ## Process this file with automake to produce Makefile.in-noinst_LIBRARIES = libspecsysinfo.a libspechostnamesysinfo.a +noinst_LIBRARIES = libfunclistsysinfo.a libspecsysinfo.a libspechostnamesysinfo.a + +libfunclistsysinfo_a_SOURCES = \ + hpux.c libspecsysinfo_a_CFLAGS = -I$(top_srcdir)/src/zabbix_agent@@ -8,7 +11,6 @@ libspecsysinfo_a_SOURCES = \ cpu.c \ diskio.c \ diskspace.c \ - hpux.c \ inodes.c inodes.h \ memory.c \ net.c \
This change has not added in src/libs/zbxsysinfo/aix/Makefile.am.
- is duplicated by
-
ZBX-23645 Agent build broken on AIX
- Closed