[Nagiosplug-help] compiling on HP-UX 11i V1 PA-RISC

Holger Weiss holger at CIS.FU-Berlin.DE
Wed Apr 16 15:39:14 CEST 2008


* Lou Palladino <lou.palladino at fnis.com> [2008-04-15 08:19]:
> 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.

This was fixed in the current SVN code, you could try the daily
snapshot:

http://nagiosplug.sf.net/snapshot/nagios-plugins-HEAD.tar.gz

Otherwise, here's the patch:

http://nagiosplug.svn.sf.net/viewvc/nagiosplug/nagiosplug/trunk/lib/utils_base.c?r1=1913&r2=1930&view=patch

Holger




More information about the Help mailing list