Thank you<br><br>That fixed my problem<br><br><div class="gmail_quote">On Thu, Jun 5, 2008 at 8:03 AM, Thomas Guyot-Sionnest <<a href="mailto:dermoth@aei.ca">dermoth@aei.ca</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
-----BEGIN PGP SIGNED MESSAGE-----<br>
Hash: SHA1<br>
<div class="Ih2E3d"><br>
On 04/06/08 02:02 AM, <a href="mailto:asam30@gmail.com">asam30@gmail.com</a> wrote:<br>
> Hi,<br>
><br>
> I am trying to install nagios plugins on solaris spac 10. It was able to<br>
> configure fine but problems comes up while compiling.<br>
><br>
> # make<br>
> gcc: language strconst not recognized<br>
> gcc: check_mysql.c: linker input file unused because linking not done<br>
> mv: cannot access .deps/check_mysql-check_mysql.Tpo<br>
> make[2]: *** [check_mysql-check_mysql.o] Error 2<br>
> make[2]: Leaving directory `/usr/local/nagios/nagios-plugins-1.4.11/plugins'<br>
> make[1]: *** [all-recursive] Error 1<br>
> make[1]: Leaving directory `/usr/local/nagios/nagios-plugins-1.4.11'<br>
> make: *** [all] Error 2<br>
> # which make<br>
> /usr/local/bin/make<br>
</div>> I've downloaded gnu make from <a href="http://sunfreeware.com" target="_blank">sunfreeware.com</a> <<a href="http://sunfreeware.com/" target="_blank">http://sunfreeware.com/</a>><br>
<div class="Ih2E3d">> from the below suggestion,<br>
><br>
> <a href="http://www.nagios.org/faqs/viewfaq.php?faq_id=78" target="_blank">http://www.nagios.org/faqs/viewfaq.php?faq_id=78</a><br>
><br>
> I was actually getting the error in the above url but as per the<br>
> suggestion I've downloaded make-3.81 and installed it. Then it reportes<br>
> the above error which I gave here.<br>
><br>
> Please suggest<br>
<br>
</div>This is most likely because your mysql was compiled with sun cc with<br>
non-gcc compiler flags. Two options here:<br>
<br>
1. If you don't need check_mysql*, just configure with "--without-mysql"<br>
<br>
2. If you need mysql checks, edit plugins/Makefile, look for MYSQLCFLAGS<br>
and remove any non-gcc flag there.<br>
<br>
Thomas<br>
-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.6 (GNU/Linux)<br>
Comment: Using GnuPG with Mozilla - <a href="http://enigmail.mozdev.org" target="_blank">http://enigmail.mozdev.org</a><br>
<br>
iD8DBQFIR1CB6dZ+Kt5BchYRAr0iAKCeq1KuqNskm4nenx3ZNCz2NxQq/QCgwraw<br>
a/xrbMxORHcqk24In3cqCQE=<br>
=72QW<br>
-----END PGP SIGNATURE-----<br>
</blockquote></div><br><br clear="all"><br>-- <br>Shankar Asam