[技术求助] 这个警告是什么原因

[复制链接]
 楼主| heweibig 发表于 2019-9-22 15:03 | 显示全部楼层 |阅读模式
>> warning: entry point other than _c_int00 specified
jiahy 发表于 2019-9-22 15:07 | 显示全部楼层
自己到网上查一下   很多特定的问题大家其实也没遇到过
wuhany 发表于 2019-9-22 15:10 | 显示全部楼层
从字面上讲, 是个不合法的程序入口点
wuhany 发表于 2019-9-22 15:13 | 显示全部楼层
估计是编译环境和配置方面的问题, 或者启动文件弄错了
zhenykun 发表于 2019-9-22 15:17 | 显示全部楼层
这个真不好说,最好看看你的程序再说吧
shimx 发表于 2019-9-22 15:23 | 显示全部楼层
什么MCU或者软件的警告;
lizye 发表于 2019-9-22 15:26 | 显示全部楼层
如果在纯汇编的程序下如果LINKER的autoint model设置不对会出现,但是TI给的例子中并不是纯汇编的程序,但是也出现这个警告,关键问题就出现在LINKER下的CODE ENTRY POINT 这个选项上,他设置了一个启动地址,并且这个启动地址不是_c_int00,其实默认不添就是从这个地方启动的,这段是TI帮助里的:The memory address at which a program begins executing is called the entry point. When a loader loads a program into target memory, the program counter (PC) must be initialized to the entry point; the PC then points to the beginning of the program.
The linker can assign one of four values to the entry point. These values are listed below in the order in which the linker tries to use them. If you use one of the first three values, it must be an external symbol in the symbol table.
?The value specified by the -e option. The syntax is:
-e global_symbol
where global_symbol defines the entry point and must appear as an external symbol in one of the input files.
?The value of symbol _c_int00 (if present). The _c_int00 symbol must be the entry point if you are linking code produced by the C compiler.
?The value of symbol _main (if present)
?0 (default value)
This example links file1.obj and file2.obj. The symbol begin is the entry point; begin must be defined as external in file1 or file2.
cl2000 -v28 -z -e begin file1.obj file2.obj
lizye 发表于 2019-9-22 15:29 | 显示全部楼层
        其实这个地址如果用debug里的restart 或 reset cpu就可以看出来了,restart后就会将PC设置到这个地址,但是DSP里的寄存器不会变化,但是RESET CPU则DSP完全重新启动了。
 楼主| heweibig 发表于 2019-9-22 15:34 | 显示全部楼层
嗯,我再好好缕一缕吧,有了好消息及时通知大家,结贴喽
sensitivity 发表于 2019-9-24 14:45 | 显示全部楼层
中断入口错误?
kkzz 发表于 2019-10-2 10:39 | 显示全部楼层
在编译选项里面link标签页,把Code Entry Point(-e)编辑框里面的code_start删除,就不会产生该警告了  
hudi008 发表于 2019-10-2 10:39 | 显示全部楼层
在“TMS320C6000优化汇编手册”第五章“链接C/C++代码”有一段关于_c_int00符号的说明。  
lzmm 发表于 2019-10-2 10:39 | 显示全部楼层
消除警告的方法在 Linker选项下面选择No Autoinitialization.  
minzisc 发表于 2019-10-2 10:40 | 显示全部楼层
在build option里去掉了 code start      
selongli 发表于 2019-10-2 10:40 | 显示全部楼层
默认情况下,28xx的C语言程序代码入口应该是_c_int00  
fentianyou 发表于 2019-10-2 10:41 | 显示全部楼层
不用管它,警告不影响使用。        
xiaoyaodz 发表于 2019-10-2 10:41 | 显示全部楼层
在编译选项里面link标签页,把Code Entry Point(-e)编辑框里面的code_start删除  
febgxu 发表于 2019-10-2 10:42 | 显示全部楼层
关键问题就出现在LINKER下的CODE ENTRY POINT     
sdlls 发表于 2019-10-2 10:42 | 显示全部楼层
LINKER的autoint model设置不对会出现      
pixhw 发表于 2019-10-2 10:42 | 显示全部楼层
其实这个地址如果用debug里的restart 或 reset cpu就可以看出来了,restart后就会将PC设置到这个地址,但是DSP里的寄存器不会变化,但是RESET CPU则DSP完全重新启动了。  
您需要登录后才可以回帖 登录 | 注册

本版积分规则

869

主题

13089

帖子

7

粉丝
快速回复 在线客服 返回列表 返回顶部