Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 13 Apr 2012 19:58:47 +0200
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: Re: OpenCL Compile On MacOS Failing

On 04/13/2012 03:17 PM, Erik Winkler wrote:
> I was testing out the bleeding edge jumbo code for OpenCL on macosx (magnumripper-magnum-jumbo-95dac54) and I am getting the following compile error for common-opencl.c
> 
> gcc-4.2  -c -Wall -O2 -fomit-frame-pointer -I/usr/local/include      -m64 -I/usr/local/cuda/include -DBSD -DCL_VERSION_1_0 -funroll-loops common-opencl.c
> common-opencl.c: In function ‘listOpenCLdevices’:
> common-opencl.c:300: error: two or more data types in declaration specifiers
> common-opencl.c:300: warning: useless type name in empty declaration
> common-opencl.c:318: error: expected expression before ‘_Bool’
> common-opencl.c:318: error: too few arguments to function ‘clGetDeviceInfo’
> common-opencl.c:319: error: expected expression before ‘_Bool’
> common-opencl.c:325: error: expected expression before ‘_Bool’
> common-opencl.c:325: error: too few arguments to function ‘clGetDeviceInfo’
> common-opencl.c:326: error: expected expression before ‘_Bool’
> 
> 
> Not sure of the cause, but I get the same error even with different versions of Xcode (currently running Xcode 4.3.2 on MacOS 10.7.3) and using the gcc-4.6.1 compiler.
> 
> Any ideas to the cause?

Thanks for this report. Actually we have another branch that is called
"bleeding-jumbo" that is not what you used, if I read you right. That
one is rebased upon latest CVS core-john while magnum-jumbo is based
upon released 1.7.9-jumbo-5.

Anyway, I'll have a look soon(ish) unless someone beats me to it.

magnum


Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.