Tried that option as well but the same issue.
frmcmp_batch userid=apps/password module=APXINWKB.fmb output_file=$AU_TOP/forms/US/APXINWKB.fmx module_type=form compile_all=special
Even regenerated plls for the form but still the same issue.
Any other suggestions is welcome?
If the instance A and B is identical. Then you may copy the respective form from the working instance to the non-working instance and see if it helps.
Ensure to take a backup before you do the copy.