http://bugs.motifzone.net/showattachment.cgi?attach_id=259 http://bugs.motifzone.net/long_list.cgi?buglist=1479 Extend the patch to include guard for sun to solve the exact same compilation issue on Solaris. --- openmotif-2.3.2.org/clients/uil/UilDefI.h 2004-11-18 08:54:32.000000000 +0000 +++ openmotif-2.3.2/clients/uil/UilDefI.h 2009-11-08 13:24:29.000000000 +0000 @@ -283,7 +283,7 @@ #include "UilIODef.h" #include "UilDiagDef.h" #include "UilSarDef.h" -#if defined(linux) +#if defined(linux) || defined(__APPLE__) || defined(sun) #define YYSTYPE yystype #endif #include "UilLexPars.h"