TI中文支持网
TI专业的中文技术问题搜集分享网站

CC2640: 编译stac_FlashROM时,再link时出错。

Part Number:CC2640

LinkingWarning[Lt009]: Inconsistent wchar_t size            flash.o(driverlib.lib) has wchar_t size 16 bits            ble_dispatch_JT.o and 38 other objects, some of them in cc26xx_hci_tl_none.a and 13 other libraries have wchar_t size 32 bitsError[Li005]: no definition for "GGS_SetParameter" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\ble_dispatch_JT.o]Error[Li005]: no definition for "GGS_AddService" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\ble_dispatch_JT.o]Error[Li005]: no definition for "GGS_GetParameter" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\ble_dispatch_JT.o]Error[Li005]: no definition for "GATTServApp_RegisterService" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\ble_dispatch_JT.o]Error[Li005]: no definition for "GATTServApp_AddService" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\ble_dispatch_JT.o]Error[Li005]: no definition for "GATTServApp_DeregisterService" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\ble_dispatch_JT.o]Error[Li005]: no definition for "GATTServApp_SetParameter" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\ble_dispatch_JT.o]Error[Li005]: no definition for "GATTServApp_GetParameter" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\ble_dispatch_JT.o]Error[Li005]: no definition for "GATTServApp_SendCCCUpdatedEvent" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\ble_dispatch_JT.o]Error[Li005]: no definition for "GAP_isPairing" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\gapbondmgr.o]Error[Li005]: no definition for "GATTServApp_RegisterForMsg" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\gapbondmgr.o]Error[Li005]: no definition for "GATTServApp_UpdateCharCfg" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\gapbondmgr.o]Error[Li005]: no definition for "LL_ProcessEvent" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\osal_icall_ble.o]Error[Li005]: no definition for "GATTServApp_ProcessEvent" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\osal_icall_ble.o]Error[Li005]: no definition for "GATTServApp_ReadAttr" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\gapbondmgr.o]Error[Li005]: no definition for "LL_Init" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\osal_icall_ble.o]Error[Li005]: no definition for "GATTServApp_Init" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\osal_icall_ble.o]Error[Li005]: no definition for "llUserConfig" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\ble_user_config.o]Error[Li005]: no definition for "llConfigTable" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "llTaskList" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "sizeInfo" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "LL_Reset" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "rfCallback" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "llSetupLenCtrlPkt" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "llActiveTask" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "llAllocTask" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "llDataGetConnPtr" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "llFreeTask" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "llGetCurrentTask" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "llGetNumTasks" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "llGetTaskState" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "llScheduler" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "llScheduleTask" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "llValidateConnParams" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "L2CAP_SendDataPkt" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "gattServApp_ClearPrepareWriteQ" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "gattServApp_EnqueuePrepareWriteReq" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "gattServApp_ProcessExchangeMTUReq" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "gattServApp_ProcessReliableWrites" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "GATTServApp_WriteAttr" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "gattServApp_ProcessWriteLong" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "gapProcessDisconnectCompleteEvt" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error[Li005]: no definition for "smSavePairInfo" [referenced from D:\dazhangyu\project\ufo2-ufo-mini2\software\cc2640r2_platform_ufo2\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar\stack\FlashROM\Obj\rom_init.o]Error while running Linker 
Total number of errors: 43Total number of warnings: 1

出现以上错误,请教下是什么原因呢。

Alex Zhang:

您好,从您这边的编译报错中看到,很多宏定义没有找到,您这边是否引用了工程包含所有必要的源文件和库

,

user6303367:

应该如何查看呢?我有搜索到这几个函数宏定义,但是不知道为何还会有错误。

,

Alex Zhang:

我想问一下,您这边是自建的工程还是引用的ti的例程demo

,

user6303367:

是使用的TI的demo,C:\ti\simplelink_cc2640r2_sdk_1_35_00_33\examples\rtos\CC2640R2_LAUNCHXL\blestack\simple_peripheral\tirtos\iar 

我的工程是在此demo的基础上修改的,原始例程编译没有问题。但我的工程编译FLASHROM就会出问题,编译stacklibary是可以通过的。

,

user6303367:

找到问题的原因了,之前同事尝试着更新到最新协议栈版本,导致出现这个问题。

,

Alex Zhang:

好的,很高兴您的问题得到了解决,有问题随时来论坛交流,感谢您的提问,谢谢

赞(0)
未经允许不得转载:TI中文支持网 » CC2640: 编译stac_FlashROM时,再link时出错。
分享到: 更多 (0)