Motif 2.2.X compilation on FreeBSD

Hi,

I was woundering why I always get compilation errors when I compile openmotif-2.2.X on my FreeBSD server+XFree86 3.X/4.X. The previous versions of Motif/OpenMotif (2.1.X) always had compiled without any FreeBSD patches required, whatever was the version of XFree86 I've been using. But since 2.2.X, I get some strange errors, wether I'm compiling with configure or imake:

-configure: it Indicate me some missing file: UilConst.h (I think)
-imake with XFree86 4.3.0 cf files: imake won't compile
-imake with OpenMotif 2.2.X cf files: some other failure I don't recall.

If previous versions were problematic too, I would have consider this normal. But usually, a program should be better over time.

Thanks.