Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 9 Sep 2009 13:52:10 +0200
From: websiteaccess <websiteaccess@...il.com>
To: john-users@...ts.openwall.com
Subject: error compiling patch  "md5 gen 2" with 1.7.3.1


My system is OS 10.6 (imac)
I have successfully added to john 1.7.3.1 and compiled JTR and the 
following patches (in this order) :

 gzcat ../john-1.7.3.1-all-5.diff.gz | patch -p1 -Z
 gzcat ../john-1.7.3.1-all-5-fast-rawMD5-SSE2-1.diff.gz | patch -p1 -Z
 gzcat ../john-1.7.3.1-all-5-phpass-3.diff.gz | patch -p1 -Z
 gzcat ../john-1.7.3.1-all-5-several-performance-updates-1.diff.gz | 
patch -p1 -Z
 gzcat ../john-1.7.3.1-all-5-numerous_options_and_bugfixes-1.diff.gz | 
patch -p1 -Z

 --------------------------------------------------------
 When I try JTR 1.7.3.1 and the following patches :
 
 gzcat ../john-1.7.3.1-all-5.diff.gz | patch -p1 -Z
 gzcat ../john-1.7.3.1-all-5-fast-rawMD5-SSE2-1.diff.gz | patch -p1 -Z
 gzcat ../john-1.7.3.1-all-5-phpass-3.diff.gz | patch -p1 -Z
 gzcat ../john-1.7.3.1-all-5-several-performance-updates-1.diff.gz | 
patch -p1 -Z
 gzcat ../john-1.7.3.1-all-5-numerous_options_and_bugfixes-1.diff.gz | 
patch -p1 -Z
 +
 john-1.7.3.1-all-5-md5_gen-2.diff.gz  <===

 I get the errors : 

iMac-de-xxx-xxx:john-1.7.3.1 xxxxxx$ gzcat 
../john-1.7.3.1-all-5-md5_gen-2.diff.gz | patch -p1 -Z
patching file doc/MD5_GENERIC
patching file src/Makefile
Not setting time of file src/Makefile (time mismatch)
patching file src/bench.c
Hunk #1 succeeded at 29 (offset -10 lines).
Hunk #2 succeeded at 107 (offset -13 lines).
Hunk #3 succeeded at 223 (offset -21 lines).
Not setting time of file src/bench.c (time mismatch)
patching file src/formats.c
Not setting time of file src/formats.c (time mismatch)
patching file src/john.c
Hunk #1 succeeded at 42 (offset -2 lines).
Hunk #2 succeeded at 108 (offset -2 lines).
Not setting time of file src/john.c (time mismatch)
patching file src/md5_gen.h
patching file src/md5_gen_fmt.c
patching file src/md5_gen_parser.c
patching file src/md5_gen_preloads.c
patching file src/options.c
Hunk #2 succeeded at 81 with fuzz 1 (offset 15 lines).
Hunk #3 succeeded at 125 with fuzz 2 (offset 18 lines).
Hunk #4 succeeded at 170 (offset 21 lines).
Not setting time of file src/options.c (time mismatch)
patching file src/options.h
Hunk #2 FAILED at 86.
Hunk #3 succeeded at 109 (offset -2 lines).
Not setting time of file src/options.h (time mismatch)
1 out of 3 hunks FAILED -- saving rejects to file src/options.h.rej
iMac-de-xxx-xxx:john-1.7.3.1 xxxxxx$ 


 Then when I compile I get :

options.c:84: error: ‘FLG_SUB_FORMAT’ undeclared here (not in a 
function)
make[1]: *** [options.o] Error 1
make: *** [macosx-x86-64] Error 2
iMac-de-xxx-xxx:src xxxxxx$ 

  need help please.

 Thanks,

 W.A.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.