A few bugs with GnuPG 1.0.6 on Digital Unix
Chris Adams
cmadams@hiwaay.net
Fri Jun 8 17:43:02 2001
I've run into a couple of problems compiling GnuPG 1.0.6 on Digital Unix
4.0F. First, there is a broken declaration in include/ttyio.h:
************************************************************************
diff -urN gnupg-1.0.6-dist/include/ttyio.h gnupg-1.0.6/include/ttyio.h
--- gnupg-1.0.6-dist/include/ttyio.h Fri May 25 01:42:50 2001
+++ gnupg-1.0.6/include/ttyio.h Fri Jun 8 10:04:27 2001
@@ -24,7 +24,7 @@
#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 5 )
void tty_printf (const char *fmt, ... ) __attribute__ ((format (printf,1,2)));
#else
- void tty_printf const char *fmt, ... );
+ void tty_printf (const char *fmt, ... );
#endif
void tty_print_string( byte *p, size_t n );
void tty_print_utf8_string( byte *p, size_t n );
************************************************************************
Also, configure.in doesn't know how to build dynamic modules on Digital
Unix:
************************************************************************
diff -urN gnupg-1.0.6-dist/configure.in gnupg-1.0.6/configure.in
--- gnupg-1.0.6-dist/configure.in Mon May 28 07:46:13 2001
+++ gnupg-1.0.6/configure.in Fri Jun 8 10:41:16 2001
@@ -280,6 +280,10 @@
DYNLINK_MOD_CFLAGS="-shared $CFLAGS_PIC"
;;
+ *-dec-osf*)
+ DYNLINK_MOD_CFLAGS="-shared $CFLAGS_PIC"
+ ;;
+
*)
NAME_OF_DEV_RANDOM="/dev/random"
NAME_OF_DEV_URANDOM="/dev/urandom"
************************************************************************
With those patches, it builds and runs fine.
--
Chris Adams <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.