Problem compiling nagios-plugins-1.4.0alpha1

Vincent Aniello Vincent.Aniello at PipelineTrading.com
Wed Sep 15 01:05:20 CEST 2004


I am trying to compile nagios-plugins-1.4.0alpha1 on a RedHat Enterprise
2.1, but the compilation is failing.
 
The error message I am receiving is:
 
make[2]: Entering directory
`/home/vaniello/nagios-plugins-1.4.0alpha1/plugins'
if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H
-I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include/ldap
/usr/local/pgsql/include -I/usr/include   -I/usr/kerberos/include  -g
-O2 -MT check_disk.o -MD -MP -MF ".deps/check_disk.Tpo" \
  -c -o check_disk.o `test -f 'check_disk.c' || echo './'`check_disk.c;
\
then mv -f ".deps/check_disk.Tpo" ".deps/check_disk.Po"; \
else rm -f ".deps/check_disk.Tpo"; exit 1; \
fi
gcc: cannot specify -o with -c or -S and multiple compilations
make[2]: *** [check_disk.o] Error 1
make[2]: Leaving directory
`/home/vaniello/nagios-plugins-1.4.0alpha1/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/vaniello/nagios-plugins-1.4.0alpha1'
make: *** [all] Error 2

 
Has any one experienced this error?  Any suggestions on how to fix it?
 
V/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20040914/7cfacf50/attachment.html>


More information about the Users mailing list