Fwd: The results of your email commands

Thomas Guyot-Sionnest dermoth at aei.ca
Thu Jun 5 04:33:37 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/06/08 02:02 AM, asam30 at gmail.com wrote:
> Hi,
>  
> I am trying to install nagios plugins on solaris spac 10. It was able to
> configure fine but problems comes up while compiling.
>  
> # make
> 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
> make[2]: *** [check_mysql-check_mysql.o] Error 2
> make[2]: Leaving directory `/usr/local/nagios/nagios-plugins-1.4.11/plugins'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/nagios/nagios-plugins-1.4.11'
> make: *** [all] Error 2
>  # which make
> /usr/local/bin/make
> I've downloaded gnu make from sunfreeware.com <http://sunfreeware.com/>
> from the below suggestion,
>  
> http://www.nagios.org/faqs/viewfaq.php?faq_id=78
>  
> I was actually getting the error in the above url but as per the
> suggestion I've downloaded make-3.81 and installed it. Then it reportes
> the above error which I gave here.
>  
> Please suggest

This is most likely because your mysql was compiled with sun cc with
non-gcc compiler flags. Two options here:

1. If you don't need check_mysql*, just configure with "--without-mysql"

2. If you need mysql checks, edit plugins/Makefile, look for MYSQLCFLAGS
and remove any non-gcc flag there.

Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIR1CB6dZ+Kt5BchYRAr0iAKCeq1KuqNskm4nenx3ZNCz2NxQq/QCgwraw
a/xrbMxORHcqk24In3cqCQE=
=72QW
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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