Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-id: <EBC73B3C-064B-4510-90EF-5CDBC104DA63@erols.com>
Date: Fri, 13 Apr 2012 09:17:36 -0400
From: Erik Winkler <ewinkler@...ls.com>
To: john-dev@...ts.openwall.com
Subject: OpenCL Compile On MacOS Failing

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,
Erik

Powered by blists - more mailing lists

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