0.9.3 compile problem

Werner Koch wk at isil.d.shuttle.de
Sat Feb 20 19:31:24 CET 1999


David Ellement <ellement at sdd.hp.com> writes:

> ../include/mpi.h:57: conflicting types for `MPI'
> ../include/g10lib.h:31: previous declaration of `MPI'
> rndunix.c: In function `start_gatherer':
> rndunix.c:612: warning: function declaration isn't a prototype

Try this: (don't know why it does not happen on my machines)

diff -ur archive/gnupg-0.9.3/include/g10lib.h gnupg/include/g10lib.h
--- archive/gnupg-0.9.3/include/g10lib.h	Wed Jan 20 17:57:32 1999
+++ gnupg/include/g10lib.h	Sat Feb 20 19:26:19 1999
@@ -25,11 +25,7 @@
 #endif
 
 
-
-#ifndef _g10lib_INTERNAL
-struct g10mpi_struct { int hidden_stuff; };
-typedef struct g10mpi_struct *MPI;
-#endif
+#include "mpi.h"
 
 int g10c_debug_mode;
 int g10_opt_verbose;



-- 
ceterum censeo RSA esse delendam




More information about the Gnupg-devel mailing list