Hello,
I really need help, i don't know why i can't compile zabbix agent and sender
No problem durrin configure but when i run make i have this.
I really need help, i don't know why i can't compile zabbix agent and sender
No problem durrin configure but when i run make i have this.
Code:
Making all in src
Making all in libs
Making all in zbxcommon
Making all in zbxlog
Making all in zbxcrypto
Making all in zbxpid
Making all in zbxnet
Making all in zbxconf
Making all in zbxsysinfo
Making all in solaris
Making all in zabbix_agent
gcc -static -g -O2 -o zabbix_agent zabbix_agent.o ../libs/zbxsysinfo/libzbxsysinfo.a ../libs/zbxsysinfo/solaris/libzbxsysinfo2.a ../libs/zbxlog/libzbxlog.a ../libs/zbxcrypto/libzbxcrypto.a ../libs/zbxnet/libzbxnet.a ../libs/zbxconf/libzbxconf.a ../libs/zbxcommon/libzbxcommon.a -lkvm -lresolv -lnsl -lkstat -lsocket
ld: fatal: library -lkvm: not found
ld: fatal: library -lresolv: not found
ld: fatal: library -lnsl: not found
ld: fatal: library -lkstat: not found
ld: fatal: library -lsocket: not found
ld: fatal: library -lc: not found
ld: fatal: File processing errors. No output written to zabbix_agent
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `zabbix_agent'
Current working directory /opt/zabbix/src/zabbix-1.1.2/src/zabbix_agent
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list=''; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /opt/zabbix/src/zabbix-1.1.2/src/zabbix_agent
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='libs zabbix_agent zabbix_get zabbix_sender '; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Current working directory /opt/zabbix/src/zabbix-1.1.2/src
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
*k*) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='src'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'