error when "make all"
Posted: Thu Apr 26, 2012 9:54 am
Hi I am new to nagios, please I need some assistance:
I am trying to install nagios on a solaris 10, so I downloaded the tarball, setup the pre-requisits for installing nagios, them extract nagios, and managed to run "./configure" with no errors at all.
But when running "make all" I have the following error at the very end of it:
Please can you help?
FR
I am trying to install nagios on a solaris 10, so I downloaded the tarball, setup the pre-requisits for installing nagios, them extract nagios, and managed to run "./configure" with no errors at all.
But when running "make all" I have the following error at the very end of it:
Code: Select all
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o ../xdata/xdddefault.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -c ../common/snprintf.c
gcc -Wall -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o ../common/shared.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o netutils.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o ../common/snprintf.o -lm -lsocket -lpthread -ldl -lrt -lsocket
gcc: ../common/snprintf.o: No such file or directory
nagios.c: In function `main':
nagios.c:651: warning: implicit declaration of function `asprintf'
*** Error code 1
make: Fatal error: Command failed for target `nagios'
Current working directory /usr/local/nagios/base
*** Error code 1
make: Fatal error: Command failed for target `all'
#
FR