警告信息如下: .\obj\YLN_S106_II.axf: Warning: L6412W: Disabling merging for app_task_core.o(.conststring), unsupported relocation R_ARM_REL32 from app_task_core.o(i.App_Core_Work) .\obj\YLN_S106_II.axf: Warning: L6412W: Disabling merging for app_task_proc.o(.conststring), unsupported relocation R_ARM_REL32 from app_task_proc.o(i.App_Proc_ParamesChecked) .\obj\YLN_S106_II.axf: Warning: L6412W: Disabling merging for app_gui_sysset.o(.conststring), unsupported relocation R_ARM_REL32 from app_gui_sysset.o(i.App_Gui_SysSet_Menu_OnMenuEntry) .\obj\YLN_S106_II.axf: Warning: L6412W: Disabling merging for app_gui_devset.o(.conststring), unsupported relocation R_ARM_REL32 from app_gui_devset.o(i.App_Gui_DevSet_Menu_OnMenuEntry) .\obj\YLN_S106_II.axf: Warning: L6412W: Disabling merging for app_gui_memory.o(.conststring), unsupported relocation R_ARM_REL32 from app_gui_memory.o(i.Memory_SubMenu_Record_MenuEntry) .\obj\YLN_S106_II.axf: Warning: L6412W: Disabling merging for app_gui_procset.o(.conststring), unsupported relocation R_ARM_REL32 from app_gui_procset.o(i.App_Gui_ProcSet_CacheLoad) .\obj\YLN_S106_II.axf: Warning: L6412W: Disabling merging for wfs_nandfs.o(.conststring), unsupported relocation R_ARM_REL32 from wfs_nandfs.o(i.Wfs_NandFAT_PrintDir) .\obj\YLN_S106_II.axf: Warning: L6412W: Disabling merging for proc_sl651.o(.conststring), unsupported relocation R_ARM_REL32 from proc_sl651.o(i.Sl651_SendPacketToServer) .\obj\YLN_S106_II.axf: Warning: L6412W: Disabling merging for proc_scsw.o(.conststring), unsupported relocation R_ARM_REL32 from proc_scsw.o(i.ScswProc_DailCmdFromHost) .\obj\YLN_S106_II.axf: Warning: L6412W: Disabling merging for proc_cqsw.o(.conststring), unsupported relocation R_ARM_REL32 from proc_cqsw.o(i.CqswProc_SendPacketToServer) .\obj\YLN_S106_II.axf: Warning: L6412W: Disabling merging for comm_ec20_driver.o(.conststring), unsupported relocation R_ARM_REL32 from comm_ec20_driver.o(i.EC20_WriteData) MDK版本信息: IDE-Version: μVision V5.21.1.0 Copyright (C) 2016 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: Capes Microsoft Microsoft LIC=8VR63-ABEHM-SYFVA-1BBJF-T85HC-WUFJC Tool Version Numbers: Toolchain: MDK-ARM Plus Version: 5.21a Toolchain Path: D:\MDK5\ARM\ARMCC\Bin C Compiler: Armcc.exe V5.06 update 3 (build 300) Assembler: Armasm.exe V5.06 update 3 (build 300) Linker/Locator: ArmLink.exe V5.06 update 3 (build 300) Library Manager: ArmAr.exe V5.06 update 3 (build 300) Hex Converter: FromElf.exe V5.06 update 3 (build 300) CPU DLL: SARMCM3.DLL V5.21a Dialog DLL: DCM.DLL V1.13.8.0 Target DLL: Segger\JL2CM3.dll V2.99.23.0 Dialog DLL: TCM.DLL V1.14.14.0 之前用的是MDK4,编译这个工程没有警告信息; 迁移到MDK5之后就多出来了这么一个警告信息,但是程序是可以正常运行的,就是不知道如何解决这个警告,或者是屏蔽这个警告??? |
查了一下手册,警告代码对应的信息如下:
Disabling merging for section <sec> from object <obj>, non R_ARM_ABS32 relocation from section <srcsec> from object <srcobj>
评分
查看全部评分
您好,可以说一下具体怎么解决的吗?
一是用回旧的库
二是更新编译器版本
我当时选择了二