openwall / john

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
https://www.openwall.com/john/
Other
10.03k stars 2.07k forks source link

Fedora29 compilation error #3474

Closed rmassidda closed 5 years ago

rmassidda commented 5 years ago

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

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.

magnumripper commented 5 years ago

Please pull latest and retry. A bug sneaked in for a short time.

rmassidda commented 5 years ago

Perfect! It compiles without errors now.