Android NDK r8e _gmsl 异常

Android NDK r8e __gmsl 错误

当前ndk r8e版本, 运行时出现  __gmsl 错误:
android-ndk-r8e/build/gmsl/__gmsl:512: *** non-numeric second argument to `wordlist’ function: ”.  Stop.

修复办法:
打开android-ndk-r8e/build/gmsl/__gmsl文件
找到512行,代码是:
int_encode = $(__gmsl_tr1)$(wordlist 1,$1,$(__gmsl_input_int))
修改为:
int_encode = $(__gmsl_tr1)$(wordlist 1,$(words $1),$(__gmsl_input_int))

 

转自 http://www.devbeacon.com/?p=326