Re: Building with Debuggable = true gives "make (e=87): The parameter is incorrect."

1,254 views
Skip to first unread message

Andrew Hsieh

unread,
Jul 20, 2012, 11:35:43 AM7/20/12
to andro...@googlegroups.com
It looks like the command line for arm-linux-androideabi-ar is very long.  Could you add "LOCAL_SHORT_COMMANDS := true" and try again?  Thanks! 

On Fri, Jul 20, 2012 at 8:03 AM, Mike <mik...@gmail.com> wrote:
Hello everyone,

I'm building my app with ndk n8b in Windows. I wanted to try to debug my app with ndk-gdb but I'm facing this problem. 

Also I can build my app normally without selecting debuggable to true.

Here is an extract of my build logs:

del /f/q obj\local\armeabi-v7a\libcrypto.a >NUL 2>NUL
C:/developer/android-ndk-r8b/toolchains/arm-linux-androideabi-4.6/prebuilt/windows/bin/arm-linux-androideabi-ar crs obj/local/armeabi-v7a/libcrypto.a ./obj/local/armeabi-v7a/objs-debug/crypto/libopenssl/crypto/cryptlib.o ./obj/local/armeabi-v7a/objs-debug/crypto/libopenssl/crypto/mem.o ./obj/local/armeabi-v7a/objs-debug/crypto/libopenssl/crypto/mem_clr.o ./obj/local/armeabi-v7a/objs-debug/crypto/libopenssl/crypto/mem_dbg.o ./obj/local/armeabi-v7a/objs-debug/crypto/libopenssl/crypto/cversion.o 

[ MANY LOG LINES ]

./obj/local/armeabi-v7a/objs-debug/crypto/libopenssl/crypto/x509v3/v3_sxnet.o ./obj/local/armeabi-v7a/objs-debug/crypto/libopenssl/crypto/x509v3/v3_utl.o ./obj/local/armeabi-v7a/objs-debug/crypto/libopenssl/crypto/x509v3/v3err.o ./obj/local/armeabi-v7a/objs-debug/crypto/libopenssl/crypto/aes/asm/aes-armv4.o ./obj/local/armeabi-v7a/objs-debug/crypto/libopenssl/crypto/bn/asm/armv4-mont.o ./obj/local/armeabi-v7a/objs-debug/crypto/libopenssl/crypto/sha/asm/sha1-armv4-large.o ./obj/local/armeabi-v7a/objs-debug/crypto/libopenssl/crypto/sha/asm/sha256-armv4.o ./obj/local/armeabi-v7a/objs-debug/crypto/libopenssl/crypto/sha/asm/sha512-armv4.o, ...) failed.
make (e=87): The parameter is incorrect.

make: *** [obj/local/armeabi-v7a/libcrypto.a] Error 87

Any ideas of why this is happening? How can I fix the problem?

Many thanks.


--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To view this discussion on the web visit https://groups.google.com/d/msg/android-ndk/-/uifRpIWGUx8J.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.

Reply all
Reply to author
Forward
0 new messages