help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

HP-UX PA-RISC1.1 binaries


From: Luke A. Kanies
Subject: HP-UX PA-RISC1.1 binaries
Date: Mon, 13 Jan 2003 16:56:53 -0600 (CST)

Hi,

I'm trying to compile cfengine on all my platforms, and I unfortunately
still have some PA-RISC1.1 machines lying around.  I can't seem to get
cfengine to compile support for this architecture, either using gcc or
HP's commercial compiler.  They are all running HP-UX 11.00.

If I use gcc, I get the following error:

../../src/pub/snprintf.c:404: conflicting types for `snprintf'
/usr/local/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.1/include/stdio.h:493:
previous declaration of `snprintf'

(in addition to getting:
cc1: warning: -g is only supported when using GAS on this processor,
cc1: warning: -g option disabled
cc1: warning: changing search order for system directory
"/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory

but obviously, those are just warnings, so aren't the problem)

With HP's commercial compiler (which is actually the 11i version, since I
don't have the 11.00 version, even though this is for 11.00; it shouldn't
matter), I get many many warnings like this:

cc: "../../src/src/crypto.c", line 260: warning 604: Pointers are not
assignment-compatible.
cc: "../../src/src/crypto.c", line 260: warning 563: Argument #1 is not
the correct type.
cc: "../../src/src/crypto.c", line 274: warning 604: Pointers are not
assignment-compatible.
cc: "../../src/src/crypto.c", line 274: warning 563: Argument #1 is not
the correct type.
cc: "../../src/src/crypto.c", line 279: warning 604: Pointers are not
assignment-compatible.
cc: "../../src/src/crypto.c", line 279: warning 563: Argument #1 is not
the correct type.
cc: "../../src/src/crypto.c", line 284: warning 604: Pointers are not
assignment-compatible.
cc: "../../src/src/crypto.c", line 284: warning 563: Argument #3 is not
the correct type.
cc: "../../src/src/crypto.c", line 315: warning 604: Pointers are not
assignment-compatible.

And then it finally fails like this:

cc: "../../src/src/cfservd.c", line 2609: warning 604: Pointers are not
assignment-compatible.
cc: "../../src/src/cfservd.c", line 2609: warning 563: Argument #1 is not
the correct type.
cc: "../../src/src/cfservd.c", line 3093: error 1610: Attempting to return
value from function of type void.
cc: "../../src/src/cfservd.c", line 3104: error 1610: Attempting to return
value from function of type void.
*** Error exit code 1

I'm interested in being able to compile it myself, but because this is
only for about 6 boxes, all of which I'm hoping to get rid of this year,
it's not that big of a deal to me.  I can compile without PA-RISC1.1
capability relatively easily.

And yes, when I say "compiled with <compiler>", I mean "compiled
BerkeleyDB, OpenSSL, and cfengine with <compiler>".  I've tried a couple
mixed setups, but I haven't tried all six options, nor have I doubled the
number of options by switching between make and gmake.

For cc, I enabled PA-RISC1.1 compatibility with '+DAportable', and for
gcc, I used '-mpa-risc-1-1', which is what most docs I could find
(including HP's tech resources) recommended.

In case I never get this to work, does anyone have cfengine 2.0.4 binaries
that will run on PA-RISC1.1 hardware, like the D and E boxes, I would
appreciate a copy, especially if they're statically linked.  All of these
old boxes are running 11.00 here, if that matters.

Thanks.

-- 
I went to a restaurant that serves "breakfast at anytime".  So I
ordered French Toast during the Renaissance.     -- Stephen Wright




reply via email to

[Prev in Thread] Current Thread [Next in Thread]