stvd ubsct溢出错误解决

来源:互联网 发布:nginx php cgi 配置 编辑:程序博客网 时间:2024/05/24 01:24

转自:http://blog.sina.com.cn/s/blog_817a5eb601018186.html

----------- Project roewe - STM8 Cosmic - Configuration Debug -------------

 

Running Linker

clnk -l"C:\Program Files\COSMIC\CXSTM8\Lib"  -o Debug\roewe.sm8 -mDebug\roewe.map Debug\roewe.lkf

#error clnk Debug\roewe.lkf:1 segment .ubsct size overflow (1343)

 The command: "clnk -l"C:\Program Files\COSMIC\CXSTM8\Lib"  -o Debug\roewe.sm8 -mDebug\roewe.map Debug\roewe.lkf " has failed, the returned value is: 1

exit code=1.

 

roewe.elf - 3 error(s), 0 warning(s)

 

解决方法:在“工程选项”(project settings)中,确定“Settings”下树状列表中工程被选中点选右边“C Compiler”选项卡,在C Compiler中有一个“Category"下拉列表,选此下拉列表中"General"会在下面显示Memory Models中把选项Short Stack[+mods0]选择更改为Long Stack[+modsl]

0 0
原创粉丝点击