HTTrack Website Copier
Free software offline browser - FORUM
Subject: src/md5.h double declaration
Author: Richard
Date: 03/19/2015 16:30
 
Hi,

On compiling httrack-3.48.21 under Linux, I get this error:

In file included from htsname.c:39:0:
md5.h:47:27: error: redefinition of typedef 'MD5CTX'
md5.h:28:3: note: previous declaration of 'MD5CTX' was here

Patching with this:
<quote>
--- src/md5.h.org       2015-03-15 16:13:31.000000000 +0000
+++ src/md5.h   2015-03-19 15:12:18.000000000 +0000
@@ -44,6 +44,6 @@
 /*
 * This is needed to make RSAREF happy on some MS-DOS compilers.
 */
-typedef struct MD5Context MD5CTX;
+/* typedef struct MD5Context MD5CTX; */
 
 #endif /* !MD5_H */

</quote>

works for me.

This change was introduced, it seems in this commit:

commit ebd4d34b7b91ccee5e3fbaa587fa320acf3ce7ac
Author: Xavier Roche <xroche@users.noreply.github.com>
Date:   Sun Jul 6 08:17:09 2014 +0000

Thanks,

===Rich
 
Reply


All articles

Subject Author Date
src/md5.h double declaration

03/19/2015 16:30
Re: src/md5.h double declaration

03/22/2015 12:06
Re: src/md5.h double declaration

10/07/2015 19:52
Re: src/md5.h double declaration

02/27/2016 20:46




0

Created with FORUM 2.0.11