Hi,
I am currently trying to install OpenCDE for the heck of trying it however it fails to build. Even though i have install open motif.

Here is the output message i receive:
Code:
/usr/include/Xm/XmP.h:573: error: ‘Dimension’ does not name a type
/usr/include/Xm/XmP.h:574: error: ‘Dimension’ does not name a type
/usr/include/Xm/XmP.h:575: error: ‘Dimension’ does not name a type
/usr/include/Xm/XmP.h:585: error: ‘Widget’ does not name a type
/usr/include/Xm/XmP.h:586: error: ‘Widget’ does not name a type
/usr/include/Xm/XmP.h:587: error: ‘XtWidgetGeometry’ does not name a type
/usr/include/Xm/XmP.h:588: error: ‘XtWidgetGeometry’ does not name a type
/usr/include/Xm/XmP.h:589: error: expected ‘;’ before ‘*’ token
/usr/include/Xm/XmP.h:592: error: ‘Dimension’ does not name a type
/usr/include/Xm/XmP.h:593: error: ‘Dimension’ does not name a type
/usr/include/Xm/XmP.h:594: error: ‘Boolean’ does not name a type
/usr/include/Xm/XmP.h:595: error: ‘Boolean’ does not name a type
/usr/include/Xm/XmP.h:596: error: ‘Dimension’ does not name a type
/usr/include/Xm/XmP.h:597: error: ‘Dimension’ does not name a type
/usr/include/Xm/XmP.h:598: error: ‘Dimension’ does not name a type
/usr/include/Xm/XmP.h:599: error: ‘Dimension’ does not name a type
/usr/include/Xm/XmP.h:600: error: ‘Dimension’ does not name a type
/usr/include/Xm/XmP.h:601: error: ‘Dimension’ does not name a type
/usr/include/Xm/XmP.h:602: error: ‘XmGeoExceptProc’ does not name a type
/usr/include/Xm/XmP.h:603: error: ‘XmGeoExceptProc’ does not name a type
/usr/include/Xm/XmP.h:604: error: ‘XmGeoExceptProc’ does not name a type
/usr/include/Xm/XmP.h:605: error: ‘XtPointer’ does not name a type
/usr/include/Xm/XmP.h:606: error: ‘XmGeoExtDestructorProc’ does not name a type
/usr/include/Xm/XmP.h:611: error: typedef ‘XmGeoCreateProc’ is initialized (use decltype instead)
/usr/include/Xm/XmP.h:611: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/XmP.h:611: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/XmP.h:611: error: ‘XtWidgetGeometry’ was not declared in this scope
/usr/include/Xm/XmP.h:611: error: expected primary-expression before ‘)’ token
/usr/include/Xm/XmP.h:1076: error: ‘String’ does not name a type
/usr/include/Xm/XmP.h:1077: error: ‘String’ does not name a type
/usr/include/Xm/XmP.h:1078: error: ‘String’ does not name a type
/usr/include/Xm/XmP.h:1079: error: ‘Cardinal’ does not name a type
/usr/include/Xm/XmP.h:1080: error: ‘Cardinal’ does not name a type
/usr/include/Xm/XmP.h:1081: error: ‘String’ does not name a type
/usr/include/Xm/XmP.h:1082: error: ‘XtPointer’ does not name a type
/usr/include/Xm/XmP.h:1175: error: expected ‘;’ before ‘*’ token
/usr/include/Xm/XmP.h:1176: error: ‘Boolean’ does not name a type
/usr/include/Xm/XmP.h:1177: error: ‘Widget’ does not name a type
/usr/include/Xm/XmP.h:1178: error: ‘Widget’ does not name a type
/usr/include/Xm/XmP.h:1198: error: variable or field ‘XmeRedisplayGadgets’ declared void
/usr/include/Xm/XmP.h:1198: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/XmP.h:1199: error: expected primary-expression before ‘register’
/usr/include/Xm/XmP.h:1200: error: ‘Region’ was not declared in this scope
/usr/include/Xm/XmP.h:1202: error: variable or field ‘XmeConfigureObject’ declared void
/usr/include/Xm/XmP.h:1202: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/XmP.h:1210: error: ‘Position’ was not declared in this scope
/usr/include/Xm/XmP.h:1211: error: ‘Position’ was not declared in this scope
/usr/include/Xm/XmP.h:1212: error: ‘Dimension’ was not declared in this scope
/usr/include/Xm/XmP.h:1213: error: ‘Dimension’ was not declared in this scope
/usr/include/Xm/XmP.h:1214: error: ‘Dimension’ was not declared in this scope
/usr/include/Xm/XmP.h:1218: error: variable or field ‘XmeNavigChangeManaged’ declared void
/usr/include/Xm/XmP.h:1218: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/XmP.h:1219: error: ‘Boolean’ does not name a type
/usr/include/Xm/XmP.h:1223: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/XmP.h:1224: error: expected primary-expression before ‘int’
/usr/include/Xm/XmP.h:1225: error: ‘XtArgVal’ was not declared in this scope
/usr/include/Xm/XmP.h:1225: error: ‘value’ was not declared in this scope
/usr/include/Xm/XmP.h:1225: error: initializer expression list treated as compound expression
/usr/include/Xm/XmP.h:1227: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/XmP.h:1228: error: expected primary-expression before ‘int’
/usr/include/Xm/XmP.h:1229: error: ‘XtArgVal’ was not declared in this scope
/usr/include/Xm/XmP.h:1229: error: ‘value’ was not declared in this scope
/usr/include/Xm/XmP.h:1229: error: initializer expression list treated as compound expression
/usr/include/Xm/XmP.h:1231: error: variable or field ‘XmeFromHorizontalPixels’ declared void
/usr/include/Xm/XmP.h:1231: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/XmP.h:1232: error: expected primary-expression before ‘int’
/usr/include/Xm/XmP.h:1233: error: ‘XtArgVal’ was not declared in this scope
/usr/include/Xm/XmP.h:1233: error: ‘value’ was not declared in this scope
/usr/include/Xm/XmP.h:1235: error: variable or field ‘XmeFromVerticalPixels’ declared void
/usr/include/Xm/XmP.h:1235: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/XmP.h:1236: error: expected primary-expression before ‘int’
/usr/include/Xm/XmP.h:1237: error: ‘XtArgVal’ was not declared in this scope
/usr/include/Xm/XmP.h:1237: error: ‘value’ was not declared in this scope
/usr/include/Xm/XmP.h:1238: error: ‘String’ was not declared in this scope
/usr/include/Xm/XmP.h:1238: error: expected primary-expression before ‘int’
/usr/include/Xm/XmP.h:1238: error: initializer expression list treated as compound expression
/usr/include/Xm/XmP.h:1240: error: ‘Widget’ does not name a type
/usr/include/Xm/XmP.h:1242: error: ‘Widget’ does not name a type
/usr/include/Xm/XmP.h:1249: error: ‘Boolean’ does not name a type
/usr/include/Xm/XmP.h:1260: error: ‘Pixmap’ does not name a type
/usr/include/Xm/XmP.h:1265: error: ‘Widget’ does not name a type
/usr/include/Xm/XmP.h:1274: error: ‘Display’ was not declared in this scope
/usr/include/Xm/XmP.h:1274: error: ‘dpy’ was not declared in this scope
/usr/include/Xm/XmP.h:1275: error: ‘KeySym’ was not declared in this scope
/usr/include/Xm/XmP.h:1276: error: expected primary-expression before ‘*’ token
/usr/include/Xm/XmP.h:1276: error: ‘actualKeyData’ was not declared in this scope
/usr/include/Xm/XmP.h:1276: error: initializer expression list treated as compound expression
/usr/include/Xm/XmP.h:1278: error: ‘Cursor’ does not name a type
/usr/include/Xm/XmP.h:1280: error: variable or field ‘XmeQueryBestCursorSize’ declared void
/usr/include/Xm/XmP.h:1280: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/XmP.h:1281: error: ‘Dimension’ was not declared in this scope
/usr/include/Xm/XmP.h:1281: error: ‘width’ was not declared in this scope
/usr/include/Xm/XmP.h:1282: error: ‘Dimension’ was not declared in this scope
/usr/include/Xm/XmP.h:1282: error: ‘height’ was not declared in this scope
/usr/include/Xm/XmP.h:1284: error: variable or field ‘XmeWarning’ declared void
/usr/include/Xm/XmP.h:1284: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/XmP.h:1284: error: expected primary-expression before ‘char’
/usr/include/Xm/XmP.h:1287: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/XmP.h:1291: error: expected primary-expression before ‘unsigned’
/usr/include/Xm/XmP.h:1291: error: initializer expression list treated as compound expression
/usr/include/Xm/XmP.h:1293: error: ‘Boolean’ does not name a type
/usr/include/Xm/XmP.h:1298: error: variable or field ‘XmeResolvePartOffsets’ declared void
/usr/include/Xm/XmP.h:1298: error: ‘WidgetClass’ was not declared in this scope
/usr/include/Xm/XmP.h:1299: error: expected primary-expression before ‘*’ token
/usr/include/Xm/XmP.h:1299: error: ‘offset’ was not declared in this scope
/usr/include/Xm/XmP.h:1300: error: expected primary-expression before ‘*’ token
/usr/include/Xm/XmP.h:1300: error: ‘constraint_offset’ was not declared in this scope
/usr/include/Xm/XmP.h:1302: error: ‘Boolean’ does not name a type
/usr/include/Xm/XmP.h:1305: error: ‘Widget’ has not been declared
/usr/include/Xm/XmP.h:1306: error: ‘XtPointer’ was not declared in this scope
/usr/include/Xm/XmP.h:1306: error: ‘in_out’ was not declared in this scope
/usr/include/Xm/XmP.h:1307: error: ‘XtPointer’ was not declared in this scope
/usr/include/Xm/XmP.h:1308: error: expected primary-expression before ‘type’
/usr/include/Xm/XmP.h:1309: error: expected primary-expression before ‘locale_tag’
/usr/include/Xm/XmP.h:1310: error: expected primary-expression before ‘entry’
/usr/include/Xm/XmP.h:1311: error: expected primary-expression before ‘int’
/usr/include/Xm/XmP.h:1312: error: expected primary-expression before ‘*’ token
/usr/include/Xm/XmP.h:1312: error: ‘str_include’ was not declared in this scope
/usr/include/Xm/XmP.h:1313: error: ‘XtPointer’ was not declared in this scope
/usr/include/Xm/XmP.h:1313: error: initializer expression list treated as compound expression
/usr/include/Xm/XmP.h:1314: error: ‘XtPointer’ was not declared in this scope
/usr/include/Xm/XmP.h:1314: error: ‘in_out’ was not declared in this scope
/usr/include/Xm/XmP.h:1315: error: ‘XtPointer’ was not declared in this scope
/usr/include/Xm/XmP.h:1316: error: expected primary-expression before ‘type’
/usr/include/Xm/XmP.h:1317: error: expected primary-expression before ‘locale_tag’
/usr/include/Xm/XmP.h:1318: error: expected primary-expression before ‘entry’
/usr/include/Xm/XmP.h:1319: error: expected primary-expression before ‘int’
/usr/include/Xm/XmP.h:1320: error: expected primary-expression before ‘*’ token
/usr/include/Xm/XmP.h:1320: error: ‘str_include’ was not declared in this scope
/usr/include/Xm/XmP.h:1321: error: ‘XtPointer’ was not declared in this scope
/usr/include/Xm/XmP.h:1321: error: initializer expression list treated as compound expression
/usr/include/Xm/XmP.h:1323: error: ‘Boolean’ has not been declared
/usr/include/Xm/XmP.h:1324: error: ‘Boolean’ has not been declared
/usr/include/Xm/XmP.h:1326: error: ‘XtPointer’ has not been declared
/usr/include/Xm/XmP.h:1328: error: ‘Boolean’ does not name a type
/usr/include/Xm/XmP.h:1332: error: ‘XtGeometryResult’ does not name a type
/usr/include/Xm/XmP.h:1338: error: variable or field ‘XmeGetDefaultPixel’ declared void
/usr/include/Xm/XmP.h:1338: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/XmP.h:1339: error: expected primary-expression before ‘int’
/usr/include/Xm/XmP.h:1340: error: expected primary-expression before ‘int’
/usr/include/Xm/XmP.h:1341: error: ‘XrmValue’ was not declared in this scope
/usr/include/Xm/XmP.h:1341: error: ‘value’ was not declared in this scope
/usr/include/Xm/XmP.h:1343: error: ‘String’ does not name a type
/usr/include/Xm/XmP.h:1348: error: ‘Widget’ has not been declared
/usr/include/Xm/XmP.h:1350: error: ‘String’ has not been declared
In file included from /usr/include/Xm/XmP.h:1368,
                 from /usr/include/Xm/PrimitiveP.h:50,
                 from /usr/include/Xm/IconButtonP.h:17,
                 from include/motifmm.h:29,
                 from Application.cpp:1:
/usr/include/Xm/BaseClassP.h:107: error: typedef ‘Cardinal’ is initialized (use decltype instead)
/usr/include/Xm/BaseClassP.h:107: error: ‘XmGetSecResDataFunc’ was not declared in this scope
/usr/include/Xm/BaseClassP.h:111: error: ‘XtPointer’ does not name a type
/usr/include/Xm/BaseClassP.h:112: error: ‘XrmQuark’ does not name a type
/usr/include/Xm/BaseClassP.h:114: error: ‘Cardinal’ does not name a type
/usr/include/Xm/BaseClassP.h:118: error: ‘XtPointer’ does not name a type
/usr/include/Xm/BaseClassP.h:119: error: ‘XrmQuark’ does not name a type
/usr/include/Xm/BaseClassP.h:121: error: ‘Cardinal’ does not name a type
/usr/include/Xm/BaseClassP.h:126: error: ‘WidgetClass’ does not name a type
/usr/include/Xm/BaseClassP.h:127: error: ‘XtInitProc’ does not name a type
/usr/include/Xm/BaseClassP.h:128: error: ‘XtSetValuesFunc’ does not name a type
/usr/include/Xm/BaseClassP.h:129: error: ‘XtArgsProc’ does not name a type
/usr/include/Xm/BaseClassP.h:130: error: ‘XtRealizeProc’ does not name a type
/usr/include/Xm/BaseClassP.h:131: error: ‘XtWidgetClassProc’ does not name a type
/usr/include/Xm/BaseClassP.h:132: error: ‘XtWidgetProc’ does not name a type
/usr/include/Xm/BaseClassP.h:133: error: ‘XtGeometryHandler’ does not name a type
/usr/include/Xm/BaseClassP.h:136: error: ‘Cardinal’ does not name a type
/usr/include/Xm/BaseClassP.h:141: error: ‘XtInitProc’ does not name a type
/usr/include/Xm/BaseClassP.h:142: error: ‘XtSetValuesFunc’ does not name a type
/usr/include/Xm/BaseClassP.h:148: error: ‘XtPointer’ does not name a type
/usr/include/Xm/BaseClassP.h:149: error: ‘XrmQuark’ does not name a type
/usr/include/Xm/BaseClassP.h:151: error: ‘Cardinal’ does not name a type
/usr/include/Xm/BaseClassP.h:152: error: ‘XtInitProc’ does not name a type
/usr/include/Xm/BaseClassP.h:153: error: ‘XtSetValuesFunc’ does not name a type
/usr/include/Xm/BaseClassP.h:154: error: ‘XtInitProc’ does not name a type
/usr/include/Xm/BaseClassP.h:155: error: ‘XtSetValuesFunc’ does not name a type
/usr/include/Xm/BaseClassP.h:156: error: ‘WidgetClass’ does not name a type
/usr/include/Xm/BaseClassP.h:157: error: ‘XtInitProc’ does not name a type
/usr/include/Xm/BaseClassP.h:158: error: ‘XmGetSecResDataFunc’ does not name a type
/usr/include/Xm/BaseClassP.h:160: error: ‘XtArgsProc’ does not name a type
/usr/include/Xm/BaseClassP.h:161: error: ‘XtArgsProc’ does not name a type
/usr/include/Xm/BaseClassP.h:162: error: ‘XtWidgetClassProc’ does not name a type
/usr/include/Xm/BaseClassP.h:163: error: ‘XtWidgetClassProc’ does not name a type
/usr/include/Xm/BaseClassP.h:164: error: ‘XtResourceList’ does not name a type
/usr/include/Xm/BaseClassP.h:165: error: ‘XtResourceList’ does not name a type
/usr/include/Xm/BaseClassP.h:166: error: ‘Cardinal’ does not name a type
/usr/include/Xm/BaseClassP.h:167: error: ‘Boolean’ does not name a type
/usr/include/Xm/BaseClassP.h:168: error: ‘XmWidgetNavigableProc’ does not name a type
/usr/include/Xm/BaseClassP.h:169: error: ‘XmFocusChangeProc’ does not name a type
/usr/include/Xm/BaseClassP.h:175: error: ‘Widget’ does not name a type
/usr/include/Xm/BaseClassP.h:176: error: ‘Widget’ does not name a type
/usr/include/Xm/BaseClassP.h:177: error: ‘Widget’ does not name a type
/usr/include/Xm/BaseClassP.h:180: error: ‘externalref’ does not name a type
/usr/include/Xm/BaseClassP.h:181: error: expected constructor, destructor, or type conversion before ‘int’
/usr/include/Xm/BaseClassP.h:182: error: ‘externalref’ does not name a type
/usr/include/Xm/BaseClassP.h:189: error: ‘XrmQuark’ has not been declared
/usr/include/Xm/BaseClassP.h:190: error: ‘Boolean’ does not name a type
In file included from /usr/include/Xm/PrimitiveP.h:50,
                 from /usr/include/Xm/IconButtonP.h:17,
                 from include/motifmm.h:29,
                 from Application.cpp:1:
/usr/include/Xm/XmP.h:1426: error: variable or field ‘_XmDestroyParentCallback’ declared void
/usr/include/Xm/XmP.h:1426: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/XmP.h:1427: error: ‘XtPointer’ was not declared in this scope
/usr/include/Xm/XmP.h:1428: error: ‘XtPointer’ was not declared in this scope
In file included from /usr/include/Xm/IconButtonP.h:17,
                 from include/motifmm.h:29,
                 from Application.cpp:1:
/usr/include/Xm/PrimitiveP.h:73: error: ‘XtPointer’ does not name a type
/usr/include/Xm/PrimitiveP.h:74: error: ‘XrmQuark’ does not name a type
/usr/include/Xm/PrimitiveP.h:76: error: ‘Cardinal’ does not name a type
/usr/include/Xm/PrimitiveP.h:77: error: ‘XmWidgetBaselineProc’ does not name a type
/usr/include/Xm/PrimitiveP.h:78: error: ‘XmWidgetDisplayRectProc’ does not name a type
/usr/include/Xm/PrimitiveP.h:79: error: ‘XmWidgetMarginsProc’ does not name a type
/usr/include/Xm/PrimitiveP.h:84: error: ‘XtWidgetProc’ does not name a type
/usr/include/Xm/PrimitiveP.h:85: error: ‘XtWidgetProc’ does not name a type
/usr/include/Xm/PrimitiveP.h:86: error: ‘String’ does not name a type
/usr/include/Xm/PrimitiveP.h:87: error: ‘XtActionProc’ does not name a type
/usr/include/Xm/PrimitiveP.h:90: error: ‘XtPointer’ does not name a type
/usr/include/Xm/PrimitiveP.h:95: error: ‘CoreClassPart’ does not name a type
/usr/include/Xm/PrimitiveP.h:99: error: ‘externalref’ does not name a type
/usr/include/Xm/PrimitiveP.h:106: error: ‘Pixel’ does not name a type
/usr/include/Xm/PrimitiveP.h:108: error: ‘Dimension’ does not name a type
/usr/include/Xm/PrimitiveP.h:109: error: ‘Pixel’ does not name a type
/usr/include/Xm/PrimitiveP.h:110: error: ‘Pixmap’ does not name a type
/usr/include/Xm/PrimitiveP.h:111: error: ‘Pixel’ does not name a type
/usr/include/Xm/PrimitiveP.h:112: error: ‘Pixmap’ does not name a type
/usr/include/Xm/PrimitiveP.h:114: error: ‘Dimension’ does not name a type
/usr/include/Xm/PrimitiveP.h:115: error: ‘Pixel’ does not name a type
/usr/include/Xm/PrimitiveP.h:116: error: ‘Pixmap’ does not name a type
/usr/include/Xm/PrimitiveP.h:118: error: ‘XtCallbackList’ does not name a type
/usr/include/Xm/PrimitiveP.h:119: error: ‘XtPointer’ does not name a type
/usr/include/Xm/PrimitiveP.h:121: error: ‘Boolean’ does not name a type
/usr/include/Xm/PrimitiveP.h:122: error: ‘Boolean’ does not name a type
/usr/include/Xm/PrimitiveP.h:123: error: ‘Boolean’ does not name a type
/usr/include/Xm/PrimitiveP.h:128: error: ‘Boolean’ does not name a type
/usr/include/Xm/PrimitiveP.h:129: error: ‘Boolean’ does not name a type
/usr/include/Xm/PrimitiveP.h:131: error: ‘GC’ does not name a type
/usr/include/Xm/PrimitiveP.h:132: error: ‘GC’ does not name a type
/usr/include/Xm/PrimitiveP.h:133: error: ‘GC’ does not name a type
/usr/include/Xm/PrimitiveP.h:139: error: ‘XtCallbackList’ does not name a type
/usr/include/Xm/PrimitiveP.h:140: error: ‘XtCallbackList’ does not name a type
/usr/include/Xm/PrimitiveP.h:159: error: ‘CorePart’ does not name a type
In file included from include/motifmm.h:29,
                 from Application.cpp:1:
/usr/include/Xm/IconButtonP.h:40: error: ‘XtPointer’ does not name a type
/usr/include/Xm/IconButtonP.h:44: error: ‘CoreClassPart’ does not name a type
/usr/include/Xm/IconButtonP.h:52: error: ‘String’ does not name a type
/usr/include/Xm/IconButtonP.h:53: error: ‘Pixmap’ does not name a type
/usr/include/Xm/IconButtonP.h:54: error: ‘Pixel’ does not name a type
/usr/include/Xm/IconButtonP.h:57: error: ‘Boolean’ does not name a type
/usr/include/Xm/IconButtonP.h:58: error: ‘Boolean’ does not name a type
/usr/include/Xm/IconButtonP.h:59: error: ‘Boolean’ does not name a type
/usr/include/Xm/IconButtonP.h:61: error: ‘Dimension’ does not name a type
/usr/include/Xm/IconButtonP.h:62: error: ‘Dimension’ does not name a type
/usr/include/Xm/IconButtonP.h:64: error: ‘Dimension’ does not name a type
/usr/include/Xm/IconButtonP.h:66: error: ‘XtCallbackList’ does not name a type
/usr/include/Xm/IconButtonP.h:67: error: ‘XtCallbackList’ does not name a type
/usr/include/Xm/IconButtonP.h:79: error: ‘Position’ does not name a type
/usr/include/Xm/IconButtonP.h:82: error: ‘Dimension’ does not name a type
/usr/include/Xm/IconButtonP.h:83: error: ‘Dimension’ does not name a type
/usr/include/Xm/IconButtonP.h:86: error: ‘Position’ does not name a type
/usr/include/Xm/IconButtonP.h:87: error: ‘Dimension’ does not name a type
/usr/include/Xm/IconButtonP.h:88: error: ‘Dimension’ does not name a type
/usr/include/Xm/IconButtonP.h:90: error: ‘XtIntervalId’ does not name a type
/usr/include/Xm/IconButtonP.h:91: error: ‘GC’ does not name a type
/usr/include/Xm/IconButtonP.h:92: error: ‘GC’ does not name a type
/usr/include/Xm/IconButtonP.h:93: error: ‘GC’ does not name a type
/usr/include/Xm/IconButtonP.h:96: error: ‘GC’ does not name a type
/usr/include/Xm/IconButtonP.h:97: error: ‘GC’ does not name a type
/usr/include/Xm/IconButtonP.h:98: error: ‘GC’ does not name a type
/usr/include/Xm/IconButtonP.h:99: error: ‘GC’ does not name a type
/usr/include/Xm/IconButtonP.h:101: error: ‘Time’ does not name a type
/usr/include/Xm/IconButtonP.h:103: error: ‘Boolean’ does not name a type
/usr/include/Xm/IconButtonP.h:104: error: ‘Boolean’ does not name a type
/usr/include/Xm/IconButtonP.h:106: error: ‘GC’ does not name a type
/usr/include/Xm/IconButtonP.h:154: error: ‘CorePart’ does not name a type
/usr/include/Xm/IconButtonP.h:176: error: variable or field ‘_XmPrimitiveEnter’ declared void
/usr/include/Xm/IconButtonP.h:176: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/IconButtonP.h:177: error: ‘XEvent’ was not declared in this scope
/usr/include/Xm/IconButtonP.h:177: error: ‘event’ was not declared in this scope
/usr/include/Xm/IconButtonP.h:178: error: ‘String’ was not declared in this scope
/usr/include/Xm/IconButtonP.h:178: error: ‘params’ was not declared in this scope
/usr/include/Xm/IconButtonP.h:179: error: ‘Cardinal’ was not declared in this scope
/usr/include/Xm/IconButtonP.h:179: error: ‘num_params’ was not declared in this scope
/usr/include/Xm/IconButtonP.h:181: error: variable or field ‘_XmPrimitiveLeave’ declared void
/usr/include/Xm/IconButtonP.h:181: error: ‘Widget’ was not declared in this scope
/usr/include/Xm/IconButtonP.h:182: error: ‘XEvent’ was not declared in this scope
/usr/include/Xm/IconButtonP.h:182: error: ‘event’ was not declared in this scope
/usr/include/Xm/IconButtonP.h:183: error: ‘String’ was not declared in this scope
/usr/include/Xm/IconButtonP.h:183: error: ‘params’ was not declared in this scope
/usr/include/Xm/IconButtonP.h:184: error: ‘Cardinal’ was not declared in this scope
/usr/include/Xm/IconButtonP.h:184: error: ‘num_params’ was not declared in this scope
In file included from include/motifmm.h:34,
                 from Application.cpp:1:
include/motifmm/Application.h:13: error: ‘XtAppContext’ does not name a type
include/motifmm/Application.h:14: error: ‘Widget’ does not name a type
include/motifmm/Application.h:16: error: ISO C++ forbids declaration of ‘Display’ with no type
include/motifmm/Application.h:16: error: expected ‘;’ before ‘*’ token
include/motifmm/Application.h:23: error: ‘XtAppContext’ does not name a type
include/motifmm/Application.h:24: error: ‘Widget’ does not name a type
include/motifmm/Application.h:26: error: ISO C++ forbids declaration of ‘Display’ with no type
include/motifmm/Application.h:26: error: expected ‘;’ before ‘*’ token
In file included from include/motifmm.h:35,
                 from Application.cpp:1:
include/motifmm/Color.h:12: error: ‘Pixel’ does not name a type
include/motifmm/Color.h:16: error: expected ‘)’ before ‘pixel’
include/motifmm/Color.h:19: error: ‘Pixel’ does not name a type
In file included from include/motifmm.h:38,
                 from Application.cpp:1:
include/motifmm/Component.h:47: error: ‘Widget’ does not name a type
include/motifmm/Component.h:81: error: ‘XPoint’ has not been declared
include/motifmm/Component.h:81: error: ‘XPoint’ has not been declared
include/motifmm/Component.h:96: error: ‘Pixel’ has not been declared
include/motifmm/Component.h:97: error: ‘Pixel’ has not been declared
include/motifmm/Component.h:98: error: ‘Pixel’ has not been declared
include/motifmm/Component.h:99: error: ‘Pixel’ has not been declared
include/motifmm/Component.h:100: error: ‘Pixel’ has not been declared
include/motifmm/Component.h:101: error: ‘Pixel’ has not been declared
include/motifmm/Component.h:102: error: ‘Pixel’ has not been declared
include/motifmm/Component.h:103: error: ‘Pixel’ does not name a type
include/motifmm/Component.h:104: error: ‘Pixel’ does not name a type
include/motifmm/Component.h:105: error: ‘Pixel’ does not name a type
include/motifmm/Component.h:106: error: ‘Pixel’ does not name a type
include/motifmm/Component.h:107: error: ‘Pixel’ does not name a type
include/motifmm/Component.h:108: error: ‘Pixel’ does not name a type
include/motifmm/Component.h:114: error: ‘Widget’ does not name a type
In file included from include/motifmm.h:39,
                 from Application.cpp:1:
include/motifmm/Container.h:50: error: ‘Widget’ has not been declared
include/motifmm/Container.h:50: error: ‘XtPointer’ has not been declared
include/motifmm/Container.h:50: error: ‘XtPointer’ has not been declared
include/motifmm/Container.h:51: error: ‘Widget’ has not been declared
include/motifmm/Container.h:51: error: ‘XtPointer’ has not been declared
include/motifmm/Container.h:51: error: ‘XEvent’ has not been declared
include/motifmm/Container.h:51: error: ‘Boolean’ has not been declared
include/motifmm/Container.h:53: error: ‘Atom’ does not name a type
In file included from include/motifmm.h:44,
                 from Application.cpp:1:
include/motifmm/Button.h:15: error: ‘Widget’ has not been declared
include/motifmm/Button.h:15: error: ‘XtPointer’ has not been declared
include/motifmm/Button.h:15: error: ‘XtPointer’ has not been declared
include/motifmm/Button.h:16: error: ‘Widget’ has not been declared
include/motifmm/Button.h:16: error: ‘XtPointer’ has not been declared
include/motifmm/Button.h:16: error: ‘XtPointer’ has not been declared
include/motifmm/Button.h:17: error: ‘Widget’ has not been declared
include/motifmm/Button.h:17: error: ‘XtPointer’ has not been declared
include/motifmm/Button.h:17: error: ‘XtPointer’ has not been declared
In file included from include/motifmm.h:46,
                 from Application.cpp:1:
include/motifmm/Text.h:14: error: ‘Widget’ has not been declared
include/motifmm/Text.h:14: error: ‘XtPointer’ has not been declared
include/motifmm/Text.h:14: error: ‘XtPointer’ has not been declared
In file included from include/motifmm.h:48,
                 from Application.cpp:1:
include/motifmm/Password.h:14: error: ‘Widget’ has not been declared
include/motifmm/Password.h:14: error: ‘XtPointer’ has not been declared
include/motifmm/Password.h:14: error: ‘XtPointer’ has not been declared
include/motifmm/Password.h:15: error: ‘Widget’ has not been declared
include/motifmm/Password.h:15: error: ‘XtPointer’ has not been declared
include/motifmm/Password.h:15: error: ‘XtPointer’ has not been declared
In file included from include/motifmm.h:50,
                 from Application.cpp:1:
include/motifmm/PulldownMenu.h:14: error: ‘Widget’ does not name a type
include/motifmm/PulldownMenu.h:21: error: ‘Widget’ does not name a type
In file included from include/motifmm.h:51,
                 from Application.cpp:1:
include/motifmm/ToggleButton.h:15: error: ‘Widget’ has not been declared
include/motifmm/ToggleButton.h:15: error: ‘XtPointer’ has not been declared
include/motifmm/ToggleButton.h:15: error: ‘XtPointer’ has not been declared
include/motifmm/ToggleButton.h:16: error: ‘Widget’ has not been declared
include/motifmm/ToggleButton.h:16: error: ‘XtPointer’ has not been declared
include/motifmm/ToggleButton.h:16: error: ‘XtPointer’ has not been declared
include/motifmm/ToggleButton.h:17: error: ‘Widget’ has not been declared
include/motifmm/ToggleButton.h:17: error: ‘XtPointer’ has not been declared
include/motifmm/ToggleButton.h:17: error: ‘XtPointer’ has not been declared
In file included from include/motifmm.h:52,
                 from Application.cpp:1:
include/motifmm/Custom.h:12: error: ‘GC’ does not name a type
include/motifmm/Custom.h:15: error: ‘Widget’ has not been declared
include/motifmm/Custom.h:15: error: ‘XtPointer’ has not been declared
include/motifmm/Custom.h:15: error: ‘XtPointer’ has not been declared
include/motifmm/Custom.h:16: error: ‘Widget’ has not been declared
include/motifmm/Custom.h:16: error: ‘XtPointer’ has not been declared
include/motifmm/Custom.h:16: error: ‘XEvent’ has not been declared
include/motifmm/Custom.h:16: error: ‘Boolean’ has not been declared
include/motifmm/Custom.h:17: error: ‘Widget’ has not been declared
include/motifmm/Custom.h:17: error: ‘XtPointer’ has not been declared
include/motifmm/Custom.h:17: error: ‘XEvent’ has not been declared
include/motifmm/Custom.h:17: error: ‘Boolean’ has not been declared
include/motifmm/Custom.h:18: error: ‘Widget’ has not been declared
include/motifmm/Custom.h:18: error: ‘XtPointer’ has not been declared
include/motifmm/Custom.h:18: error: ‘XEvent’ has not been declared
include/motifmm/Custom.h:18: error: ‘Boolean’ has not been declared
include/motifmm/Custom.h:23: error: ‘Widget’ has not been declared
include/motifmm/Custom.h:23: error: ‘XtPointer’ has not been declared
include/motifmm/Custom.h:23: error: ‘XtPointer’ has not been declared
include/motifmm/Custom.h:24: error: ‘Widget’ has not been declared
include/motifmm/Custom.h:24: error: ‘XtPointer’ has not been declared
include/motifmm/Custom.h:24: error: ‘XEvent’ has not been declared
include/motifmm/Custom.h:25: error: ‘Widget’ has not been declared
include/motifmm/Custom.h:25: error: ‘XtPointer’ has not been declared
include/motifmm/Custom.h:25: error: ‘XEvent’ has not been declared
include/motifmm/Custom.h:26: error: ‘Widget’ has not been declared
include/motifmm/Custom.h:26: error: ‘XtPointer’ has not been declared
include/motifmm/Custom.h:26: error: ‘XEvent’ has not been declared
In file included from include/motifmm.h:53,
                 from Application.cpp:1:
include/motifmm/IconButton.h:15: error: ‘Widget’ has not been declared
include/motifmm/IconButton.h:15: error: ‘XtPointer’ has not been declared
include/motifmm/IconButton.h:15: error: ‘XtPointer’ has not been declared
include/motifmm/IconButton.h:16: error: ‘Widget’ has not been declared
include/motifmm/IconButton.h:16: error: ‘XtPointer’ has not been declared
include/motifmm/IconButton.h:16: error: ‘XtPointer’ has not been declared
include/motifmm/IconButton.h:17: error: ‘Widget’ has not been declared
include/motifmm/IconButton.h:17: error: ‘XtPointer’ has not been declared
include/motifmm/IconButton.h:17: error: ‘XtPointer’ has not been declared
In file included from include/motifmm.h:54,
                 from Application.cpp:1:
include/motifmm/Timer.h:28: error: ‘XtPointer’ has not been declared
include/motifmm/Timer.h:28: error: ‘XtIntervalId’ has not been declared
Application.cpp:7: error: ‘XtAppContext’ does not name a type
Application.cpp:8: error: ‘Widget’ does not name a type
Application.cpp:10: error: expected constructor, destructor, or type conversion before ‘*’ token
Application.cpp: In static member function ‘static void Motif::Application::initialize(std::string, int, char**)’:
Application.cpp:15: error: ‘String’ was not declared in this scope
Application.cpp:15: error: expected ‘;’ before ‘fallbacks’
Application.cpp:16: error: ‘XtToolkitInitialize’ was not declared in this scope
Application.cpp:17: error: ‘context’ was not declared in this scope
Application.cpp:17: error: ‘XtCreateApplicationContext’ was not declared in this scope
Application.cpp:21: error: ‘fallbacks’ was not declared in this scope
Application.cpp:24: error: ‘fallbacks’ was not declared in this scope
Application.cpp:26: error: ‘XtAppSetFallbackResources’ was not declared in this scope
Application.cpp:29: error: ‘display’ was not declared in this scope
Application.cpp:29: error: ‘XtOpenDisplay’ was not declared in this scope
Application.cpp:38: error: ‘widget’ was not declared in this scope
Application.cpp:38: error: ‘applicationShellWidgetClass’ was not declared in this scope
Application.cpp:38: error: ‘getDisplay’ is not a member of ‘Motif::Application’
Application.cpp:38: error: ‘XtAppCreateShell’ was not declared in this scope
Application.cpp: In static member function ‘static void Motif::Application::run()’:
Application.cpp:49: error: ‘context’ was not declared in this scope
Application.cpp:49: error: ‘XtAppMainLoop’ was not declared in this scope
Application.cpp: At global scope:
Application.cpp:52: error: ‘XtAppContext’ does not name a type
Application.cpp:62: error: ‘Widget’ does not name a type
Application.cpp:82: error: expected constructor, destructor, or type conversion before ‘*’ token
Application.cpp:107: error: expected ‘}’ at end of input
make[2]: *** [Application.o] Error 1
make[2]: Leaving directory `/home/martin/Downloads/opencde/src/libmotifmm'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/martin/Downloads/opencde/src'
make: *** [all] Error 2
As you can see there are a lot of errors.

Any help would be great

Thanks