error on HP-UX 10.20 while compiling nrpe 2.0

Seth Hollist Seth.Hollist at ingenix.com
Tue Jun 22 19:54:59 CEST 2004


I've been trying to get nrpe working on HP-UX 11.11 with no luck.  The first
problem is that the compiler that comes with HP-UX is a very picky compiler.
You first need to install gmake and gcc, and even after that it's probably
going to take some tweaking to get it to work.  I even found some DEPOT
installs for npre and the plug-ins, but those didn't seem to work to well
either.  I guess I'm just as lost on this as you are.

-----Original Message-----
From: carole verdon [mailto:verdon at cict.fr]
Sent: Tuesday, June 22, 2004 8:34 AM
To: Nagios Users
Subject: [Nagios-users] error on HP-UX 10.20 while compiling nrpe 2.0

Hi all,

I try to compile nrpe v2.0 on a HP-UX 10.20 boxe but i have got the
following errors when i execute 'make all' :

make all
         cd ./src/; make ; cd ..
         cc -Ae -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c
nrpe.c:
cc: "nrpe.c", line 520: error 1000: Unexpected symbol: "addrlen".
cc: "nrpe.c", line 520: error 1573: Type of "addrlen" is undefined due
to an illegal declaration.
cc: "nrpe.c", line 526: error 1588: "sock" undefined.
cc: "nrpe.c", line 529: error 1563: Expression in if must be scalar.
cc: "nrpe.c", line 536: warning 563: Argument #1 is not the correct type.
cc: "nrpe.c", line 536: warning 526: Pointer implicitly converted to
integral value in assignment.
cc: "nrpe.c", line 536: warning 563: Argument #4 is not the correct type.
cc: "nrpe.c", line 536: warning 527: Integral value implicitly converted
to pointer in assignment.
cc: "nrpe.c", line 536: warning 563: Argument #5 is not the correct type.
cc: "nrpe.c", line 541: error 1588: "myname" undefined.
cc: "nrpe.c", line 541: error 1529: Cannot select field of non-structure.
cc: "nrpe.c", line 542: error 1529: Cannot select field of non-structure.
cc: "nrpe.c", line 543: error 1529: Cannot select field of non-structure.
cc: "nrpe.c", line 543: error 1555: Address operator requires an lvalue.
cc: "nrpe.c", line 543: warning 563: Argument #1 is not the correct type.
cc: "nrpe.c", line 543: warning 527: Integral value implicitly converted
to pointer in assignment.
cc: "nrpe.c", line 543: warning 563: Argument #2 is not the correct type.
cc: "nrpe.c", line 547: error 1529: Cannot select field of non-structure.
cc: "nrpe.c", line 547: error 1529: Cannot select field of non-structure.
cc: "nrpe.c", line 549: error 1529: Cannot select field of non-structure.
cc: "nrpe.c", line 549: error 1555: Address operator requires an lvalue.
cc: "nrpe.c", line 549: warning 563: Argument #2 is not the correct type.
cc: "nrpe.c", line 555: warning 563: Argument #1 is not the correct type.
cc: "nrpe.c", line 555: error 1527: Incompatible types in cast: Must
cast from scalar to scalar or to void type.
cc: "nrpe.c", line 555: warning 526: Pointer implicitly converted to
integral value in assignment.
cc: "nrpe.c", line 555: warning 563: Argument #2 is not the correct type.
cc: "nrpe.c", line 555: error 1594: The sizeof operator cannot be
applied to types with unknown size.
cc: "nrpe.c", line 555: warning 527: Integral value implicitly converted
to pointer in assignment.
cc: "nrpe.c", line 555: warning 563: Argument #3 is not the correct type.
cc: "nrpe.c", line 561: warning 563: Argument #1 is not the correct type.
cc: "nrpe.c", line 580: error 1529: Cannot select field of non-structure.
cc: "nrpe.c", line 580: warning 563: Argument #3 is not the correct type.
cc: "nrpe.c", line 589: error 1588: "new_sd" undefined.
cc: "nrpe.c", line 589: warning 563: Argument #1 is not the correct type.
cc: "nrpe.c", line 590: error 1563: Expression in if must be scalar.
cc: "nrpe.c", line 604: error 1588: "new_sd" undefined.
cc: "nrpe.c", line 604: error 1563: Expression in if must be scalar.
cc: "nrpe.c", line 610: warning 563: Argument #1 is not the correct type.
cc: "nrpe.c", line 616: warning 563: Argument #1 is not the correct type.
cc: "nrpe.c", line 619: error 1588: "addr" undefined.
cc: "nrpe.c", line 619: error 1594: The sizeof operator cannot be
applied to types with unknown size.
cc: "nrpe.c", line 620: error 1588: "rc" undefined.
cc: "nrpe.c", line 620: warning 563: Argument #1 is not the correct type.
cc: "nrpe.c", line 620: warning 563: Argument #2 is not the correct type.
cc: "nrpe.c", line 620: warning 563: Argument #3 is not the correct type.
cc: "nrpe.c", line 622: error 1563: Expression in if must be scalar.
cc: "nrpe.c", line 628: warning 563: Argument #1 is not the correct type.
cc: "nrpe.c", line 633: error 1588: "nptr" undefined.
cc: "nrpe.c", line 633: error 1527: Incompatible types in cast: Must
cast from scalar to scalar or to void type.
cc: "nrpe.c", line 637: error 1532: Reference through a non-pointer.
cc: "nrpe.c", line 637: warning 563: Argument #1 is not the correct type.
cc: "nrpe.c", line 637: error 1532: Reference through a non-pointer.
cc: "nrpe.c", line 640: error 1532: Reference through a non-pointer.
cc: "nrpe.c", line 640: warning 563: Argument #1 is not the correct type.
cc: "nrpe.c", line 655: warning 563: Argument #1 is not the correct type.
cc: "nrpe.c", line 663: warning 563: Argument #1 is not the correct type.
cc: "nrpe.c", line 676: error 1588: "new_sd" undefined.
cc: "nrpe.c", line 676: warning 563: Argument #1 is not the correct type.
utils.c:
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.

I search in mailing lists but i don't find any answer. Can someone help
me, please?

Thanks.

Carole.


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified that
any dissemination, distribution or copying of this e-mail is prohibited. If
you have received this e-mail in error, please notify the sender by replying
to this message and delete this e-mail immediately.


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list