Hello,
I'm getting errors when trying to compile the latest version of the agent on an AIX 5.3 PPC machine. I'd appreciate any insight. Thanks!
# ./configure --enable agent
checking build system type... powerpc-ibm-aix5.3.0.0
checking host system type... powerpc-ibm-aix5.3.0.0
checking for gcc... /opt/gcc-4.1.1/bin/gcc
...
Configuration:
Detected OS: aix5.3.0.0
Install path: /usr/local
Compilation arch: aix
Compiler: /opt/gcc-4.1.1/bin/gcc
Compiler flags: -g -O2
Linker flags:
Libraries: -lnsl
Enable server: no
With database: no
Enable agent: yes
# make
...
/opt/gcc-4.1.1/bin/gcc -g -O2 -o zabbix_agentd zabbix_agentd-active.o zabbix_agentd-stats.o zabbix_agentd-cpustat.o zabbix_agentd-diskdevices.o zabbix_agentd-interfaces.o zabbix_agentd-logfiles.o zabbix_agentd-zabbix_agentd.o zabbix_agentd-zbxconf.o zabbix_agentd-listener.o zabbix_agentd-eventlog.o ../../src/libs/zbxsysinfo/libzbxagentsysinfo.a ../../src/libs/zbxsysinfo/aix/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 -lnsl
ld: 0711-317 ERROR: Undefined symbol: .flock
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make[2]: *** [zabbix_agentd] Error 1
make[2]: Leaving directory `/tmp/zabbix-1.3.6/src/zabbix_agent'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/zabbix-1.3.6/src'
make: *** [all-recursive] Error 1
I'm getting errors when trying to compile the latest version of the agent on an AIX 5.3 PPC machine. I'd appreciate any insight. Thanks!
# ./configure --enable agent
checking build system type... powerpc-ibm-aix5.3.0.0
checking host system type... powerpc-ibm-aix5.3.0.0
checking for gcc... /opt/gcc-4.1.1/bin/gcc
...
Configuration:
Detected OS: aix5.3.0.0
Install path: /usr/local
Compilation arch: aix
Compiler: /opt/gcc-4.1.1/bin/gcc
Compiler flags: -g -O2
Linker flags:
Libraries: -lnsl
Enable server: no
With database: no
Enable agent: yes
# make
...
/opt/gcc-4.1.1/bin/gcc -g -O2 -o zabbix_agentd zabbix_agentd-active.o zabbix_agentd-stats.o zabbix_agentd-cpustat.o zabbix_agentd-diskdevices.o zabbix_agentd-interfaces.o zabbix_agentd-logfiles.o zabbix_agentd-zabbix_agentd.o zabbix_agentd-zbxconf.o zabbix_agentd-listener.o zabbix_agentd-eventlog.o ../../src/libs/zbxsysinfo/libzbxagentsysinfo.a ../../src/libs/zbxsysinfo/aix/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 -lnsl
ld: 0711-317 ERROR: Undefined symbol: .flock
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
make[2]: *** [zabbix_agentd] Error 1
make[2]: Leaving directory `/tmp/zabbix-1.3.6/src/zabbix_agent'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/zabbix-1.3.6/src'
make: *** [all-recursive] Error 1
Comment