All the lenses with the problem are compatible. The lens that works for you has no aperture ring to lock so it's fine.
The AF-D lens mount has a raised area that pushes in on a switch on the camera body located at the between the 7 and 8 o'clock position around the body mount. If this switch is not contacted you will get the FEE message. It is only pushed in when the lens is at it's smallest lens aperture, like f22.
edit: The AF-d lenses can only be locked to f22 or it's smallest setting. If the switch around the body lens mount is being pushed in and you still have the error then the switch may be faulty.