mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #13] make macosx-x86-64-opencl errors #3
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bizonix on GitHub (Apr 20, 2012).
Original GitHub issue: https://github.com/openwall/john/issues/13
please try to fix
gcc -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include -I/usr/local/include/nss -I/usr/local/include/nspr -m64 -I/usr/local/cuda/include -DBSD -DCL_VERSION_1_0 -funroll-loops opencl_cryptsha512_fmt.c
opencl_cryptsha512_fmt.c:66: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘get_task_max_work_group_size’
opencl_cryptsha512_fmt.c:77: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘attribute’ before ‘get_task_max_size’
opencl_cryptsha512_fmt.c: In function ‘find_best_workgroup’:
opencl_cryptsha512_fmt.c:209: warning: implicit declaration of function ‘get_task_max_size’
opencl_cryptsha512_fmt.c:221: warning: implicit declaration of function ‘get_task_max_work_group_size’
make[1]: *** [opencl_cryptsha512_fmt.o] Error 1
make: *** [macosx-x86-64-opencl] Error 2
@magnumripper commented on GitHub (Apr 20, 2012):
I think you need to take that to john-dev list with some more details.
@magnumripper commented on GitHub (Apr 20, 2012):
Try replacing "uint" with "unsigned int" in lines 66, 67, 77 and 78.
@bizonix commented on GitHub (Apr 20, 2012):
thank you, it works!
@magnumripper commented on GitHub (Apr 20, 2012):
Great. I cherry picked your commit