Discussion:
[john-users] fatal error: 'opencl_device_info.h' file not found
Bjarne D Mathiesen
2017-06-07 23:53:10 UTC
Permalink
MacPro:src root# ../run/john -test -form:opencl
Device 1: ATI Radeon HD 5770
Build log: <program source>:42:10: fatal error: 'opencl_device_info.h'
file not found
#include "opencl_device_info.h"
^

Error -11 building kernel $JOHN/kernels/pbkdf1_hmac_sha1_kernel.cl.
DEVICE_INFO=138
OpenCL error (CL_BUILD_PROGRAM_FAILURE) in file (common-opencl.c) at
line (879) - (clBuildProgram failed.)

MacPro:src root# ../run/john --list=opencl-devices
Platform #0 name: Apple
Platform version: OpenCL 1.2 (Apr 4 2017 19:07:42)
Device #0 (0) name: Intel(R) Xeon(R) CPU X5690 @ 3.47GHz
Device vendor: Intel
Device type: CPU (LE)
Device version: OpenCL 1.2
Driver version: 1.1

Device #1 (1) name: ATI Radeon HD 5770
Device vendor: AMD
Device type: GPU (LE)
Device version: OpenCL 1.2
Driver version: 1.2 (Apr 27 2017 22:10:56)

MacPro:src root# system_profiler SPSoftwareDataType
Software:
System Software Overview:
System Version: macOS 10.12.5 (16F73)
Kernel Version: Darwin 16.6.0

I've been trying to solve this problem for several hours now.

I've found the following :
http://www.openwall.com/lists/john-users/2014/08/03/2
but how do I execute the work-around

???

../run/john --list=formats --format=opencl \
| sed -E -e 's/,//g' \
| while IFS=' ' read -a formatCL
do
for format in ${formatCL[*]}
do
echo ${format}
../run/john \
--format=${format} \
--wordlist=../../rockyou.txt \
--rules=wordlist \
--fork=12 \
--session=../../PassWords/file3/file3 \
--pot=../../PassWords/file3/${format}.pot \
../../PassWords/file3/file3.txt
done
done
--
Bjarne Mathiesen mailto:***@student.dtu.dk
magnum
2017-06-08 07:40:38 UTC
Permalink
Post by Bjarne D Mathiesen
MacPro:src root# ../run/john -test -form:opencl
Device 1: ATI Radeon HD 5770
Build log: <program source>:42:10: fatal error: 'opencl_device_info.h'
file not found
#include "opencl_device_info.h"
^
Is that file present if you eg. "ls -l ../run/kernels/*.h" ? It should be.
Post by Bjarne D Mathiesen
MacPro:src root# system_profiler SPSoftwareDataType
System Version: macOS 10.12.5 (16F73)
Kernel Version: Darwin 16.6.0
I've been trying to solve this problem for several hours now.
http://www.openwall.com/lists/john-users/2014/08/03/2
but how do I execute the work-around
You seem to be running latest OSX so that problem should not apply to
you. Not sure what is wrong here. Are you using a recent Jumbo?

magnum
Bjarne D Mathiesen
2017-06-08 10:54:47 UTC
Permalink
Post by magnum
Post by Bjarne D Mathiesen
MacPro:src root# ../run/john -test -form:opencl
Device 1: ATI Radeon HD 5770
Build log: <program source>:42:10: fatal error: 'opencl_device_info.h'
file not found
#include "opencl_device_info.h"
^
Is that file present if you eg. "ls -l ../run/kernels/*.h" ? It should be.
It's there ; 1st thing I checked ;-)
MacPro:src root# ls -l ../run/kernels/*.h
-rw------- 1 bjarne staff 77 May 16 2014
../run/kernels/opencl_DES_WGS.h
-rw------- 1 bjarne staff 4623 May 16 2014
../run/kernels/opencl_DES_bs.h
-rw------- 1 bjarne staff 2710 Dec 18 2014
../run/kernels/opencl_bf_std.h
-rw------- 1 bjarne staff 2696 Oct 3 2014
../run/kernels/opencl_cryptsha256.h
-rw------- 1 bjarne staff 2897 Nov 11 2014
../run/kernels/opencl_cryptsha512.h
-rw------- 1 bjarne staff 2435 Oct 3 2014
../run/kernels/opencl_device_info.h
-rw------- 1 bjarne staff 256 May 20 2014
../run/kernels/opencl_lotus5_fmt.h
-rw------- 1 bjarne staff 4044 Dec 18 2014 ../run/kernels/opencl_md4.h
-rw------- 1 bjarne staff 5330 Dec 18 2014 ../run/kernels/opencl_md5.h
-rw------- 1 bjarne staff 5809 Dec 18 2014
../run/kernels/opencl_misc.h
-rw------- 1 bjarne staff 102924 May 16 2014
../run/kernels/opencl_nonstd.h
-rw------- 1 bjarne staff 1073 Nov 11 2014
../run/kernels/opencl_pbkdf1_hmac_sha1.h
-rw------- 1 bjarne staff 1073 May 16 2014
../run/kernels/opencl_pbkdf2_hmac_sha1.h
-rw------- 1 bjarne staff 1688 Sep 19 2014
../run/kernels/opencl_rawsha256.h
-rw------- 1 bjarne staff 1915 Sep 19 2014
../run/kernels/opencl_rawsha512.h
-rw------- 1 bjarne staff 5167 Dec 18 2014 ../run/kernels/opencl_rc4.h
-rw------- 1 bjarne staff 48025 May 16 2014
../run/kernels/opencl_sboxes-s.h
-rw------- 1 bjarne staff 54 May 16 2014
../run/kernels/opencl_sboxes.h
-rw------- 1 bjarne staff 7861 Dec 18 2014
../run/kernels/opencl_sha1.h
-rw------- 1 bjarne staff 32415 Dec 18 2014
../run/kernels/opencl_sha2.h
-rw------- 1 bjarne staff 4220 Oct 3 2014
../run/kernels/opencl_sha256.h
-rw------- 1 bjarne staff 22505 Oct 3 2014
../run/kernels/opencl_sha2_common.h
-rw------- 1 bjarne staff 9517 Oct 3 2014
../run/kernels/opencl_sha512.h
-rw------- 1 bjarne staff 15545 Dec 18 2014
../run/kernels/opencl_unicode.h
Post by magnum
Post by Bjarne D Mathiesen
MacPro:src root# system_profiler SPSoftwareDataType
System Version: macOS 10.12.5 (16F73)
Kernel Version: Darwin 16.6.0
I've been trying to solve this problem for several hours now.
http://www.openwall.com/lists/john-users/2014/08/03/2
but how do I execute the work-around
You seem to be running latest OSX so that problem should not apply to
you. Not sure what is wrong here. Are you using a recent Jumbo?
411 ./configure --enable-mpi LDFLAGS=-L/macports/lib
CFLAGS="-O2 -I/macports/include"
412 make clean && make -j6

MacPro:src root# ../run/john --list=build-info
Version: 1.8.0-jumbo-1 MPI
Build: darwin16.6.0 64-bit SSE4.1-autoconf
Arch: 64-bit LE
$JOHN is ../run/
Format interface version: 12
Max. number of reported tunable costs: 3
Rec file version: REC4
Charset file version: CHR3
CHARSET_MIN: 1 (0x01)
CHARSET_MAX: 255 (0xff)
CHARSET_LENGTH: 24
Max. Markov mode level: 400
Max. Markov mode password length: 30
Compiler version: 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)
gcc version: 4.2.1
clang version: 8.1.0 (clang-802.0.42)
OpenCL library version: 1.2
OpenSSL library version: 0100020cf
OpenSSL 1.0.2l 25 May 2017
GMP library version: 6.1.2
fseek(): fseek
ftell(): ftell
fopen(): fopen
memmem(): System's
Post by magnum
magnum
--
Bjarne Mathiesen mailto:***@student.dtu.dk
magnum
2017-06-11 20:07:38 UTC
Permalink
Post by Bjarne D Mathiesen
Post by magnum
Post by Bjarne D Mathiesen
MacPro:src root# ../run/john -test -form:opencl
Device 1: ATI Radeon HD 5770
Build log: <program source>:42:10: fatal error: 'opencl_device_info.h'
file not found
#include "opencl_device_info.h"
^
You seem to be running latest OSX so that problem should not apply to
you. Not sure what is wrong here. Are you using a recent Jumbo?
411 ./configure --enable-mpi LDFLAGS=-L/macports/lib
CFLAGS="-O2 -I/macports/include"
412 make clean && make -j6
MacPro:src root# ../run/john --list=build-info
Version: 1.8.0-jumbo-1 MPI
We're currently 2.5 years and 5.685 commits ahead of that version.

magnum
Bjarne D Mathiesen
2017-06-12 04:12:56 UTC
Permalink
Post by magnum
Post by Bjarne D Mathiesen
Post by magnum
You seem to be running latest OSX so that problem should not apply to
you. Not sure what is wrong here. Are you using a recent Jumbo?
411 ./configure --enable-mpi LDFLAGS=-L/macports/lib
CFLAGS="-O2 -I/macports/include"
412 make clean && make -j6
MacPro:src root# ../run/john --list=build-info
Version: 1.8.0-jumbo-1 MPI
We're currently 2.5 years and 5.685 commits ahead of that version.
magnum
Well, I downloaded :
Download the latest /community-enhanced/ version
from http://www.openwall.com/john/
http://www.openwall.com/john/j/john-1.8.0-jumbo-1.tar.gz

so where do I get the latest version then ???
--
Bjarne Mathiesen mailto:***@student.dtu.dk
Mathiesensvej 13, 1. mailto:***@mathiesen.info
DK-4220 Korsør iphone: (+45) 253 60 179
Danmark http://dtu.mathiesen.info/
magnum
2017-06-12 07:39:25 UTC
Permalink
Post by Bjarne D Mathiesen
Post by magnum
Post by Bjarne D Mathiesen
Post by magnum
You seem to be running latest OSX so that problem should not apply to
you. Not sure what is wrong here. Are you using a recent Jumbo?
411 ./configure --enable-mpi LDFLAGS=-L/macports/lib
CFLAGS="-O2 -I/macports/include"
412 make clean && make -j6
MacPro:src root# ../run/john --list=build-info
Version: 1.8.0-jumbo-1 MPI
We're currently 2.5 years and 5.685 commits ahead of that version.
magnum
Download the latest /community-enhanced/ version
from http://www.openwall.com/john/
http://www.openwall.com/john/j/john-1.8.0-jumbo-1.tar.gz
The first link under that heading is "Latest development source code in
GitHub repository". Please try that one!

magnum

Loading...