Error in OpenMotif-2.1.31 while compiling uil file

In Linux RHEL4, OpenMotif V2.1.31, when a UIL file is compiled that sets the
XmNdefaultButtonType to XmDIALOG_NONE the following error occurs:

$ UIL/MOTIF test.uil

XmNdefaultButtonType = XmDIALOG_NONE;
*
Error: value XmDIALOG_NONE was never defined

Has nebody come across such a problem

please help.