[Nagiosplug-help] error on HP-UX 10.20 while compiling nrpe 2.0
carole verdon
verdon at cict.fr
Tue Jun 22 07:36:15 CEST 2004
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.
More information about the Help
mailing list