Building 1.2.2 on HP/UX 11.11

Joseph Bruni
Mon May 5 21:51:03 2003

here is the section from config.log:

configure:12938: checking for gettimeofday
configure:12988: cc -o conftest -g -Ae -D_HPUX_SOURCE   conftest.c  >&5
cc: "configure", line 13057: error 1584: Inconsistent type declaration: "gettimeofday".
cc: "configure", line 13064: warning 604: Pointers are not assignment-compatible.
cc: "configure", line 13073: warning 605: Illegal pointer combination for !=.

I get a LOT of "pointer not assignment-compatible" warnings throughout the build process using HP's compiler. I don't think this is really a problem since I'm building everything in 32-bit mode. I'm not using the DD64 option.

On Monday, May 05, 2003, at 11:49AM, David Shaw <> wrote:

>Hash: SHA1
>On Mon, May 05, 2003 at 01:42:40PM -0400, David Shaw wrote:
>> On Mon, May 05, 2003 at 10:18:04AM -0600, Joseph Bruni wrote:
>> > Never a dull moment with HP/UX... For some reason, autoconf did not
>> > correctly locate gettimeofday and flagged it as nonexistant. The
>> > build failed, but by modifying config.h to set the HAVE_GETTIMEOFDAY
>> > to 1, GPG built just fine with no other issues.
>> Strange.  That sounds like something in autoconf.  What does your
>> config.log show for the gettimeofday check?
>> Is the old inline problem at least working all right?
>Actually, I have a related question - what error did you get when
>gettimeofday did not exist?  Theoretically, GnuPG should be able to
>build without it.
>Version: GnuPG v1.3.2-cvs (GNU/Linux)
>Gnupg-users mailing list

PGP Fingerprint:
886F 6A8A 68A1 5E90 EF3F  8EFA E2B8 3F99 7343 C1E3