<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></FONT></P>

<P>I am installing Nagios 1.4.1  plugin on a Solaris 10 box and when I run make or make all I this get error message. Any ideas....<BR>
 <BR>
Thanks,<BR>
Syed Jafar<BR>
 <BR>
# make<BR>
 <BR>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><o:p><FONT color=#000000 size=3 face="Times New Roman"> </FONT></o:p></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">gcc: language strconst not recognized<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">gcc: check_mysql.c: linker input file unused because linking not done<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">mv: cannot access .deps/check_mysql-check_mysql.Tpo<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">*** Error code 2<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">make: Fatal error: Command failed for target `check_mysql-check_mysql.o'<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">Current working directory /Temp/nagios-plugins-1.4.11/plugins<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">*** Error code 1<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">The following command caused the error:<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">failcom='exit 1'; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">for f in x $MAKEFLAGS; do \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>case $f in \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">    </SPAN>*=* | --[!k]*);; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">    </SPAN>*k*) failcom='fail=yes';; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>esac; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">done; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">dot_seen=no; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">target=`echo all-recursive | sed s/-recursive//`; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">list='gl lib plugins plugins-scripts plugins-root po'; for subdir in $list; do \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>echo "Making $target in $subdir"; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>if test "$subdir" = "."; then \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">    </SPAN>dot_seen=yes; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">    </SPAN>local_target="$target-am"; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>else \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">    </SPAN>local_target="$target"; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>fi; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>(cd $subdir && make<SPAN style="mso-spacerun: yes">  </SPAN>$local_target) \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>|| eval $failcom; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">done; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">if test "$dot_seen" = "no"; then \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>make<SPAN style="mso-spacerun: yes">  </SPAN>"$target-am" || exit 1; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">fi; test -z "$fail"<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">make: Fatal error: Command failed for target `all-recursive'<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">Current working directory /Temp/nagios-plugins-1.4.11<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">*** Error code 1<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">make: Fatal error: Command failed for target `all'</FONT></FONT></FONT></P>
<FONT size=3><FONT color=#000000><FONT face="Times New Roman"></FONT></FONT></FONT> <BR>
<FONT size=3><FONT color=#000000><FONT face="Times New Roman"></FONT></FONT></FONT> <BR>
<FONT size=3><FONT color=#000000><FONT face="Times New Roman"></FONT></FONT></FONT> <BR>
<FONT size=3><FONT color=#000000><FONT face="Times New Roman"></FONT></FONT></FONT> <BR>
<FONT size=3><FONT color=#000000><FONT face="Times New Roman"><o:p># make install</o:p></FONT></FONT></FONT><BR>
<FONT size=3><FONT color=#000000><FONT face="Times New Roman"><o:p></o:p></FONT></FONT></FONT> <BR>
<FONT size=3><FONT color=#000000><FONT face="Times New Roman"><o:p></o:p></FONT></FONT></FONT> <BR>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">Making install in gl<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">make<SPAN style="mso-spacerun: yes">  </SPAN>install-am<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">Making install in lib<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">Making install in tests<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">Making install in plugins<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /><st1:place w:st="on">I.</st1:place> -I.. -I.. -I../lib -I../gl -I../intl<SPAN style="mso-spacerun: yes">  </SPAN>-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; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">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<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">gcc: language strconst not recognized<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">gcc: check_mysql.c: linker input file unused because linking not done<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">mv: cannot access .deps/check_mysql-check_mysql.Tpo<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">*** Error code 2<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">make: Fatal error: Command failed for target `check_mysql-check_mysql.o'<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">Current working directory /Temp/nagios-plugins-1.4.11/plugins<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">*** Error code 1<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">The following command caused the error:<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">failcom='exit 1'; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">for f in x $MAKEFLAGS; do \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>case $f in \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">    </SPAN>*=* | --[!k]*);; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">    </SPAN>*k*) failcom='fail=yes';; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>esac; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">done; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">dot_seen=no; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">target=`echo install-recursive | sed s/-recursive//`; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">list='gl lib plugins plugins-scripts plugins-root po'; for subdir in $list; do \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>echo "Making $target in $subdir"; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>if test "$subdir" = "."; then \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">    </SPAN>dot_seen=yes; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">    </SPAN>local_target="$target-am"; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>else \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">    </SPAN>local_target="$target"; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>fi; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>(cd $subdir && make<SPAN style="mso-spacerun: yes">  </SPAN>$local_target) \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>|| eval $failcom; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">done; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">if test "$dot_seen" = "no"; then \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman"><SPAN style="mso-spacerun: yes">  </SPAN>make<SPAN style="mso-spacerun: yes">  </SPAN>"$target-am" || exit 1; \<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">fi; test -z "$fail"<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><FONT size=3><FONT color=#000000><FONT face="Times New Roman">make: Fatal error: Command failed for target `install-recursive'<o:p></o:p></FONT></FONT></FONT></P>
<P style="MARGIN: 0in 0in 0pt" class=MsoNormal><BR></P></body>
</html>