R5F100LEA使用IAR编译器,使用FDL库编译报错

IAR版本是 4.10.1 ,使用的库FDLT04_V105_R5F100xL_IAR120添加库文件之后编译报错误

Error[Li005]: no definition for "_PFDL_Close" [referenced from E:\BaiduSyncdisk\Project2\R5F100LEA\IAR\Debug\Obj\m_pfdl.o]
Error[Li005]: no definition for "_PFDL_Execute" [referenced from E:\BaiduSyncdisk\Project2\R5F100LEA\IAR\Debug\Obj\m_pfdl.o]
Error[Li005]: no definition for "_PFDL_Handler" [referenced from E:\BaiduSyncdisk\Project2\R5F100LEA\IAR\Debug\Obj\m_pfdl.o]
Error[Li005]: no definition for "_PFDL_Open" [referenced from E:\BaiduSyncdisk\Project2\R5F100LEA\IAR\Debug\Obj\m_pfdl.o]
Error while running Linker

有什么问题和解决办法吗?

Parents
  • 你是不是没有添加库头文件路径? 

  • 你好!我这边也遇到类似的问题。

    使用的是e2 studio + CC-RL compiler,PFDL库

    E0562310:Undefined external symbol "_PFDL_Open" referenced in ".\src\r_cg_pfdl.obj"
    E0562310:Undefined external symbol "_PFDL_Handler" referenced in ".\src\r_cg_pfdl.obj"
    E0562310:Undefined external symbol "_PFDL_Execute" referenced in ".\src\r_cg_pfdl.obj"
    E0562310:Undefined external symbol "_PFDL_Close" referenced in ".\src\r_cg_pfdl.obj"

    上面4个函数在pfdl.h文档里面有外部声明,但是找不到函数本体。 请问可能是什么问题?

Reply
  • 你好!我这边也遇到类似的问题。

    使用的是e2 studio + CC-RL compiler,PFDL库

    E0562310:Undefined external symbol "_PFDL_Open" referenced in ".\src\r_cg_pfdl.obj"
    E0562310:Undefined external symbol "_PFDL_Handler" referenced in ".\src\r_cg_pfdl.obj"
    E0562310:Undefined external symbol "_PFDL_Execute" referenced in ".\src\r_cg_pfdl.obj"
    E0562310:Undefined external symbol "_PFDL_Close" referenced in ".\src\r_cg_pfdl.obj"

    上面4个函数在pfdl.h文档里面有外部声明,但是找不到函数本体。 请问可能是什么问题?

Children
No Data