Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make macosx-x86-64-opencl errors #13

Closed
bizonix opened this issue Apr 20, 2012 · 4 comments
Closed

make macosx-x86-64-opencl errors #13

bizonix opened this issue Apr 20, 2012 · 4 comments

Comments

@bizonix
Copy link
Contributor

bizonix commented Apr 20, 2012

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
Copy link
Member

I think you need to take that to john-dev list with some more details.

@magnumripper
Copy link
Member

Try replacing "uint" with "unsigned int" in lines 66, 67, 77 and 78.

@bizonix
Copy link
Contributor Author

bizonix commented Apr 20, 2012

thank you, it works!

@bizonix bizonix closed this as completed Apr 20, 2012
@magnumripper
Copy link
Member

Great. I cherry picked your commit

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants