[GH-ISSUE #2076] more undefined references to `JOHNSWAP64' follow #1391

Closed
opened 2026-10-14 03:47:12 +07:00 by bsakaguchi · 4 comments
Owner

Originally created by @dibiloid on GitHub (Mar 4, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2076

/home/corvet/data/Download/JohnTheRipper/src/cuda_rawsha512_fmt_plug.c:210: undefined reference to JOHNSWAP64' /home/corvet/data/Download/JohnTheRipper/src/cuda_rawsha512_fmt_plug.c:210: undefined reference toJOHNSWAP64'
/home/corvet/data/Download/JohnTheRipper/src/cuda_rawsha512_fmt_plug.c:210: undefined reference to JOHNSWAP64' /home/corvet/data/Download/JohnTheRipper/src/cuda_rawsha512_fmt_plug.c:210: undefined reference toJOHNSWAP64'
/home/corvet/data/Download/JohnTheRipper/src/cuda_rawsha512_fmt_plug.c:210: undefined reference to JOHNSWAP64' cuda_rawsha512_fmt_plug.o:/home/corvet/data/Download/JohnTheRipper/src/cuda_rawsha512_fmt_plug.c:210: more undefined references toJOHNSWAP64' follow
collect2: error: ld returned 1 exit status
make[1]: *** [../run/john] Error 1
make[1]: Leaving directory `/data/data/Download/JohnTheRipper/src'
make: *** [default] Error 2

Linux Mint 17.2

Originally created by @dibiloid on GitHub (Mar 4, 2016). Original GitHub issue: https://github.com/openwall/john/issues/2076 /home/corvet/data/Download/JohnTheRipper/src/cuda_rawsha512_fmt_plug.c:210: undefined reference to `JOHNSWAP64' /home/corvet/data/Download/JohnTheRipper/src/cuda_rawsha512_fmt_plug.c:210: undefined reference to`JOHNSWAP64' /home/corvet/data/Download/JohnTheRipper/src/cuda_rawsha512_fmt_plug.c:210: undefined reference to `JOHNSWAP64' /home/corvet/data/Download/JohnTheRipper/src/cuda_rawsha512_fmt_plug.c:210: undefined reference to`JOHNSWAP64' /home/corvet/data/Download/JohnTheRipper/src/cuda_rawsha512_fmt_plug.c:210: undefined reference to `JOHNSWAP64' cuda_rawsha512_fmt_plug.o:/home/corvet/data/Download/JohnTheRipper/src/cuda_rawsha512_fmt_plug.c:210: more undefined references to`JOHNSWAP64' follow collect2: error: ld returned 1 exit status make[1]: **\* [../run/john] Error 1 make[1]: Leaving directory `/data/data/Download/JohnTheRipper/src' make: **\* [default] Error 2 Linux Mint 17.2
Author
Owner

@jfoug commented on GitHub (Mar 4, 2016):

Please verify that this problem is gone.

<!-- gh-comment-id:192432755 --> @jfoug commented on GitHub (Mar 4, 2016): Please verify that this problem is gone.
Author
Owner

@dibiloid commented on GitHub (Mar 4, 2016):

ar: creating aes.a
ptxas info : 0 bytes gmem
cuda_cryptmd5_fmt_plug.c:31:2: error: invalid preprocessing directive #inculde
#inculde "johnswap.h"
^
make[1]: *** [cuda_cryptmd5_fmt_plug.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [default] Error 2

<!-- gh-comment-id:192439295 --> @dibiloid commented on GitHub (Mar 4, 2016): ar: creating aes.a ptxas info : 0 bytes gmem cuda_cryptmd5_fmt_plug.c:31:2: error: invalid preprocessing directive #inculde #inculde "johnswap.h" ^ make[1]: **\* [cuda_cryptmd5_fmt_plug.o] Error 1 make[1]: **\* Waiting for unfinished jobs.... make: **\* [default] Error 2
Author
Owner

@jfoug commented on GitHub (Mar 4, 2016):

lol, what a bonehead typo. This is the problem of not building cuda.

Please try after 33f8615

<!-- gh-comment-id:192447702 --> @jfoug commented on GitHub (Mar 4, 2016): lol, what a bonehead typo. This is the problem of not building cuda. Please try after 33f8615
Author
Owner

@dibiloid commented on GitHub (Mar 4, 2016):

good fix !!!

<!-- gh-comment-id:192478687 --> @dibiloid commented on GitHub (Mar 4, 2016): good fix !!!
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#1391
No description provided.