[Nagiosplug-help] Compilation errors

Foster, David David.Foster at bbusl.com
Wed Feb 6 09:50:41 CET 2008

Hi could you please help I get problems when I try to compile the latest
plugins version 1.4.11 the errors are shown below


With Thanks


Dave Foster


bash-3.00# make

make  all-recursive

Making all in gl

make  all-am

Making all in lib

Making all in tests

Making all in plugins

if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H
-I. -I. -I.. -I.. -I../lib -I../gl -I../intl  -I/usr/include/pgsql
-I/include -I/usr/sfw/include/mysql -D_REENTRANT -I/include
-I/usr/sfw/include/mysql -xstrconst -mt -g -O2 -MT
check_mysql-check_mysql.o -MD -MP -MF
".deps/check_mysql-check_mysql.Tpo" -c -o check_mysql-check_mysql.o
`test -f 'check_mysql.c' || echo './'`check_mysql.c; \

then mv -f ".deps/check_mysql-check_mysql.Tpo"
".deps/check_mysql-check_mysql.Po"; else rm -f
".deps/check_mysql-check_mysql.Tpo"; exit 1; fi

gcc: language strconst not recognized

gcc: check_mysql.c: linker input file unused because linking not done

mv: cannot access .deps/check_mysql-check_mysql.Tpo

*** Error code 2

make: Fatal error: Command failed for target `check_mysql-check_mysql.o'

Current working directory /appsoft1/nagios/nagios-plugins-1.4.11/plugins

*** 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='gl lib plugins plugins-scripts plugins-root po'; 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 /appsoft1/nagios/nagios-plugins-1.4.11

*** Error code 1

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


This message has been scanned for viruses by BlackSpider MailControl - www.blackspider.com

Balfour Beatty Utility Solutions

Registered Office 01062438: Park Square, Newton Chambers Road, Thorncliffe Park, Chapeltown, Sheffield, South Yorkshire, S35 2PH.

Registered Office 02067112: West Service Road, Raynesway, Derby, DE21 7BG.
© 2007 Balfour Beatty Power Networks Ltd. trading as Balfour Beatty Utility Solutions

Place of Registration: Registered in England and Wales
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-plugins.org/archive/help/attachments/20080206/dd22afb5/attachment.html>

More information about the Help mailing list