Try updating kdelibs to revision 1172802 and building again.
Updated. Similar but different error message. Same location and file.
See attached.
OK, try it again with revision 1172884 or above. Hopefully I stamped the remaining header issues in kdelibs out, but you never know....
Tim