Unable to run make successfully fornagios-plugins-1.4.5

Marc Powell marc at ena.com
Fri Dec 15 16:22:54 CET 2006



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Ravi Malghan
> Sent: Thursday, December 14, 2006 4:22 PM
> To: nagios-users at lists.sourceforge.net
> Subject: [Nagios-users] Unable to run make successfully
fornagios-plugins-
> 1.4.5
> 
> Hi: When I run make, I get the following error. I looked through the
FAQ,
> couldn't find any pointers. I am compiling this on Solaris 2.9 and
have
> make 3.81 and gcc 3.4.6
> =========================

[chop]

> gcc: unrecognized option `-Xa'
> gcc: language arch=v8 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'

Not sure I can help but googling for "gcc: language arch=v8 not
recognized" shows this to be a pretty common issue when compiling mysql
apps (DBD::Mysql comes up a lot). Perhaps there'll be some answers
there. What configure options did you pass? Did you use --with-mysql= to
give it the path to the mysql_config bin directory? Do you happen to
have multiple versions of mysql installed? Finally, do you see the same
error after running a 'make distclean; ./configure...; make' cycle
again?

--
Marc

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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