(07-05-2016, 01:23 AM)BeanBagKing Wrote: As with most of the problems I run into, I'm sure there's a better way.
so i tried it my self with a VM (virtual box) The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) linux 2, 64bit
followed the guide and it failed on the "make" command
Code:
pocl_llvm_api.cc:32:41: fatal error: clang/CodeGen/CodeGenAction.h: No such file or directory
compilation terminated.
Makefile:2816: recipe for target 'libpoclllvm_la-pocl_llvm_api.lo' failed
make[5]: *** [libpoclllvm_la-pocl_llvm_api.lo] Error 1
make[5]: Leaving directory '/root/Downloads/pocl/lib/CL'
Makefile:2835: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/root/Downloads/pocl/lib/CL'
Makefile:916: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/root/Downloads/pocl/lib/CL'
Makefile:470: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/root/Downloads/pocl/lib'
Makefile:644: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/Downloads/pocl'
Makefile:530: recipe for target 'all' failed
make: *** [all] Error 2
Code:
clang --version
clang version 3.8.0-2 (tags/RELEASE_380/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm-3.8/bin
i am sorry it was my bad, i did not install apt install libclang-3.8-dev so i rapidly do the whole proccess all over again to make sure i did not skip anything
BUT its still not working
Code:
/Downloads/hashcat-3.10# ./hashcat64.bin --force -b -d 1
hashcat (v3.10) starting in benchmark-mode...
OpenCL Platform #1: The pocl project
====================================
- Device #1: pthread-Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz, 2967/2967 MB allocatable, 2MCU
OpenCL Platform #2: Mesa, skipped! No OpenCL compatible devices found
Illegal instruction
i am giving 2 cpu cores to my vm