4. error: memory types LP and LD on page 0 overlap
>> warning: can't find a memory area named 'LD' on page 0 for allocation of
'.stack'
>> error: can't find any memory areas for allocation of '.stack'
>> error: can't allocate '.stack' into 'LD' (page 0)
>> warning: can't find a memory area named 'LD' on page 0 for allocation of
'.sysmem'
>> error: can't find any memory areas for allocation of '.sysmem'
>> error: can't allocate '.sysmem' into 'LD' (page 0)
这种情况呢,又是你的CMD问题,分配的空间太大了。LP : origin = 0x0, len = 0x100000改成LP : origin = 0x0, len = 0x10000就好了。
5.
undefined first referenced
symbol in file
--------- ----------------
_asmfunc C:\\CCStudio_v3.3\\MyProjects\\MyAsmTest\\Debug\\MyAsmTest.obj
>> error: symbol referencing errors - './Debug/MyAsmTest.out' not built
解决方法:1.是库的问题 2.把你的汇编程序和C程序起不同的名字。
6.creating output section .const without SECTIONS specification
>> warning: creating output section .switch without SECTIONS specification
>> warning: creating output section .sysmem without SECTIONS specification、