BODY_FRD’ is not a member of ‘mavlink::common::MAV_FRAME

Hello, I have a problem with MavLink and Mavros.
When I try to compile with catkin build I have the following error:

/catkin_ws/src/mavros/mavros_extras/src/plugins/odom.cpp:228:53: error: ‘BODY_FRD’ is not a member of ‘mavlink::common::MAV_FRAME’
   msg.child_frame_id = utils::enum_value(MAV_FRAME::BODY_FRD);
                                                     ^~~~~~~~
make[2]: *** [CMakeFiles/mavros_extras.dir/src/plugins/odom.cpp.o] Error 1
make[1]: *** [CMakeFiles/mavros_extras.dir/all] Error 2
make: *** [all] Error 2

In this page I found out that the convention are changed.

https://mavlink.io/en/messages/common.html

I followed the instruction on this page in order to install MavLink and Mavros:

https://dev.px4.io/v1.9.0/en/ros/mavros_installation.html

What can I do to solve this error? Sorry if is a base question, but I do not know how to resolve it.
Thank in advance!