共4条
1/1 1 跳转至页
江湖救急! 链接时报错!

[color=#DC143C]ldarm -o tmp.o[/color] -X -EL -r dataSegPad.o sysALib.o sysLib.o E:\pppoe_np\target/lib/
libARMARCH4gnutms.a sysConfig.o sysSwitch.o hpcFsFunc.o hpcFsRpc.o hpcFsDrv.o po
rtTable.o dnlValidate.o NetPortLoopBack.o NPCSys.o testp.o FlashIO.o flashFsLib.
o sysTffs.o wamdmtd.o Fscmd.o usrConfig_st.o version.o E:\pppoe_np\target/../host/x86-win32/lib/gcc-lib/ar
m-wrs-vxworks/2.7.9-970819/libgcc.a E:\pppoe_np\target/lib/libARMARCH4gnutms.a
E:\pppoe_np\target/lib/libARMARCH4gnuenvoy.a E:\pppoe_np\target/lib/libARMARCH4g
nuddp.a E:\pppoe_np\target/lib/libARMARCH4gnuzlib.a E:\pppoe_np\target/lib/libAR
MARCH4gnuPPP.a E:\pppoe_np\target/lib/libARMARCH4gnucli.a E:\pppoe_np\target/lib
/libARMARCH4gnupppradius.a E:\pppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp_DRV
.a E:\pppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/rtm.a E
:\pppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/app_1200.a
E:\pppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/hal_1200.a
E:\pppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/uclo.a E:
\pppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/debug_1200.a
E:\pppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/ucommDriv
er.a E:\pppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/GigMa
c.a E:\pppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/msgQ.a
E:\pppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/sv_libs.a
E:\pppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/ueng.a E:
\pppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/core_utils.a
E:\pppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/libd.a E:
\pppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/utils.a E:\p
ppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/osApi.a E:\ppp
oe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/rs_udebug.a E:\p
ppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/scomm.a E:\ppp
oe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/app_1200.a E:\pp
poe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/debug_1200.a E:
\pppoe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/hdbm.a E:\pp
poe_np\target/src/tms/swdrv/ixp1200eb_le/ixp1200_lib/vxworks_lib/ixp_hash.a E:pppoe_np\target/lib/libARMARCH4gnutms.a E:\pppoe_np\target/lib/libARMARCH4gnuvx
.a E:\pppoe_np\target/../host/x86-win32/lib/gcc-lib/arm-wrs-vxworks/2.7.9-970819
/libgcc.a
[color=#DC143C]ldarm: tmp.o: .text: reloc overflow: 0x10060 > 0xffff[/color]
[color=#DC143C]tmp.o: final close failed: File truncated[/color]
make: *** [vxWorks.st] Error 0x1
请问高人们如何解决??
[align=right][color=#000066][此贴子已经被作者于2003-12-1 15:06:06编辑过][/color][/align]
关键词: 江湖 救急 链接 报错 pppoe target

问题解决了,修改rules.bsp
$(LD) -o tmp.o $(LD_PARTIAL_FLAGS) dataSegPad.o $(MACH_DEP) usrConfig_st.o version.o $(LIBS)
修改为
$(LD) -o tmp.o $(LD_PARTIAL_FLAGS) --split-by-reloc 2 dataSegPad.o $(MACH_DEP) usrConfig_st.o version.o $(LIBS)
--split-by-reloc count
Trys to creates extra sections in the output file so that no single output section in the file contains more than count relocations. This is useful when generating huge relocatable for downloading into certain real time kernels with the COFF object file format; since COFF cannot represent more than 65535 relocations in a single section. Note that this will fail to work with object file formats which do not support arbitrary sections. The linker will not split up individual input sections for redistribution, so if a single input section contains more than count relocations one output section will contain that many relocations.
共4条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【EEPW电子工程师创研计划】技术变现通道已开启~ | |
发原创文章 【每月瓜分千元赏金 凭实力攒钱买好礼~】 | |
【EEPW在线】E起听工程师的声音! | |
“我踩过的那些坑”主题活动——第001期 | |
高校联络员开始招募啦!有惊喜!! | |
【工程师专属福利】每天30秒,积分轻松拿!EEPW宠粉打卡计划启动! | |
送您一块开发板,2025年“我要开发板活动”又开始了! | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
【我踩过的那些坑】电感选型错误导致的处理器连接不上被打赏50分 | |
【我踩过的那些坑】工作那些年踩过的记忆深刻的坑被打赏10分 | |
【我踩过的那些坑】DRC使用位置错误导致的问题被打赏100分 | |
我踩过的那些坑之混合OTL功放与落地音箱被打赏50分 | |
汽车电子中巡航控制系统的使用被打赏10分 | |
【我踩过的那些坑】工作那些年踩过的记忆深刻的坑被打赏100分 | |
分享汽车电子中巡航控制系统知识被打赏10分 | |
分享安全气囊系统的检修注意事项被打赏10分 | |
分享电子控制安全气囊计算机知识点被打赏10分 | |
【分享开发笔记,赚取电动螺丝刀】【OZONE】使用方法总结被打赏20分 |