Steve, You need to be sure to use the -DXM_1_1_BC flag. MAX is simply defined in Xm/XmP.h if this flag is used. These are the XCFLAGS I use for IRIX5.2: XCFLAGS = -D_NO_PROTO -DXM_1_1_BC -Umips - Bill