进程返回错误代码2

时间:2013-07-29 07:23:33

标签: compiler-errors contiki

此错误在contiki中意味着什么?代码基于examples/ipv6/rpl-collect中的udp-sink.sky,当我尝试向其添加powertrace时会发生错误。

/usr/lib/gcc/msp430/4.5.3/../../../../msp430/bin/ld: udp-sink.sky section `.data' will not fit in region `rom'
/usr/lib/gcc/msp430/4.5.3/../../../../msp430/bin/ld: section .vectors loaded at [0000ffe0,0000ffff] overlaps section .data loaded at [0000ffae,00010097]
/usr/lib/gcc/msp430/4.5.3/../../../../msp430/bin/ld: region `rom' overflowed by 184 bytes
collect2: ld returned 1 exit status

Process returned error code 2
make: *** [udp-sink.sky] Error 1

1 个答案:

答案 0 :(得分:1)

您的目标文件似乎超出了要编译的设备的大小限制。具体来说,ROM分区(通常是执行代码所在的区域)溢出184个字节。如果通过删除184个字节的CODE来减少ROM分区,则不应再看到该错误。