Hello,
I am having problems compiling alpha11 on Solaris 9. Errors happen when make attempts zabbix_agentd, even when I don't specify --enable-agent in my configure. configure is successful each time.
My environment:
SunOS edwina 5.9 Generic_117171-09 sun4u sparc SUNW,Ultra-Enterprise
gcc 2.95.3
My configure command (which is succesful):
./configure \
--prefix=/opt/zabbix \
--enable-server \
--with-mysql=/opt/mysql
The last chunk of make results:
Making all in zabbix_agent
Making all in .
source='zabbix_agent.c' object='zabbix_agent.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c zabbix_agent.c
/opt/sfw/bin/gcc -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 -lnsl -lkstat -lsocket
source='active.c' object='active.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c active.c
source='cpustat.c' object='cpustat.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c cpustat.c
source='diskdevices.c' object='diskdevices.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c diskdevices.c
source='interfaces.c' object='interfaces.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c interfaces.c
source='logfiles.c' object='logfiles.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c logfiles.c
source='stats.c' object='stats.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c stats.c
source='zabbix_agentd.c' object='zabbix_agentd.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c zabbix_agentd.c
/opt/sfw/bin/gcc -g -O2 -o zabbix_agentd active.o cpustat.o diskdevices.o interfaces.o logfiles.o stats.o zabbix_agentd.o ../libs/zbxsysinfo/libzbxsysinfo.a ../libs/zbxlog/libzbxlog.a ../libs/zbxcrypto/libzbxcrypto.a ../libs/zbxpid/libzbxpid.a ../libs/zbxnet/libzbxnet.a ../libs/zbxconf/libzbxconf.a ../libs/zbxcommon/libzbxcommon.a -lnsl -lkstat -lsocket
Undefined first referenced
symbol in file
hstrerror active.o
ld: fatal: Symbol referencing errors. No output written to zabbix_agentd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `zabbix_agentd'
Current working directory /home/clawson/zabbix-1.1alpha11/src/zabbix_agent
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/clawson/zabbix-1.1alpha11/src/zabbix_agent
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/clawson/zabbix-1.1alpha11/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Ideas on how to correct this?
Thanks,
Dan
I am having problems compiling alpha11 on Solaris 9. Errors happen when make attempts zabbix_agentd, even when I don't specify --enable-agent in my configure. configure is successful each time.
My environment:
SunOS edwina 5.9 Generic_117171-09 sun4u sparc SUNW,Ultra-Enterprise
gcc 2.95.3
My configure command (which is succesful):
./configure \
--prefix=/opt/zabbix \
--enable-server \
--with-mysql=/opt/mysql
The last chunk of make results:
Making all in zabbix_agent
Making all in .
source='zabbix_agent.c' object='zabbix_agent.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c zabbix_agent.c
/opt/sfw/bin/gcc -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 -lnsl -lkstat -lsocket
source='active.c' object='active.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c active.c
source='cpustat.c' object='cpustat.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c cpustat.c
source='diskdevices.c' object='diskdevices.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c diskdevices.c
source='interfaces.c' object='interfaces.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c interfaces.c
source='logfiles.c' object='logfiles.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c logfiles.c
source='stats.c' object='stats.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c stats.c
source='zabbix_agentd.c' object='zabbix_agentd.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/bash ../../depcomp \
/opt/sfw/bin/gcc -DHAVE_CONFIG_H -I. -I. -I../../include -g -O2 -c zabbix_agentd.c
/opt/sfw/bin/gcc -g -O2 -o zabbix_agentd active.o cpustat.o diskdevices.o interfaces.o logfiles.o stats.o zabbix_agentd.o ../libs/zbxsysinfo/libzbxsysinfo.a ../libs/zbxlog/libzbxlog.a ../libs/zbxcrypto/libzbxcrypto.a ../libs/zbxpid/libzbxpid.a ../libs/zbxnet/libzbxnet.a ../libs/zbxconf/libzbxconf.a ../libs/zbxcommon/libzbxcommon.a -lnsl -lkstat -lsocket
Undefined first referenced
symbol in file
hstrerror active.o
ld: fatal: Symbol referencing errors. No output written to zabbix_agentd
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `zabbix_agentd'
Current working directory /home/clawson/zabbix-1.1alpha11/src/zabbix_agent
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/clawson/zabbix-1.1alpha11/src/zabbix_agent
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/clawson/zabbix-1.1alpha11/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Ideas on how to correct this?
Thanks,
Dan
Comment