I solve the first problem, error of undeclared identifier, and now I have another problem in keil compiller: Error L6218E: Undefined Symbol.
I assume you are using STM32Cube - this would generate the appropriate source code containing these missing functions.
Have you included that code in your project?
Thank you Ronan. Yes, I used the STM32CUBE, but actually I try change the code, originally, STM32F030R8 by STM32G071RB.