[GH-ISSUE #322] dynamic doesn't compile with OMP enabled #63

Closed
opened 2026-10-14 02:51:02 +07:00 by bsakaguchi · 1 comment
Owner

Originally created by @kholia on GitHub (Jun 7, 2013).
Original GitHub issue: https://github.com/openwall/john/issues/322

Originally assigned to: @jfoug on GitHub.

$  make linux-x86-64-opencl
dynamic_fmt.c: In function ‘crypt_all’:
dynamic_fmt.c:1506:55: error: ‘count’ undeclared (first use in this function)
      DynamicFunc__MD5_crypt_input2_overwrite_input1(0,count,0);
                                                       ^
dynamic_fmt.c:1506:55: note: each undeclared identifier is reported only once for each function it appears in
dynamic_fmt.c: In function ‘DynamicFunc__FreeBSDMD5Crypt’:
dynamic_fmt.c:4377:13: error: ‘first’ redeclared as different kind of symbol
  static int first=1;
             ^
dynamic_fmt.c:4376:39: note: previous definition of ‘first’ was here
 void DynamicFunc__FreeBSDMD5Crypt(DYNA_OMP_PARAMS) {
                                       ^
make[1]: *** [dynamic_fmt.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [linux-x86-64-opencl] Error 2
Originally created by @kholia on GitHub (Jun 7, 2013). Original GitHub issue: https://github.com/openwall/john/issues/322 Originally assigned to: @jfoug on GitHub. ``` $ make linux-x86-64-opencl dynamic_fmt.c: In function ‘crypt_all’: dynamic_fmt.c:1506:55: error: ‘count’ undeclared (first use in this function) DynamicFunc__MD5_crypt_input2_overwrite_input1(0,count,0); ^ dynamic_fmt.c:1506:55: note: each undeclared identifier is reported only once for each function it appears in dynamic_fmt.c: In function ‘DynamicFunc__FreeBSDMD5Crypt’: dynamic_fmt.c:4377:13: error: ‘first’ redeclared as different kind of symbol static int first=1; ^ dynamic_fmt.c:4376:39: note: previous definition of ‘first’ was here void DynamicFunc__FreeBSDMD5Crypt(DYNA_OMP_PARAMS) { ^ make[1]: *** [dynamic_fmt.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make: *** [linux-x86-64-opencl] Error 2 ```
Author
Owner

@jfoug commented on GitHub (Jun 7, 2013):

Fixed and pushed.

<!-- gh-comment-id:19135792 --> @jfoug commented on GitHub (Jun 7, 2013): Fixed and pushed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#63
No description provided.