John the Ripper jumbo - advanced offline password cracker, which supports hundreds of hash and cipher types, and runs on many operating systems, CPUs, GPUs, and even some FPGAs
In file included from single.c:29:
opencl_common.h:119:2: error: unknown type name ‘hw_bus’
hw_bus pci_info;
^~
opencl_common.h:129:29: error: ‘MAX_GPU_DEVICES’ undeclared here (not in a function)
extern cl_device_id devices[MAX_GPU_DEVICES + 1];
^~~~~~~
make[1]: [Makefile:1585: single.o] Error 1
make[1]: Waiting for unfinished jobs....
make: *** [Makefile:189: default] Error 2
I also tried using ./configure --disable-opencl but I still get the same error.
Steps to reproduce
git clone git://github.com/magnumripper/JohnTheRipper -b bleeding-jumbo john cd john/src ./configure make -s clean && make -sj4
Package Version
gcc 8.2.1-5.fc29
opencl-headers 2.2-2.20180306gite986688.fc29
opencl-utils-devel 1-8.svn16.fc29
Result
I also tried using
./configure --disable-opencl
but I still get the same error.