<!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="#99ffff" text="#000000">
<tt>Thanks for the advice.<br>
<br>
"to the top of the file" <-- which file are you referring to?
Makefile?<br>
<br>
The systems I am working on all run AIX 5.3. I do have Linux (SLES)
running on one partition in one of our 3 p570's, but the AIX LPARs are
the ones I want to monitor.<br>
</tt><br>
Andreas Ericsson wrote:
<blockquote cite="mid42C47806.5030607@op5.se" type="cite">Kenneth Klein
wrote:
  <br>
  <blockquote type="cite">I finally got nagios to "make all" and make
etc. Then I dl.ed the source for the plugins, I grabbed the latest
stable verson.
    <br>
    <br>
I got this error when I ran make all.
    <br>
    <br>
ar: Creating an archive file libsnprintf.a.
    <br>
       gcc  -g -O2  -L. -L/lib -o check_disk  check_disk.o utils.o
../lib/libnagiosplug.a popen.o -lsnprintf -lsnprintf
    <br>
ld: 0711-317 ERROR: Undefined symbol: .VA_COPY
    <br>
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
    <br>
collect2: ld returned 8 exit status
    <br>
make: 1254-004 The error code from the last command is 1.
    <br>
    <br>
  </blockquote>
  <br>
The configure script seems to not have picked up that your system can't
handle the VA_COPY macro properly. There are macros for it in
lib/snprintf.c which can circumvent this. Adding
  <br>
#undef HAVE_VA_COPY
  <br>
#undef HAVE__VA_COPY
  <br>
to the top of the file should at least make the plugins compile,
although I can't guarantee they won't segfault en masse. That will
depend on your systems vsprintf() implementation.
  <br>
  <br>
If it's at all possible, you should try running Nagios on either Linux
or *BSD. Older systems doesn't have the asprintf() function and the
current plugin distribution sadly relies heavily on it being there.
  <br>
  <br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
I am told that the US spent a lot of money trying to find a pen that
would write in weightlessness. They showed the "Space Pen" to the
competing Russians. They showed the US reps - a pencil.
</pre>
</body>
</html>