<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=US-ASCII" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Andy<br>
I tried gcc here and while it gets much further into the compile, it
ultimately bombs here:<br>
<br>
gcc -g -O2 -o check_swap check_swap.o utils.o popen.o
/usr/local/lib/libintl.sl /usr/local/lib/libiconv.sl
-L/tmp/nagios/nagios-plugins-1.4.11/plugins -L/usr/local/lib -lm
../lib/libnagiosplug.a ../gl/libgnu.a<br>
/usr/ccs/bin/ld: Unsatisfied symbols:<br>
floorf (first referenced in check_swap.o) (code)<br>
collect2: ld returned 1 exit status<br>
*** Error exit code 1<br>
<br>
Stop.<br>
*** Error exit code 1<br>
<br>
Stop.<br>
*** Error exit code 1<br>
<br>
Stop.<br>
#
<br>
<br>
Ford, Andy wrote:
<blockquote
cite="mid:2D81E1BAE64EB343A9570B11C5E6927F0237F1E1@hqemhopn1.home.corp.agedwards.com"
type="cite">
<pre wrap="">I did a bit of trying to compile open source stuff on HP-UX and I always
used gcc.
Are you aware of the "Porting and Archive Center" for HP-UX precompiled
stuff?
You should be able to get gcc and supporting things there.
<a class="moz-txt-link-freetext" href="http://hpux.cs.utah.edu/">http://hpux.cs.utah.edu/</a>
</pre>
<blockquote type="cite">
<pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:nagiosplug-help-bounces@lists.sourceforge.net">nagiosplug-help-bounces@lists.sourceforge.net</a>
[<a class="moz-txt-link-freetext" href="mailto:nagiosplug-help-bounces@lists.sourceforge.net">mailto:nagiosplug-help-bounces@lists.sourceforge.net</a>] On
Behalf Of Lou Palladino
Sent: Tuesday, April 15, 2008 7:20 AM
To: <a class="moz-txt-link-abbreviated" href="mailto:nagiosplug-help@lists.sourceforge.net">nagiosplug-help@lists.sourceforge.net</a>
Subject: [Nagiosplug-help] compiling on HP-UX 11i V1 PA-RISC
Hi
I have been unsuccessful in compiling the Nagios plug-ins on
HP-UX 11.11
PA-RISC. Is this an unsupported platform? The configure
script seems
to go ok, but make fails at the following:
Making all in lib
Making all in tests
source='utils_base.c' object='utils_base.o' libtool=no \
DEPDIR=.deps depmode=hp /bin/sh ../build-aux/depcomp \
cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../gl -I../intl
-I../plugins -I/usr/local/include -g -c utils_base.c
cpp: "../plugins/common.h", line 224: warning 2002: Redefinition of
param names for macro __attribute__.
cc: "utils_base.c", line 108: error 1649: Illegal integer-pointer
combination for >.
cc: "utils_base.c", line 108: error 1563: Expression in if
must be scalar.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
#
Thanks.
-Lou Palladino
</pre>
</blockquote>
<pre wrap=""><!---->
Wachovia Securities, LLC's outgoing and incoming e-mails are electronically
archived and subject to review and/or disclosure to someone other
than the recipient.
A.G. Edwards, a division of Wachovia Securities, LLC
</pre>
</blockquote>
<DIV>
______________<BR>
<BR>
The information contained in this message is proprietary and/or confidential. If you are not the <BR>
intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, <BR>
distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, <BR>
please be aware that any message addressed to our domain is subject to archiving and review by <BR>
persons other than the intended recipient. Thank you.<BR>
_____________<BR>
</DIV></body>
</html>