ICCAVR编译报错 !E <library>(197): area 'bss' not large enough
2012-08-22 08:15
246 查看
!E <library>(197): area 'bss' not large enough
want size 384
lo 910 hi 1119 size 210
错误分析:bss段是编译器存放全局数组和局部静态数组的地方。如果我们在编写程序时声明了过大的数组、或局部静态数组,就有可能看到这个提示。
解决方法:如果某些数组是常量,我们就可以增加const关键字,将其放到空间相对宽裕的FLASH中(例如段码表、字模等)。对于其他情况,就只有简化程序或者外扩SRAM存储器了。
want size 384
lo 910 hi 1119 size 210
错误分析:bss段是编译器存放全局数组和局部静态数组的地方。如果我们在编写程序时声明了过大的数组、或局部静态数组,就有可能看到这个提示。
解决方法:如果某些数组是常量,我们就可以增加const关键字,将其放到空间相对宽裕的FLASH中(例如段码表、字模等)。对于其他情况,就只有简化程序或者外扩SRAM存储器了。
相关文章推荐
- ICCAVR编译报错 !E <library>(197): area 'bss' not large enough
- ICCAVR编译报错 !E <library>(197): area 'bss' not large enough
- android NDK开发编译时出现Type 'jint' could not be resolved和Unresolved inclusion: <jni.h>的解决办法
- android NDK开发编译时出现Type 'jint' could not be resolved和Unresolved inclusion: <jni.h>的解决办法
- Mac OS X 10.10 编译代码出错 fatal error: '__debug' file not found #include <__debug>
- Could not load NIB in bundle: 'NSBundle <xxx> (loaded)' with name ''xxx''
- Debug编译运行都没有问题,Release编译错误error C2664: 'ATL::CStringT<BaseType,StringTraits>::CStringT(const VARIANT
- supervisorctl报错"error: <class 'socket.gaierror'>, [Errno -2] Name or service not known"的解决方法
- mac /include/c++/v1/iterator:341:10: fatal error: '__debug' file not found #include <__debug>
- android NDK开发编译C++文件出现Type 'jint' could not be resolved和Unresolved inclusion: <jni.h>的解决办法
- Could not load NIB in bundle: 'NSBundle </Users/wyd/Library/Application Support/iPhone Simulator/5.0
- '<>' operator is not allowed for source level below 1.7
- fatal error: 'HIToolbox/HIToolbox.h' file not found #import <HIToolbox/HIToolbox.h>
- android NDK开发编译C++文件出现Type 'jint' could not be resolved和Unresolved inclusion: <jni.h>的解决办法
- #import <Cocoa/Cocoa.h> 报错 Lexical or Preprocessor Issue 'Cocoa/Cocoa.h' file not found
- android NDK开发编译C++文件出现Type 'jint' could not be resolved和Unresolved inclusion: <jni.h>的解决办法
- <转>Gdk-WARNING **: locale not supported by C library解决方法
- android NDK开发编译C++文件出现Type 'jint' could not be resolved和Unresolved inclusion: <jni.h>的解决办法
- <>' operator is not allowed for source level below 1.7
- reason: '[<__NSDictionary0 0x7fda88f00c90> setValue:forUndefinedKey:]: this class is not key value c