[Nagiosplug-help] nagios-plugins-200211131100 & HP-UX 11.00

C. Bensend benny at bennyvision.com
Tue Jan 21 10:41:06 CET 2003


Hey folks,

	At the request of another Nagios user, I was planning
on building another tarball of the plugins on HP-UX.  However,
with nagios-plugins-200211131100, I am running into a funky
compilation problem.

	configure goes well, and make starts off OK (using
GNU make, v 3.79).  However, when it starts building check_disk,
it hangs with the following:

cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I/usr/include     -g -c check_disk.c
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I/usr/include     -g -c utils.c
cc: "utils.c", line 414: warning 611: Qualifiers are not assignment-compatible.
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I/usr/include     -g -c popen.c
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I/usr/include     -g  -c snprintf.c -o snprintf.o
ar -r libsnprintf.a snprintf.o
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I/usr/include     -g -c ./getopt.c -o getopt.o
cc -DHAVE_CONFIG_H -I. -I. -I. -I. -I. -I. -I. -I. -I/usr/include     -g -c ./getopt1.c -o getopt1.o
ar -r libgetopt.a getopt.o getopt1.o
cc  -g -L. -L/usr/lib -o check_disk  check_disk.o utils.o popen.o -lelf  -lsnprintf -lsnprintf -lgetopt
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (check_disk.o) was detected. The linked output may not run on a PA 1.x system.

	When this happens, it does not error out or continue,
but remains on the last line above.  Load goes through the roof,
and it continues to eat CPU like candy.

	I didn't have any problems building previous versions,
so if someone with more intimate knowledge of the build process
could give me a hand, I would really appreciate it.  IIRC, I
_did_ see the "linked output" error the last time I built them,
but it did continue at that time.

	Once I get these built, I will upload them to my Nagios
project page (http://www.bennyvision.com/projects/nagios/) for
download.

Thanks!

Benny


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Discharge of a nuclear weapon shall be deemed a warlike act,
even if accidental."       -- My homeowners insurance policy




More information about the Help mailing list