<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Vincent,<br>
<br>
Thanks for the suggestion. I had problems related to SSL using GCC.
The reason I would like to use Sun Studio<br>
is so that the binaries can be copied to systems that are running
different versions of gcc libraries for specific<br>
applications. Thanks for your help.<br>
<br>
Brandon<br>
<br>
<br>
Alloo, Vincent wrote:
<blockquote
cite="mid:184E3F696E604341B2D96227FFD0B8C592AAD215@dnce02.ent.ti.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Why
not using the GCC compiler located under /usr/sfw/bin. It
works perfectly for Solaris 10 x86 and Sparc (setenv CC
/usr/sfw//bin/gcc;
setenv MAKE /usr/sfw/bin/gmake; setenv AR /usr/sfw/bbin/gar)<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><b><span
style="font-size: 7.5pt; font-family: "Arial","sans-serif"; color: rgb(31, 73, 125);">Vincent
Alloo</span></b><span style="color: rgb(31, 73, 125);"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 7.5pt; font-family: "Arial","sans-serif"; color: rgb(31, 73, 125);">TI
France Design Systems Operations Manager</span><span
style="color: rgb(31, 73, 125);"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 7.5pt; font-family: "Arial","sans-serif"; color: rgb(31, 73, 125);">Europe,
Middle East and Africa IT Services</span><span
style="color: rgb(31, 73, 125);"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 7.5pt; font-family: "Arial","sans-serif"; color: rgb(31, 73, 125);">Texas
Instruments France</span><span style="color: rgb(31, 73, 125);"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color: rgb(31, 73, 125);"> <o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 7.5pt; font-family: "Arial","sans-serif"; color: rgb(31, 73, 125);">E-Mail:
<a moz-do-not-send="true" href="mailto:v-alloo@ti.com">v-alloo@ti.com</a></span><span
style="color: rgb(31, 73, 125);"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size: 7.5pt; font-family: "Arial","sans-serif"; color: rgb(31, 73, 125);">Phone:
+33 4 93 22 26 97</span><span style="color: rgb(31, 73, 125);"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span
style="font-size: 7.5pt; font-family: "Arial","sans-serif"; color: rgb(31, 73, 125);">Mobile:
+33 6 82 13 00 80</span><span
style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"><o:p></o:p></span></p>
<div>
<div
style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
<p class="MsoNormal"><b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">From:</span></b><span
style="font-size: 10pt; font-family: "Tahoma","sans-serif"; color: windowtext;">
Brandon Munger
[<a class="moz-txt-link-freetext" href="mailto:bmunger@edison.edu">mailto:bmunger@edison.edu</a>]
<br>
<b>Sent:</b> Wednesday, December 17, 2008 1:42 AM<br>
<b>To:</b> James Pratt<br>
<b>Cc:</b> Nagios Users<br>
<b>Subject:</b> Re: [Nagios-users] Nagios-plugins on Solaris 10 with
Sun Studio
12<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">James Pratt wrote: <o:p></o:p></p>
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;">
<blockquote style="margin-top: 5pt; margin-bottom: 5pt;">
<pre>-----Original Message-----<o:p></o:p></pre>
<pre>From: Brandon Munger [<a moz-do-not-send="true"
href="mailto:bmunger@edison.edu">mailto:bmunger@edison.edu</a>]<o:p></o:p></pre>
<pre>Sent: Tuesday, December 16, 2008 3:46 PM<o:p></o:p></pre>
<pre>To: <a moz-do-not-send="true"
href="mailto:nagios-users@lists.sourceforge.net">nagios-users@lists.sourceforge.net</a><o:p></o:p></pre>
<pre>Subject: [Nagios-users] Nagios-plugins on Solaris 10 with Sun Studio 12<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Hello Nagios Users,<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>I have been attempting to compile Nagios plugins and NRPE with Sun Studio<o:p></o:p></pre>
<pre>so I can deploy the binaries to a number of machines. I have read the<o:p></o:p></pre>
<pre>documentation available but I cannot get a successful compile.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>This command I am using is:<o:p></o:p></pre>
<pre>CC=cc CFLAGS='-DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4' ./configure<o:p></o:p></pre>
<pre>--with-ps-command="/usr/bin/ps -eo 's uid pid ppid vsz rss pcpu etime<o:p></o:p></pre>
<pre>comm args'" --with-ps-format='%s %d %d %d %d %d %f %s %s %n'<o:p></o:p></pre>
<pre>--with-ps-cols=10<o:p></o:p></pre>
<pre>--with-ps-<o:p></o:p></pre>
<pre>varlist='procstat,&;procuid,&;procpid,&;procppid,&;procvsz,&;procrss,&;procpcpu,pr<o:p></o:p></pre>
<pre>ocetime,procprog,&pos'<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>The make output I get is:<o:p></o:p></pre>
<pre>Making all in plugins<o:p></o:p></pre>
<pre>make[2]: Entering directory<o:p></o:p></pre>
<pre>`/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins'<o:p></o:p></pre>
<pre>source='check_apt.c' object='check_apt.o' libtool=no \<o:p></o:p></pre>
<pre> DEPDIR=.deps depmode=none /bin/bash ../build-aux/depcomp \<o:p></o:p></pre>
<pre> cc -DLOCALEDIR=\"/usr/local/nagios/share/locale\"<o:p></o:p></pre>
<pre>-DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../gl -I../intl<o:p></o:p></pre>
<pre>-I/usr/include/pgsql -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -c check_apt.c<o:p></o:p></pre>
<pre>"check_apt.c", line 450: warning: dubious escape: \%<o:p></o:p></pre>
<pre>/bin/bash ../libtool --tag=CC --mode=link cc -DSSL_EXPERIMENTAL<o:p></o:p></pre>
<pre>-DSSL_ENGINE -xO4 -L. -o check_apt check_apt.o utils.o<o:p></o:p></pre>
<pre>../lib/libnagiosplug.a ../gl/libgnu.a runcmd.o -lnsl -lsocket -ldl<o:p></o:p></pre>
<pre>cc -DSSL_EXPERIMENTAL -DSSL_ENGINE -xO4 -o check_apt check_apt.o utils.o<o:p></o:p></pre>
<pre>runcmd.o -L/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins<o:p></o:p></pre>
<pre>../lib/libnagiosplug.a ../gl/libgnu.a -lnsl -lsocket -ldl<o:p></o:p></pre>
<pre>Undefined first referenced<o:p></o:p></pre>
<pre>symbol in file<o:p></o:p></pre>
<pre>alloca ../gl/libgnu.a(regex.o)<o:p></o:p></pre>
<pre>ld: fatal: Symbol referencing errors. No output written to check_apt<o:p></o:p></pre>
<pre>make[2]: *** [check_apt] Error 1<o:p></o:p></pre>
<pre>make[2]: Leaving directory<o:p></o:p></pre>
<pre>`/export/home/bmunger/downloads/nagios-plugins-1.4.13/plugins'<o:p></o:p></pre>
<pre>make[1]: *** [all-recursive] Error 1<o:p></o:p></pre>
<pre>make[1]: Leaving directory<o:p></o:p></pre>
<pre>`/export/home/bmunger/downloads/nagios-plugins-1.4.13'<o:p></o:p></pre>
<pre>make: *** [all] Error 2<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Thank you for your help.<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre><o:p> </o:p></pre>
<pre>Brandon<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
</blockquote>
</blockquote>
<pre><o:p> </o:p></pre>
<pre>Hi Brandon, <o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>If there is a configure switch to disable the "check_apt" plugin, you could try that. I always found it quite difficult to get Nagios running well on sun/sparc. Please let us know how it goes! :)<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>jamie<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>------------------------------------------------------------------------------<o:p></o:p></pre>
<pre>SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.<o:p></o:p></pre>
<pre>The future of the web can't happen without you. Join us at MIX09 to help<o:p></o:p></pre>
<pre>pave the way to the Next Web now. Learn more and register at<o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/">http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/</a><o:p></o:p></pre>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Nagios-users mailing list<o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><o:p></o:p></pre>
<pre><a moz-do-not-send="true"
href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><o:p></o:p></pre>
<pre>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. <o:p></o:p></pre>
<pre>::: Messages without supporting info will risk being sent to /dev/null<o:p></o:p></pre>
<pre> <o:p></o:p></pre>
<p class="MsoNormal">Hi Jamie,<br>
<br>
I couldn't find a way to disable the check_apt plugin. I tried a few
flags with the same result. I have a feeling that the problem will be
with all the plugins, and that apt<br>
is just the first one attempted. Thanks.<br>
<br>
Brandon<br>
<br>
<br>
<br>
CONFIDENTIALITY: This e-mail (including any attachments) may contain
confidential, proprietary and privileged information, and unauthorized
disclosure or use is prohibited. If you received this e-mail in error,
please
notify the sender and delete this e-mail from your system. <o:p></o:p></p>
</div>
</blockquote>
<br><br>
CONFIDENTIALITY: This e-mail (including any attachments) may contain
confidential, proprietary and privileged information, and unauthorized
disclosure or use is prohibited. If you received this e-mail in error,
please notify the sender and delete this e-mail from your system.
</body>
</html>