This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Mali OpenCL SDK v1.1.0 compile problem

Hi,Guys,

When I using NDK to build the Mali OpenCL SDK v1.1.0.0a36a7 for Windows to get libOpenCL.so. I got an error:attributes are not allowed on a function-definition. The whole error log as follows:

F:\Mali OpenCL SDK v1.1.0\lib>make

E:/software/android-ndk-r8e-windows-x86_64/android-ndk-r8e/toolchains/arm-linux-

androideabi-4.7/prebuilt/windows-x86_64/bin/arm-linux-androideabi-g++ -fpic -sha

red -I../include/ -IE:/software/android-ndk-r8e-windows-x86_64/android-ndk-r8e/p

latforms/android-14/arch-arm/usr/include -I E:/software/android-ndk-r8e-windows-

x86_64/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7/include -I E:/software/

android-ndk-r8e-windows-x86_64/android-ndk-r8e/sources/cxx-stl/gnu-libstdc++/4.7

/libs/armeabi/include -o libOpenCL.so opencl_stubs.c

opencl_stubs.c:132:3: error: attributes are not allowed on a function-definition

make: *** [libOpenCL.so] Error 1


I needs some help .

Thanks .

Parents Reply Children
No data