make: Fatal error: Command failed for target `all'

Marc Powell marc at ena.com
Mon Mar 9 21:14:41 CET 2009



> -----Original Message-----
> From: Jai Ram [mailto:jaiho8 at gmail.com]
> Sent: Monday, March 09, 2009 2:37 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] make: Fatal error: Command failed for target
`all'
> 
> Hello All,
> 
> Can anyone explain me about the following error. Am trying to install
nagios
> but am getting this error and unable to move forward.
> 
>  # make all
> cd ./base && make
> gcc -g -O2 -DHAVE_CONFIG_H  -DNSCORE  -c  ../common/snprintf.c
> gcc -g -O2 -DHAVE_CONFIG_H  -DNSCORE -o nagios nagios.c broker.o
nebmods.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
-lpthread -ldl
> -lrt
> gcc: ../common/snprintf.o: No such file or directory

Are you using GNU make? You should be.

http://archive.netbsd.se/?ml=nagios-devel&a=2007-08&t=5023627
 
Try googleing for the gcc: line for more.

--
Marc

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list