追索权 Eclipse + NDK error: stray '\24' in program
[size=16px][b][color=#FF0000]追索权 Eclipse + NDK error: stray '\24' in program[/color][b][/b][/b][/size]
最近的研究JNI采纳Eclipse+NDKR7B建好开发环境 依照网上教的步骤build 什么都配好了写了个最简单的样例,clean以后就出现该异常非常是头疼。异常信息:
"Compile thumb : TestNdk <= com_example_testndk_JniClient.c
jni/com_example_testndk_JniClient.c:1: error: stray '\24' in program
jni/com_example_testndk_JniClient.c:1: error: stray '#' in program
jni/com_example_testndk_JniClient.c:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'e'
jni/com_example_testndk_JniClient.c:1: error: stray '\210' in program
jni/com_example_testndk_JniClient.c:1:6: warning: null character(s) ignored
jni/com_example_testndk_JniClient.c:1: error: stray '\1' in program
jni/com_example_testndk_JniClient.c:1:9: warning: null character(s) ignored
jni/com_example_testndk_JniClient.c:1: error: stray '\1' in program
jni/com_example_testndk_JniClient.c:1:22: warning: null character(s) ignored
jni/com_example_testndk_JniClient.c:1:29: warning: null character(s) ignored
jni/com_example_testndk_JniClient.c:1: error: stray '\340' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\22' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\23' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\222' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\10' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\237' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\10' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\35' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\36' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\25' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\361' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\266' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\20' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\355' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\5' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\315' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\35' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\323' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\32' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\25' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\21' in program
jni/com_example_testndk_JniClient.c:2:4: warning: null character(s) ignored
jni/com_example_testndk_JniClient.c:2: error: stray '\255' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\275' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\205' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\353' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\272' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\237' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\10' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\355' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\233' in program
jni/com_example_testndk_JniClient.c:2:80: error: invalid suffix "N" on integer constant
jni/com_example_testndk_JniClient.c:2: error: stray '\212' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\360' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\23' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\204' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\220' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\373' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\235' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\310' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\24' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\325' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\307' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\262' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\355' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\274' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\243' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\370' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\350' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\227' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\310' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\344' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\305' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\312' in program
jni/com_example_testndk_JniClient.c:2: error: stray '\303' in program
jni/com_example_testndk_JniClient.c:2:113: warning: null character(s) preserved in literal
jni/com_example_testndk_JniClient.c:2:113: warning: missing terminating ' character
jni/com_example_testndk_JniClient.c:2: error: missing terminating ' character
jni/com_example_testndk_JniClient.c:3: error: stray '\317' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\375' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\257' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\211' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\244' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\317' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\231' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\354' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\373' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\244' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\345' in program
jni/com_example_testndk_JniClient.c:3: error: stray '#' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\216' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\4' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\255' in program
jni/com_example_testndk_JniClient.c:3: error: stray '\321' in program
jni/com_example_testndk_JniClient.c:3:24: warning: null character(s) preserved in literal
jni/com_example_testndk_JniClient.c:3:24: warning: missing terminating " character
jni/com_example_testndk_JniClient.c:3: error: missing terminating " character
jni/com_example_testndk_JniClient.c:4: error: stray '\250' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\313' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\37' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\332' in program
jni/com_example_testndk_JniClient.c:4: error: stray '#' in program
jni/com_example_testndk_JniClient.c:4:9: error: invalid suffix "m" on integer constant
jni/com_example_testndk_JniClient.c:4: error: stray '\262' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\251' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\33' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\334' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\351' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\240' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\240' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\321' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\274' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\336' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\21' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\330' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\16' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\272' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\33' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\352' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\261' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\222' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\330' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\205' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\225' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\4' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\216' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\325' in program
jni/com_example_testndk_JniClient.c:4:44: error: invalid suffix "D" on integer constant
jni/com_example_testndk_JniClient.c:4: error: stray '\211' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\333' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\373' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\251' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\373' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\232' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\324' in program
jni/com_example_testndk_JniClient.c:4: error: stray '@' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\234' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\244' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\17' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\373' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\311' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\333' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\365' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\370' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\350' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\236' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\201' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\331' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\317' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\301' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\335' in program
jni/com_example_testndk_JniClient.c:4: error: stray '\32' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\212' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\31' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\316' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\20' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\356' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\274' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\217' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\336' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\341' in program
jni/com_example_testndk_JniClient.c:5: error: stray '\350' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\276' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\1' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\231' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\372' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\373' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\236' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\376' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\273' in program
jni/com_example_testndk_JniClient.c:6: error: stray '`' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\33' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\1' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\336' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\262' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\341' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\342' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\24' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\17' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\322' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\214' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\230' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\211' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\307' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\323' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\224' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\316' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\1' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\360' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\313' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\237' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\177' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\226' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\242' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\235' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\17' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\353' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\206' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\361' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\351' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\366' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\7' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\336' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\301' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\25' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\372' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\333' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\347' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\213' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\242' in program
jni/com_example_testndk_JniClient.c:6: error: stray '\210' in program
jni/com_example_testndk_JniClient.c:7:2: warning: missing terminating " character
jni/com_example_testndk_JniClient.c:7: error: missing terminating " character
make: *** [obj/local/armeabi/objs/TestNdk/com_example_testndk_JniClient.o] Error 1
PS
1在NDK-R7B的解压包里面simple中的hello-jni样例上创建项目又没有出现该问题;
2删除jni/com_example_testndk_JniClient.c 所有的代码编译通过没问题。
3仅仅在jni/com_example_testndk_JniClient.c 写入一句代码(敲进去的):#include <stdio.h>
仍然报出异常信息:
"Compile thumb : TestNdk <= com_example_testndk_JniClient.c
jni/com_example_testndk_JniClient.c:1: error: stray '\24' in program
jni/com_example_testndk_JniClient.c:1: error: stray '#' in program
jni/com_example_testndk_JniClient.c:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'e'
jni/com_example_testndk_JniClient.c:1: error: stray '\6' in program
jni/com_example_testndk_JniClient.c:1:6: warning: null character(s) ignored
jni/com_example_testndk_JniClient.c:1: error: stray '\317' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\350' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\222' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\343' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\246' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\224' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\245' in program
jni/com_example_testndk_JniClient.c:1: error: stray '\207' in program
make: *** [obj/local/armeabi/objs/TestNdk/com_example_testndk_JniClient.o] Error 1
请有合作伙伴的这个问题谁指点一下如何解决,谢谢求!
版权声明:本文博客原创文章,博客,未经同意,不得转载。
追索权 Eclipse + NDK error: stray '\24' in program的更多相关文章
- Unparseable date: "Mon Aug 15 11:24:39 CST 2016",时间格式转换异常
String datestr= "Mon Aug 15 11:24:39 CST 2016";//Date的默认格式显示 Date date=new SimpleDateForma ...
- WINDOWS系统Eclipse+NDK+Android + OpenCv
WINDOWS系统Eclipse+NDK+Android + OpenCv 参考文档博客 1 NDK环境搭建 http://jingyan.baidu.com/article/5d6edee22d90 ...
- Eclipse NDK 配置,无需安装Cygwin
Eclipse NDK 配置,不用安装Cygwin 文章转自http://www.cnblogs.com/chenjiajin/archive/2012/04/12/2444188.html 一.关于 ...
- error: stray '\357' in program编程出错的总结
错误: 编译报错:error: stray '\357' in program 原因:在程序中打入了全角字符 具体分析产生原因: 在编程中,由于打字的快速,按下ctrl键后紧接着按下了space键 ...
- Error:stray '\243' in program
c++ 程序出现 Error:stray '\243' in program 错误 错误情况: 错误原因: 有不标准的 ASCII 字符出现,一般是中英文问题,比如 :or ; , or ,等 ...
- eclipse里error报错Target runtime com.genuitec.runtime.generic.jee60 is not defined.
eclipse里error报错Target runtime com.genuitec.runtime.generic.jee60 is not defined. eclipse里error报错解决办法 ...
- 启动eclipse出现“Error opening registry key 'software\Javasoft\Java Runtime Environment'”
启动eclipse出现“Error opening registry key 'software\Javasoft\Java Runtime Environment'”,“java was start ...
- adt eclipse 配置问题 error:could not open ...jvm.cfg
在安装adt eclipse后,打开eclipse提示error:could not open eclipse\jre\lib\amd64\jvm.cfg 据网上显示原因应该是以前安装过java,然后 ...
- error: stray '\343' in program 问题解决
当我们从网上copy一段代码后,总会出现这个问题.博主在Arduino环境中也出现了,so,这个问题应该是C语言和C++编译器中才会出现的. test_int:19: error: str ...
随机推荐
- (step6.1.4)hdu 1102(Constructing Roads——最小生成树)
题目大意:输入一个整数n,表示村庄的数目.在接下来的n行中,每行有n列,表示村庄i到村庄 j 的距离.(下面会结合样例说明).接着,输入一个整数q,表示已经有q条路修好. 在接下来的q行中,会给出修好 ...
- 用cocos2d-x 3.2 实现的FlappyBird
近期才開始学cocos2dx,买了几本书还有看大神(主要是 笨木头)的博客.然后就自己尝试用cocos2d-x实现了一下... (新手,勿喷...) 先看执行效果 http://pan.baidu.c ...
- POJ 2002 点hash
Squares Time Limit: 3500MS Memory Limit: 65536K Total Submissions: 15489 Accepted: 5864 Descript ...
- ORACLE 实验二
实验二:数据操纵 实验学时:4学时 实验类型:综合型 实验要求:必修 一.实验目的 1.掌握SQL数据查询语句: 2.掌握SQL聚集函数的使用. 3.掌握SQL插入.改动.删除语句的使用. 二.实验内 ...
- 大规模集群管理工具Borg
Google的大规模集群管理工具Borg 概述 Google的Borg系统是一个集群管理工具,在它上面运行着成千上万的job,这些job来自许许多多不同的应用,并且跨越多个集群,而每个集群又由大量的机 ...
- SQL Server 2005使用OSQL连接出错
错误信息: [SQL Native Client] 命名管道提供程序:无法打开与 Sql Server 的连接[2]. 如下图: 解决方案: 设置Tcp/IP属性,将IP1,IP2,IPALL的TCP ...
- ClientID 获取服务端控件,客户端id的方法
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx. ...
- JQuery日记_5.13 Sizzle选择器(六)选择器的效率
当选择表达式不符合高速匹配(id,tag,class)和原生QSA不可用或返回错误时,将调用select(selector, context, results, seed)方法,此方法迭代DO ...
- Oracle SQL Lesson (6) - 使用Join进行联合查询
使用连接SQL 1999SELECT table1.column, table2.columnFROM table1[NATURAL JOIN table2] |[JOIN table2 USING ...
- malloc功能具体解释
一.原型:extern void *malloc(unsigned int num_bytes); 头文件:#include <malloc.h> 或 #include <alloc ...