I'm sorry, but I am not clear about the parameter... can u explain more...?
But somehow i did try this to fix the error.
float flat, flon;
gps.f_get_position(&flat, &flon);
It shows no error now but the motor does not seems to get any instruction from the calculation. Is it related to my gps unable to receive data?