android_libs icon indicating copy to clipboard operation
android_libs copied to clipboard

libclapack.a Error

Open kevin-ni opened this issue 12 years ago • 3 comments

$ $NDK/ndk-build StaticLibrary : libclapack.a make: execvp: /cygdrive/C/AndroidNDK/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/arm-linux-androideabi-ar: Argument list too long /cygdrive/C/AndroidNDK/build/core/build-binary.mk:385: recipe for target `obj/local/armeabi-v7a/libclapack.a' failed make: *** [obj/local/armeabi-v7a/libclapack.a] Error 127

Is that "..\RtkGps\jni\simonlynen_android_libs\lapack\jni\clapack\SRC\Config.mk" contain too much C files?

kevin-ni avatar Nov 20 '13 10:11 kevin-ni

I would be surprised since that compiles fine for me. Perhaps this can help you find a way to compile on Cygwin: https://bbs.archlinux.org/viewtopic.php?pid=1303576

simonlynen avatar Nov 20 '13 10:11 simonlynen

Alternatively you could compile separate libs and link them statically in a separate step.

simonlynen avatar Nov 20 '13 10:11 simonlynen

@kevin-ni Is this resolved?

simonlynen avatar Dec 29 '13 21:12 simonlynen