Help Compiling GnuPG
David Shaw
dshaw@jabberwocky.com
Wed Jun 4 20:31:02 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tue, Jun 03, 2003 at 05:17:00PM -0400, JTANNER@steelcase.com wrote:
> I am trying to install GnuPG for the first time. I am using the gnupg-1.2.2
> on HP-UX 11i (11.11). When I issue the make, I get the following errors:
>
> cc: "random.c", line 655: error 1574: Unknown size for "buf".
> cc: "random.c", line 657: error 1594: The sizeof operator cannot be applied to
> types with unknown size.
> make[2]: *** [random.o] Error 1
> make[2]: Leaving directory `/scs_apps/GnuPG/gnupg-1.2.2/cipher'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/scs_apps/GnuPG/gnupg-1.2.2'
> make: *** [all] Error 2
>
> I have tried using HP basic compiler and an ANSI/C compiler with the same
> results. I've also tried using Gnu's make command without any luck.
This is a known problem on HP-UX. It is fixed in 1.2.3, but in the
meantime, edit your config.h file and set:
/* Define to 1 if you have the `gettimeofday' function. */
#define HAVE_GETTIMEOFDAY 1
David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.3-cvs (GNU/Linux)
Comment: Key available at http://www.jabberwocky.com/david/keys.asc
iD8DBQE+3jsp4mZch0nhy8kRAt+TAJ9zHE8K9RtUtKjzeRsQY7O9IlBmBQCfZl+3
SwM3XIZjYs+vIb+z05upg1U=
=mw38
-----END PGP SIGNATURE-----