gpt4 book ai didi

compiler-errors - 处理返回的错误代码2

转载 作者:行者123 更新时间:2023-12-02 10:42:47 25 4
gpt4 key购买 nike

此错误在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

最佳答案

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

关于compiler-errors - 处理返回的错误代码2,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17918188/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com