This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

lpc17xx_rtc.o error

Hi
I want to use rtc in cmsis but I faced with this error
would you please help me
linking...
flash_fs.axf: Error: L6218E: Undefined symbol CLKPWR_ConfigPPWR (referred from lpc17xx_rtc.o).
flash_fs.axf: Error: L6218E: Undefined symbol check_failed (referred from lpc17xx_rtc.o).

Parents
  • If you are not getting any errors, that means the compilation is ok.
    (to "Translate" press "Ctrl+F7" _Shortcut keys_)

    Now,
    "CLKPWR_ConfigPPWR" is a function called from your "lpc17xx_rtc.c" file, but the linker is unable to find the function (in the "lpc17xx_rtc.c" file).

    i m sure that the function is defined in some other file. may be "lpc17xx_clkpwr.c" file!!

    so how do you tell(inform) the linker that the function code exists in some other file?

Reply
  • If you are not getting any errors, that means the compilation is ok.
    (to "Translate" press "Ctrl+F7" _Shortcut keys_)

    Now,
    "CLKPWR_ConfigPPWR" is a function called from your "lpc17xx_rtc.c" file, but the linker is unable to find the function (in the "lpc17xx_rtc.c" file).

    i m sure that the function is defined in some other file. may be "lpc17xx_clkpwr.c" file!!

    so how do you tell(inform) the linker that the function code exists in some other file?

Children