Android-ndk-r8e wordlist 第二个参数不是数值参数

近期在google官网上下载了最新的NDK-R8,发现在执行ndk-build时候,发现以下错误:
NDK/build/gmsl/__gmsl:512: non-numeric second argument to ‘wordlist’ function
如果中文系统的话,就是以下提示:
NDK/build/gmsl/__gmsl:512: *** “wordlist”函数的第二个参数不是数值参数: ”。 停止。

找到__gmsl文件,用记事本打开,搜索“int_encode = $(__gmsl_tr1)$(wordlist 1, $1,$(__gmsl_input_int))”

I changed the file  __gmsl, the second wordlist argument(line 512), 
and it's running my jni example without errors: 

int_encode = $(__gmsl_tr1)$(wordlist 1, $1,$(__gmsl_input_int)) 

to: 

int_encode = $(__gmsl_tr1)$(wordlist 1,$(words $1),$ 
(__gmsl_input_int)) 

posted @ 2013-04-25 12:44  酷熊  阅读(496)  评论(0编辑  收藏  举报