* installing *source* package ‘OpenCL’ ... ** package ‘OpenCL’ successfully unpacked and MD5 sums checked ** libs *** arch - i386 gcc -arch i386 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c ocl.c -o ocl.o ocl.c:4:27: error: OpenCL/opencl.h: No such file or directory ocl.c:20: error: expected ‘)’ before ‘id’ ocl.c:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘getPlatformID’ ocl.c:37: error: expected ‘)’ before ‘id’ ocl.c:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘getDeviceID’ ocl.c: In function ‘clFreeContext’: ocl.c:56: warning: implicit declaration of function ‘clReleaseContext’ ocl.c:56: error: ‘cl_context’ undeclared (first use in this function) ocl.c:56: error: (Each undeclared identifier is reported only once ocl.c:56: error: for each function it appears in.) ocl.c:56: error: expected ‘)’ before ‘R_ExternalPtrAddr’ ocl.c: At top level: ocl.c:59: error: expected ‘)’ before ‘ctx’ ocl.c: In function ‘clFreeKernel’: ocl.c:78: warning: implicit declaration of function ‘clReleaseKernel’ ocl.c:78: error: ‘cl_kernel’ undeclared (first use in this function) ocl.c:78: error: expected ‘)’ before ‘R_ExternalPtrAddr’ ocl.c: At top level: ocl.c:81: error: expected ‘)’ before ‘k’ ocl.c:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘getKernel’ ocl.c: In function ‘ocl_platforms’: ocl.c:99: error: ‘cl_uint’ undeclared (first use in this function) ocl.c:99: error: expected ‘;’ before ‘np’ ocl.c:100: error: ‘cl_platform_id’ undeclared (first use in this function) ocl.c:100: error: ‘pid’ undeclared (first use in this function) ocl.c:101: warning: implicit declaration of function ‘clGetPlatformIDs’ ocl.c:101: error: ‘np’ undeclared (first use in this function) ocl.c:101: error: ‘CL_SUCCESS’ undeclared (first use in this function) ocl.c:106: error: expected expression before ‘)’ token ocl.c:113: warning: implicit declaration of function ‘mkPlatformID’ ocl.c:113: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c: In function ‘ocl_devices’: ocl.c:121: error: ‘cl_platform_id’ undeclared (first use in this function) ocl.c:121: error: expected ‘;’ before ‘pid’ ocl.c:123: error: ‘cl_uint’ undeclared (first use in this function) ocl.c:123: error: expected ‘;’ before ‘np’ ocl.c:124: error: ‘cl_device_id’ undeclared (first use in this function) ocl.c:124: error: ‘did’ undeclared (first use in this function) ocl.c:125: error: ‘cl_device_type’ undeclared (first use in this function) ocl.c:125: error: expected ‘;’ before ‘dt’ ocl.c:131: error: ‘dt’ undeclared (first use in this function) ocl.c:131: error: ‘CL_DEVICE_TYPE_CPU’ undeclared (first use in this function) ocl.c:133: error: ‘CL_DEVICE_TYPE_GPU’ undeclared (first use in this function) ocl.c:136: error: ‘CL_DEVICE_TYPE_ACCELERATOR’ undeclared (first use in this function) ocl.c:138: error: ‘CL_DEVICE_TYPE_ALL’ undeclared (first use in this function) ocl.c:140: error: ‘CL_DEVICE_TYPE_DEFAULT’ undeclared (first use in this function) ocl.c:142: warning: implicit declaration of function ‘clGetDeviceIDs’ ocl.c:142: error: ‘pid’ undeclared (first use in this function) ocl.c:142: error: ‘np’ undeclared (first use in this function) ocl.c:142: error: ‘CL_SUCCESS’ undeclared (first use in this function) ocl.c:148: error: expected expression before ‘)’ token ocl.c:155: warning: implicit declaration of function ‘mkDeviceID’ ocl.c:155: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c: In function ‘ocl_get_device_info_char’: ocl.c:164: error: ‘cl_device_id’ undeclared (first use in this function) ocl.c:164: error: expected ‘;’ before ‘device_id’ ocl.c:165: error: ‘cl_device_info’ undeclared (first use in this function) ocl.c:165: error: expected ‘;’ before ‘pn’ ocl.c:167: warning: implicit declaration of function ‘clGetDeviceInfo’ ocl.c:167: error: ‘device_id’ undeclared (first use in this function) ocl.c:167: error: ‘pn’ undeclared (first use in this function) ocl.c:167: error: ‘CL_SUCCESS’ undeclared (first use in this function) ocl.c: At top level: ocl.c:172: error: expected ‘)’ before ‘device_id’ ocl.c:179: error: expected ‘)’ before ‘platform_id’ ocl.c: In function ‘ocl_get_device_info’: ocl.c:188: error: ‘cl_device_id’ undeclared (first use in this function) ocl.c:188: error: expected ‘;’ before ‘device_id’ ocl.c:195: warning: implicit declaration of function ‘getDeviceInfo’ ocl.c:195: error: ‘device_id’ undeclared (first use in this function) ocl.c:195: error: ‘CL_DEVICE_NAME’ undeclared (first use in this function) ocl.c:195: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:196: error: ‘CL_DEVICE_VENDOR’ undeclared (first use in this function) ocl.c:196: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:197: error: ‘CL_DEVICE_VERSION’ undeclared (first use in this function) ocl.c:197: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:198: error: ‘CL_DEVICE_PROFILE’ undeclared (first use in this function) ocl.c:198: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:199: error: ‘CL_DEVICE_EXTENSIONS’ undeclared (first use in this function) ocl.c:199: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:200: error: ‘CL_DRIVER_VERSION’ undeclared (first use in this function) ocl.c:200: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c: In function ‘ocl_get_platform_info’: ocl.c:207: error: ‘cl_platform_id’ undeclared (first use in this function) ocl.c:207: error: expected ‘;’ before ‘platform_id’ ocl.c:214: warning: implicit declaration of function ‘getPlatformInfo’ ocl.c:214: error: ‘platform_id’ undeclared (first use in this function) ocl.c:214: error: ‘CL_PLATFORM_NAME’ undeclared (first use in this function) ocl.c:214: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:215: error: ‘CL_PLATFORM_VENDOR’ undeclared (first use in this function) ocl.c:215: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:216: error: ‘CL_PLATFORM_VERSION’ undeclared (first use in this function) ocl.c:216: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:217: error: ‘CL_PLATFORM_PROFILE’ undeclared (first use in this function) ocl.c:217: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:218: error: ‘CL_PLATFORM_EXTENSIONS’ undeclared (first use in this function) ocl.c:218: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c: In function ‘ocl_ez_kernel’: ocl.c:229: error: ‘cl_context’ undeclared (first use in this function) ocl.c:229: error: expected ‘;’ before ‘ctx’ ocl.c:232: error: ‘cl_device_id’ undeclared (first use in this function) ocl.c:232: error: expected ‘;’ before ‘device_id’ ocl.c:233: error: ‘cl_program’ undeclared (first use in this function) ocl.c:233: error: expected ‘;’ before ‘program’ ocl.c:234: error: ‘cl_kernel’ undeclared (first use in this function) ocl.c:234: error: expected ‘;’ before ‘kernel’ ocl.c:242: error: ‘ctx’ undeclared (first use in this function) ocl.c:242: warning: implicit declaration of function ‘clCreateContext’ ocl.c:242: error: ‘device_id’ undeclared (first use in this function) ocl.c:245: warning: implicit declaration of function ‘mkContext’ ocl.c:245: warning: passing argument 1 of ‘Rf_protect’ makes pointer from integer without a cast ocl.c:252: error: ‘program’ undeclared (first use in this function) ocl.c:252: warning: implicit declaration of function ‘clCreateProgramWithSource’ ocl.c:258: warning: implicit declaration of function ‘clBuildProgram’ ocl.c:259: error: ‘CL_SUCCESS’ undeclared (first use in this function) ocl.c:261: warning: implicit declaration of function ‘clGetProgramBuildInfo’ ocl.c:261: error: ‘CL_PROGRAM_BUILD_LOG’ undeclared (first use in this function) ocl.c:262: warning: implicit declaration of function ‘clReleaseProgram’ ocl.c:266: error: ‘kernel’ undeclared (first use in this function) ocl.c:266: warning: implicit declaration of function ‘clCreateKernel’ ocl.c:272: warning: implicit declaration of function ‘mkKernel’ ocl.c:272: warning: passing argument 1 of ‘Rf_protect’ makes pointer from integer without a cast ocl.c: At top level: ocl.c:347: error: expected specifier-qualifier-list before ‘cl_mem’ ocl.c: In function ‘ocl_call_context_fin’: ocl.c:363: error: ‘ocl_call_context_t’ has no member named ‘finished’ ocl.c:363: warning: implicit declaration of function ‘clFinish’ ocl.c:363: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c:364: error: ‘ocl_call_context_t’ has no member named ‘event’ ocl.c:364: warning: implicit declaration of function ‘clReleaseEvent’ ocl.c:364: error: ‘ocl_call_context_t’ has no member named ‘event’ ocl.c:365: error: ‘ocl_call_context_t’ has no member named ‘output’ ocl.c:365: warning: implicit declaration of function ‘clReleaseMemObject’ ocl.c:365: error: ‘ocl_call_context_t’ has no member named ‘output’ ocl.c:366: error: ‘ocl_call_context_t’ has no member named ‘float_args’ ocl.c:366: error: ‘ocl_call_context_t’ has no member named ‘float_args’ ocl.c:367: error: ‘ocl_call_context_t’ has no member named ‘float_out’ ocl.c:367: error: ‘ocl_call_context_t’ has no member named ‘float_out’ ocl.c:368: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:368: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:368: error: ‘clReleaseMemObject’ undeclared (first use in this function) ocl.c:369: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c:369: warning: implicit declaration of function ‘clReleaseCommandQueue’ ocl.c:369: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c: In function ‘ocl_call’: ocl.c:390: error: ‘cl_kernel’ undeclared (first use in this function) ocl.c:390: error: expected ‘;’ before ‘kernel’ ocl.c:391: error: ‘cl_context’ undeclared (first use in this function) ocl.c:391: error: expected ‘;’ before ‘context’ ocl.c:392: error: ‘cl_command_queue’ undeclared (first use in this function) ocl.c:392: error: expected ‘;’ before ‘commands’ ocl.c:393: error: ‘cl_device_id’ undeclared (first use in this function) ocl.c:393: error: expected ‘;’ before ‘device_id’ ocl.c:394: error: ‘cl_mem’ undeclared (first use in this function) ocl.c:394: error: expected ‘;’ before ‘output’ ocl.c:395: error: ‘cl_int’ undeclared (first use in this function) ocl.c:395: error: expected ‘;’ before ‘err’ ocl.c:399: warning: implicit declaration of function ‘clGetKernelInfo’ ocl.c:399: error: ‘kernel’ undeclared (first use in this function) ocl.c:399: error: ‘CL_KERNEL_CONTEXT’ undeclared (first use in this function) ocl.c:399: error: ‘context’ undeclared (first use in this function) ocl.c:399: error: ‘CL_SUCCESS’ undeclared (first use in this function) ocl.c:434: error: ‘ocl_call_context_t’ has no member named ‘output’ ocl.c:434: error: ‘output’ undeclared (first use in this function) ocl.c:434: warning: implicit declaration of function ‘clCreateBuffer’ ocl.c:434: error: ‘CL_MEM_WRITE_ONLY’ undeclared (first use in this function) ocl.c:434: error: ‘err’ undeclared (first use in this function) ocl.c:437: warning: implicit declaration of function ‘clSetKernelArg’ ocl.c:441: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c:441: error: ‘commands’ undeclared (first use in this function) ocl.c:441: warning: implicit declaration of function ‘clCreateCommandQueue’ ocl.c:441: error: ‘device_id’ undeclared (first use in this function) ocl.c:445: error: ‘ocl_call_context_t’ has no member named ‘float_args’ ocl.c:496: error: expected ‘;’ before ‘input’ ocl.c:497: error: ‘input’ undeclared (first use in this function) ocl.c:499: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:500: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:501: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:513: warning: implicit declaration of function ‘clEnqueueNDRangeKernel’ ocl.c:513: error: ‘ocl_call_context_t’ has no member named ‘event’ ocl.c:520: warning: implicit declaration of function ‘clFlush’ ocl.c:521: error: ‘ocl_call_context_t’ has no member named ‘ftres’ ocl.c:522: error: ‘ocl_call_context_t’ has no member named ‘ftype’ ocl.c:523: error: ‘ocl_call_context_t’ has no member named ‘on’ ocl.c:530: error: ‘ocl_call_context_t’ has no member named ‘finished’ ocl.c:533: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:534: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:534: error: ‘clReleaseMemObject’ undeclared (first use in this function) ocl.c:535: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:539: error: ‘ocl_call_context_t’ has no member named ‘float_args’ ocl.c:545: warning: implicit declaration of function ‘clEnqueueReadBuffer’ ocl.c:545: error: ‘CL_TRUE’ undeclared (first use in this function) ocl.c:557: error: ‘ocl_call_context_t’ has no member named ‘float_out’ ocl.c: In function ‘ocl_collect_call’: ocl.c:575: error: ‘cl_int’ undeclared (first use in this function) ocl.c:575: error: expected ‘;’ before ‘err’ ocl.c:580: error: ‘ocl_call_context_t’ has no member named ‘finished’ ocl.c:583: error: ‘ocl_call_context_t’ has no member named ‘event’ ocl.c:584: error: expected ‘;’ before ‘status’ ocl.c:585: error: ‘err’ undeclared (first use in this function) ocl.c:585: warning: implicit declaration of function ‘clGetEventInfo’ ocl.c:585: error: ‘ocl_call_context_t’ has no member named ‘event’ ocl.c:585: error: ‘CL_EVENT_COMMAND_EXECUTION_STATUS’ undeclared (first use in this function) ocl.c:585: error: ‘status’ undeclared (first use in this function) ocl.c:585: error: ‘CL_SUCCESS’ undeclared (first use in this function) ocl.c:591: error: ‘CL_COMPLETE’ undeclared (first use in this function) ocl.c:595: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c:596: error: ‘ocl_call_context_t’ has no member named ‘finished’ ocl.c:599: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:600: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:600: error: ‘clReleaseMemObject’ undeclared (first use in this function) ocl.c:601: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:603: error: ‘ocl_call_context_t’ has no member named ‘float_args’ ocl.c:604: error: ‘ocl_call_context_t’ has no member named ‘float_args’ ocl.c:605: error: ‘ocl_call_context_t’ has no member named ‘float_args’ ocl.c:608: error: ‘ocl_call_context_t’ has no member named ‘on’ ocl.c:609: error: ‘ocl_call_context_t’ has no member named ‘ftres’ ocl.c:610: error: ‘ocl_call_context_t’ has no member named ‘ftype’ ocl.c:611: error: ‘ocl_call_context_t’ has no member named ‘ftres’ ocl.c:612: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c:612: error: ‘ocl_call_context_t’ has no member named ‘output’ ocl.c:612: error: ‘CL_TRUE’ undeclared (first use in this function) ocl.c:624: error: ‘ocl_call_context_t’ has no member named ‘float_out’ ocl.c:625: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c:625: error: ‘ocl_call_context_t’ has no member named ‘output’ ocl.c:630: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c:630: error: ‘ocl_call_context_t’ has no member named ‘output’ make: *** [ocl.o] Error 1 gcc -arch i386 -std=gnu99 -I/Library/Frameworks/R.framework/Resources/include -I/Library/Frameworks/R.framework/Resources/include/i386 -DNDEBUG -I/usr/local/include -fPIC -g -O2 -c ocl.c -o ocl.o ocl.c:4:27: error: OpenCL/opencl.h: No such file or directory ocl.c:20: error: expected ‘)’ before ‘id’ ocl.c:31: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘getPlatformID’ ocl.c:37: error: expected ‘)’ before ‘id’ ocl.c:48: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘getDeviceID’ ocl.c: In function ‘clFreeContext’: ocl.c:56: warning: implicit declaration of function ‘clReleaseContext’ ocl.c:56: error: ‘cl_context’ undeclared (first use in this function) ocl.c:56: error: (Each undeclared identifier is reported only once ocl.c:56: error: for each function it appears in.) ocl.c:56: error: expected ‘)’ before ‘R_ExternalPtrAddr’ ocl.c: At top level: ocl.c:59: error: expected ‘)’ before ‘ctx’ ocl.c: In function ‘clFreeKernel’: ocl.c:78: warning: implicit declaration of function ‘clReleaseKernel’ ocl.c:78: error: ‘cl_kernel’ undeclared (first use in this function) ocl.c:78: error: expected ‘)’ before ‘R_ExternalPtrAddr’ ocl.c: At top level: ocl.c:81: error: expected ‘)’ before ‘k’ ocl.c:90: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘getKernel’ ocl.c: In function ‘ocl_platforms’: ocl.c:99: error: ‘cl_uint’ undeclared (first use in this function) ocl.c:99: error: expected ‘;’ before ‘np’ ocl.c:100: error: ‘cl_platform_id’ undeclared (first use in this function) ocl.c:100: error: ‘pid’ undeclared (first use in this function) ocl.c:101: warning: implicit declaration of function ‘clGetPlatformIDs’ ocl.c:101: error: ‘np’ undeclared (first use in this function) ocl.c:101: error: ‘CL_SUCCESS’ undeclared (first use in this function) ocl.c:106: error: expected expression before ‘)’ token ocl.c:113: warning: implicit declaration of function ‘mkPlatformID’ ocl.c:113: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c: In function ‘ocl_devices’: ocl.c:121: error: ‘cl_platform_id’ undeclared (first use in this function) ocl.c:121: error: expected ‘;’ before ‘pid’ ocl.c:123: error: ‘cl_uint’ undeclared (first use in this function) ocl.c:123: error: expected ‘;’ before ‘np’ ocl.c:124: error: ‘cl_device_id’ undeclared (first use in this function) ocl.c:124: error: ‘did’ undeclared (first use in this function) ocl.c:125: error: ‘cl_device_type’ undeclared (first use in this function) ocl.c:125: error: expected ‘;’ before ‘dt’ ocl.c:131: error: ‘dt’ undeclared (first use in this function) ocl.c:131: error: ‘CL_DEVICE_TYPE_CPU’ undeclared (first use in this function) ocl.c:133: error: ‘CL_DEVICE_TYPE_GPU’ undeclared (first use in this function) ocl.c:136: error: ‘CL_DEVICE_TYPE_ACCELERATOR’ undeclared (first use in this function) ocl.c:138: error: ‘CL_DEVICE_TYPE_ALL’ undeclared (first use in this function) ocl.c:140: error: ‘CL_DEVICE_TYPE_DEFAULT’ undeclared (first use in this function) ocl.c:142: warning: implicit declaration of function ‘clGetDeviceIDs’ ocl.c:142: error: ‘pid’ undeclared (first use in this function) ocl.c:142: error: ‘np’ undeclared (first use in this function) ocl.c:142: error: ‘CL_SUCCESS’ undeclared (first use in this function) ocl.c:148: error: expected expression before ‘)’ token ocl.c:155: warning: implicit declaration of function ‘mkDeviceID’ ocl.c:155: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c: In function ‘ocl_get_device_info_char’: ocl.c:164: error: ‘cl_device_id’ undeclared (first use in this function) ocl.c:164: error: expected ‘;’ before ‘device_id’ ocl.c:165: error: ‘cl_device_info’ undeclared (first use in this function) ocl.c:165: error: expected ‘;’ before ‘pn’ ocl.c:167: warning: implicit declaration of function ‘clGetDeviceInfo’ ocl.c:167: error: ‘device_id’ undeclared (first use in this function) ocl.c:167: error: ‘pn’ undeclared (first use in this function) ocl.c:167: error: ‘CL_SUCCESS’ undeclared (first use in this function) ocl.c: At top level: ocl.c:172: error: expected ‘)’ before ‘device_id’ ocl.c:179: error: expected ‘)’ before ‘platform_id’ ocl.c: In function ‘ocl_get_device_info’: ocl.c:188: error: ‘cl_device_id’ undeclared (first use in this function) ocl.c:188: error: expected ‘;’ before ‘device_id’ ocl.c:195: warning: implicit declaration of function ‘getDeviceInfo’ ocl.c:195: error: ‘device_id’ undeclared (first use in this function) ocl.c:195: error: ‘CL_DEVICE_NAME’ undeclared (first use in this function) ocl.c:195: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:196: error: ‘CL_DEVICE_VENDOR’ undeclared (first use in this function) ocl.c:196: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:197: error: ‘CL_DEVICE_VERSION’ undeclared (first use in this function) ocl.c:197: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:198: error: ‘CL_DEVICE_PROFILE’ undeclared (first use in this function) ocl.c:198: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:199: error: ‘CL_DEVICE_EXTENSIONS’ undeclared (first use in this function) ocl.c:199: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:200: error: ‘CL_DRIVER_VERSION’ undeclared (first use in this function) ocl.c:200: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c: In function ‘ocl_get_platform_info’: ocl.c:207: error: ‘cl_platform_id’ undeclared (first use in this function) ocl.c:207: error: expected ‘;’ before ‘platform_id’ ocl.c:214: warning: implicit declaration of function ‘getPlatformInfo’ ocl.c:214: error: ‘platform_id’ undeclared (first use in this function) ocl.c:214: error: ‘CL_PLATFORM_NAME’ undeclared (first use in this function) ocl.c:214: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:215: error: ‘CL_PLATFORM_VENDOR’ undeclared (first use in this function) ocl.c:215: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:216: error: ‘CL_PLATFORM_VERSION’ undeclared (first use in this function) ocl.c:216: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:217: error: ‘CL_PLATFORM_PROFILE’ undeclared (first use in this function) ocl.c:217: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c:218: error: ‘CL_PLATFORM_EXTENSIONS’ undeclared (first use in this function) ocl.c:218: warning: passing argument 3 of ‘SET_VECTOR_ELT’ makes pointer from integer without a cast ocl.c: In function ‘ocl_ez_kernel’: ocl.c:229: error: ‘cl_context’ undeclared (first use in this function) ocl.c:229: error: expected ‘;’ before ‘ctx’ ocl.c:232: error: ‘cl_device_id’ undeclared (first use in this function) ocl.c:232: error: expected ‘;’ before ‘device_id’ ocl.c:233: error: ‘cl_program’ undeclared (first use in this function) ocl.c:233: error: expected ‘;’ before ‘program’ ocl.c:234: error: ‘cl_kernel’ undeclared (first use in this function) ocl.c:234: error: expected ‘;’ before ‘kernel’ ocl.c:242: error: ‘ctx’ undeclared (first use in this function) ocl.c:242: warning: implicit declaration of function ‘clCreateContext’ ocl.c:242: error: ‘device_id’ undeclared (first use in this function) ocl.c:245: warning: implicit declaration of function ‘mkContext’ ocl.c:245: warning: passing argument 1 of ‘Rf_protect’ makes pointer from integer without a cast ocl.c:252: error: ‘program’ undeclared (first use in this function) ocl.c:252: warning: implicit declaration of function ‘clCreateProgramWithSource’ ocl.c:258: warning: implicit declaration of function ‘clBuildProgram’ ocl.c:259: error: ‘CL_SUCCESS’ undeclared (first use in this function) ocl.c:261: warning: implicit declaration of function ‘clGetProgramBuildInfo’ ocl.c:261: error: ‘CL_PROGRAM_BUILD_LOG’ undeclared (first use in this function) ocl.c:262: warning: implicit declaration of function ‘clReleaseProgram’ ocl.c:266: error: ‘kernel’ undeclared (first use in this function) ocl.c:266: warning: implicit declaration of function ‘clCreateKernel’ ocl.c:272: warning: implicit declaration of function ‘mkKernel’ ocl.c:272: warning: passing argument 1 of ‘Rf_protect’ makes pointer from integer without a cast ocl.c: At top level: ocl.c:347: error: expected specifier-qualifier-list before ‘cl_mem’ ocl.c: In function ‘ocl_call_context_fin’: ocl.c:363: error: ‘ocl_call_context_t’ has no member named ‘finished’ ocl.c:363: warning: implicit declaration of function ‘clFinish’ ocl.c:363: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c:364: error: ‘ocl_call_context_t’ has no member named ‘event’ ocl.c:364: warning: implicit declaration of function ‘clReleaseEvent’ ocl.c:364: error: ‘ocl_call_context_t’ has no member named ‘event’ ocl.c:365: error: ‘ocl_call_context_t’ has no member named ‘output’ ocl.c:365: warning: implicit declaration of function ‘clReleaseMemObject’ ocl.c:365: error: ‘ocl_call_context_t’ has no member named ‘output’ ocl.c:366: error: ‘ocl_call_context_t’ has no member named ‘float_args’ ocl.c:366: error: ‘ocl_call_context_t’ has no member named ‘float_args’ ocl.c:367: error: ‘ocl_call_context_t’ has no member named ‘float_out’ ocl.c:367: error: ‘ocl_call_context_t’ has no member named ‘float_out’ ocl.c:368: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:368: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:368: error: ‘clReleaseMemObject’ undeclared (first use in this function) ocl.c:369: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c:369: warning: implicit declaration of function ‘clReleaseCommandQueue’ ocl.c:369: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c: In function ‘ocl_call’: ocl.c:390: error: ‘cl_kernel’ undeclared (first use in this function) ocl.c:390: error: expected ‘;’ before ‘kernel’ ocl.c:391: error: ‘cl_context’ undeclared (first use in this function) ocl.c:391: error: expected ‘;’ before ‘context’ ocl.c:392: error: ‘cl_command_queue’ undeclared (first use in this function) ocl.c:392: error: expected ‘;’ before ‘commands’ ocl.c:393: error: ‘cl_device_id’ undeclared (first use in this function) ocl.c:393: error: expected ‘;’ before ‘device_id’ ocl.c:394: error: ‘cl_mem’ undeclared (first use in this function) ocl.c:394: error: expected ‘;’ before ‘output’ ocl.c:395: error: ‘cl_int’ undeclared (first use in this function) ocl.c:395: error: expected ‘;’ before ‘err’ ocl.c:399: warning: implicit declaration of function ‘clGetKernelInfo’ ocl.c:399: error: ‘kernel’ undeclared (first use in this function) ocl.c:399: error: ‘CL_KERNEL_CONTEXT’ undeclared (first use in this function) ocl.c:399: error: ‘context’ undeclared (first use in this function) ocl.c:399: error: ‘CL_SUCCESS’ undeclared (first use in this function) ocl.c:434: error: ‘ocl_call_context_t’ has no member named ‘output’ ocl.c:434: error: ‘output’ undeclared (first use in this function) ocl.c:434: warning: implicit declaration of function ‘clCreateBuffer’ ocl.c:434: error: ‘CL_MEM_WRITE_ONLY’ undeclared (first use in this function) ocl.c:434: error: ‘err’ undeclared (first use in this function) ocl.c:437: warning: implicit declaration of function ‘clSetKernelArg’ ocl.c:441: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c:441: error: ‘commands’ undeclared (first use in this function) ocl.c:441: warning: implicit declaration of function ‘clCreateCommandQueue’ ocl.c:441: error: ‘device_id’ undeclared (first use in this function) ocl.c:445: error: ‘ocl_call_context_t’ has no member named ‘float_args’ ocl.c:496: error: expected ‘;’ before ‘input’ ocl.c:497: error: ‘input’ undeclared (first use in this function) ocl.c:499: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:500: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:501: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:513: warning: implicit declaration of function ‘clEnqueueNDRangeKernel’ ocl.c:513: error: ‘ocl_call_context_t’ has no member named ‘event’ ocl.c:520: warning: implicit declaration of function ‘clFlush’ ocl.c:521: error: ‘ocl_call_context_t’ has no member named ‘ftres’ ocl.c:522: error: ‘ocl_call_context_t’ has no member named ‘ftype’ ocl.c:523: error: ‘ocl_call_context_t’ has no member named ‘on’ ocl.c:530: error: ‘ocl_call_context_t’ has no member named ‘finished’ ocl.c:533: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:534: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:534: error: ‘clReleaseMemObject’ undeclared (first use in this function) ocl.c:535: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:539: error: ‘ocl_call_context_t’ has no member named ‘float_args’ ocl.c:545: warning: implicit declaration of function ‘clEnqueueReadBuffer’ ocl.c:545: error: ‘CL_TRUE’ undeclared (first use in this function) ocl.c:557: error: ‘ocl_call_context_t’ has no member named ‘float_out’ ocl.c: In function ‘ocl_collect_call’: ocl.c:575: error: ‘cl_int’ undeclared (first use in this function) ocl.c:575: error: expected ‘;’ before ‘err’ ocl.c:580: error: ‘ocl_call_context_t’ has no member named ‘finished’ ocl.c:583: error: ‘ocl_call_context_t’ has no member named ‘event’ ocl.c:584: error: expected ‘;’ before ‘status’ ocl.c:585: error: ‘err’ undeclared (first use in this function) ocl.c:585: warning: implicit declaration of function ‘clGetEventInfo’ ocl.c:585: error: ‘ocl_call_context_t’ has no member named ‘event’ ocl.c:585: error: ‘CL_EVENT_COMMAND_EXECUTION_STATUS’ undeclared (first use in this function) ocl.c:585: error: ‘status’ undeclared (first use in this function) ocl.c:585: error: ‘CL_SUCCESS’ undeclared (first use in this function) ocl.c:591: error: ‘CL_COMPLETE’ undeclared (first use in this function) ocl.c:595: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c:596: error: ‘ocl_call_context_t’ has no member named ‘finished’ ocl.c:599: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:600: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:600: error: ‘clReleaseMemObject’ undeclared (first use in this function) ocl.c:601: error: ‘ocl_call_context_t’ has no member named ‘mem_objects’ ocl.c:603: error: ‘ocl_call_context_t’ has no member named ‘float_args’ ocl.c:604: error: ‘ocl_call_context_t’ has no member named ‘float_args’ ocl.c:605: error: ‘ocl_call_context_t’ has no member named ‘float_args’ ocl.c:608: error: ‘ocl_call_context_t’ has no member named ‘on’ ocl.c:609: error: ‘ocl_call_context_t’ has no member named ‘ftres’ ocl.c:610: error: ‘ocl_call_context_t’ has no member named ‘ftype’ ocl.c:611: error: ‘ocl_call_context_t’ has no member named ‘ftres’ ocl.c:612: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c:612: error: ‘ocl_call_context_t’ has no member named ‘output’ ocl.c:612: error: ‘CL_TRUE’ undeclared (first use in this function) ocl.c:624: error: ‘ocl_call_context_t’ has no member named ‘float_out’ ocl.c:625: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c:625: error: ‘ocl_call_context_t’ has no member named ‘output’ ocl.c:630: error: ‘ocl_call_context_t’ has no member named ‘commands’ ocl.c:630: error: ‘ocl_call_context_t’ has no member named ‘output’ make: *** [ocl.o] Error 1 ERROR: compilation failed for package ‘OpenCL’ * removing ‘/Volumes/XT3/Rdev-web/QA/Simon/packages/leopard-universal/results/2.15/OpenCL.Rcheck/OpenCL’