ros version : noetic ubuntu : 20.04.5 LTS Thank you
Try catkin_make_isolated, if it still doesnt work . please post the details of the package you are trying to compile, that is robot_loclaization