I'm using MPU6050+DMP with STM32 for a self-balancing robot. The MCU is programmed in Keil C, and here's the link to the library I'm using: https://github.com/jrowberg/i2cdevlib/tree/master/STM32HAL. When I use DMP functions, Keil C says some of them are undefined, as in this picture:

How to solve this problem?
P/s: I defined the DMP mode, as in this one:
