PDA

View Full Version : compiling agent - not a COFF file


chocho63
04-08-2005, 17:32
I tried to compile zabbit_agent (1.1alpha11) on AIX 5.2 with option --enable-static, and I got the following message :

Target "all" is up to date.
Target "all-am" is up to date.
Target "all" is up to date.
Making all in zabbix_agent
Making all in .
if gcc -DHAVE_CONFIG_H -I. -I. -I../../include -static -g -O2 -MT zabbix_agent.o -MD -MP -MF ".deps/zabbix_agent.Tpo" -c -o zabbix_agent.o zabbix_agent.c; then mv -f ".deps/zabbix_agent.Tpo" ".deps/zabbix_agent.Po"; else rm -f ".deps/zabbix_agent.Tpo"; exit 1; fi
gcc -static -g -O2 -o zabbix_agent zabbix_agent.o ../libs/zbxsysinfo/libzbxsysinfo.a ../libs/zbxlog/libzbxlog.a ../libs/zbxcrypto/libzbxcrypto.a ../libs/zbxnet/libzbxnet.a ../libs/zbxconf/libzbxconf.a
collect2: ../libs/zbxsysinfo/libzbxsysinfo.a: not a COFF file
make: 1254-004 The error code from the last command is 1.


Anyone who knows about COFF file ?

chocho63
11-08-2005, 11:31
I canno't compile Zabbix agent 1.1 Alpha 11 on AIX 4.3.3 and AIX 5.2. Has anyone compiled Zabbix agent on AIX ?
I successfully compiled Zabbix agent on Solaris 7, 8, 9, HP-UX 11 and Linux RedHat AS 3.0, but not on AIX

fips
01-09-2005, 11:53
In the release notes for the 1.1alpha11 it is written:
full support of autoconf framework
I think this broke the successfull compilation on AIX mashines.
I tried AIX 4.3.3/5.2/5.3 gcc 2.95/3.4.3 ..., all zabbix compilations
bigger then 10 will stop with the "COFF" error.
I hope this will be solved on the next version!