Could not build gabi++ , -mthumb : bad variable name

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Could not build gabi++ , -mthumb : bad variable name

方奎輯
I download ndk source tree by git last week. When  I use script "rebuild-all-prebuilt.sh" to rebuild ndk, some error happen at build gabi++. 

My command :
 $NDK/build/tools/rebuild-all-prebuilt.sh --verbose --systems=linux-x86 ~/tmp/

The error message is below:
Building armeabi,armeabi-v7a,x86,mips gabi++ binaries...
## COMMAND: /home/kevin/Lab/gitNDK/ndk/build/tools/build-gabi++.sh --verbose --package-dir="/tmp/ndk-kevin/prebuilt-20121130" -j8 --ndk-dir="/home/kevin/Lab/gitNDK/ndk" --abis=armeabi,armeabi-v7a,x86,mips
Creating temporary build Makefile: /tmp/ndk-kevin/tmp/build-32640/build-gabi++/Makefile
/home/kevin/Lab/gitNDK/ndk/build/tools/build-gabi++.sh: 90: local: -mthumb: bad variable name
ERROR: Could not build gabi++!
ERROR: Could not build target prebuilts!

I don't know how to solve it. I have been try to upgrade my tools (like gcc, gawk, make, binutils, gcc-arm-linux-gnueabi...).
But I still can't pass this script. (I can pass it by remove all builder_cflags parameter in builder-funcs.sh. But it is a wrong way.)

Please help me to solve this problem, I have been fix it for a week...)
Thank you very much.

--
Kevin Fnag



--
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/-/EjNwnVvqcZsJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.