On my Linux machine 0.92.0 compiled perfectly all the way to the end.
On my UnixWare 2.1.2 machine, though, it bombs while compiling mwm.
This happens when I point configure to use the UnixWare X11R5 headers
or the X11R6.3 headers. It successfully compiles a bunch of files, then
fails at mwm.c:
-------------------------------
gcc -DHAVE_CONFIG_H -I. -I. -I../../../include -I../../../include/Motif-1.2
-I../../../include/Motif-1.2 -I/usr/X11R6/include
-DMWM_DDIR=\"/usr/local/lib/X11/mwm\" -DXLIB_PATH=\"/usr/X11R6/lib\"
-DXINCL_PATH=\"/usr/X11R6/include\" -O2 -I/usr/X11R6/include -c mwm.c
In file included from /usr/X11R6/include/X11/Xproto.h:78,
from mwm.c:77:
/usr/X11R6/include/X11/Xprotostr.h:56: conflicting types for `gethostname'
/usr/local/lib/gcc-lib/i386-pc-sysv4.2uw2.1.2/2.95.2/include/unistd.h:154: previous
declaration of `gethostname'
/usr/X11R6/include/X11/Xprotostr.h: In function `gethostname':
/usr/X11R6/include/X11/Xprotostr.h:58: warning: structure defined inside parms
/usr/X11R6/include/X11/Xprotostr.h:58: storage class specified for parameter `xSegment'
/usr/X11R6/include/X11/Xprotostr.h:64: warning: structure defined inside parms
/usr/X11R6/include/X11/Xprotostr.h:64: storage class specified for parameter `xPoint'
/usr/X11R6/include/X11/Xprotostr.h:69: warning: structure defined inside parms
/usr/X11R6/include/X11/Xprotostr.h:69: storage class specified for parameter
`xRectangle'
/usr/X11R6/include/X11/Xprotostr.h:77: warning: structure defined inside parms
/usr/X11R6/include/X11/Xprotostr.h:77: storage class specified for parameter `xArc'
In file included from mwm.c:77:
/usr/X11R6/include/X11/Xproto.h:264: storage class specified for parameter `KeyButMask'
/usr/X11R6/include/X11/Xproto.h:278: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:278: storage class specified for parameter
`xConnClientPrefix'
/usr/X11R6/include/X11/Xproto.h:286: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:286: storage class specified for parameter
`xConnSetupPrefix'
/usr/X11R6/include/X11/Xproto.h:304: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:304: storage class specified for parameter `xConnSetup'
/usr/X11R6/include/X11/Xproto.h:312: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:312: storage class specified for parameter
`xPixmapFormat'
/usr/X11R6/include/X11/Xproto.h:321: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:321: storage class specified for parameter `xDepth'
/usr/X11R6/include/X11/Xproto.h:334: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:334: storage class specified for parameter
`xVisualType'
/usr/X11R6/include/X11/Xproto.h:349: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:349: storage class specified for parameter
`xWindowRoot'
/usr/X11R6/include/X11/Xproto.h:362: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:362: storage class specified for parameter `xTimecoord'
/usr/X11R6/include/X11/Xproto.h:368: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:368: storage class specified for parameter `xHostEntry'
/usr/X11R6/include/X11/Xproto.h:377: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:377: storage class specified for parameter `xCharInfo'
/usr/X11R6/include/X11/Xproto.h:382: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:382: storage class specified for parameter `xFontProp'
/usr/X11R6/include/X11/Xproto.h:391: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:391: storage class specified for parameter `xTextElt'
/usr/X11R6/include/X11/Xproto.h:399: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:399: storage class specified for parameter `xColorItem'
/usr/X11R6/include/X11/Xproto.h:404: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:404: storage class specified for parameter `xrgb'
/usr/X11R6/include/X11/Xproto.h:406: storage class specified for parameter `KEYCODE'
/usr/X11R6/include/X11/Xproto.h:428: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:428: storage class specified for parameter
`xGenericReply'
/usr/X11R6/include/X11/Xproto.h:456: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:456: storage class specified for parameter
`xGetWindowAttributesReply'
/usr/X11R6/include/X11/Xproto.h:470: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:470: storage class specified for parameter
`xGetGeometryReply'
/usr/X11R6/include/X11/Xproto.h:483: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:483: storage class specified for parameter
`xQueryTreeReply'
/usr/X11R6/include/X11/Xproto.h:496: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:496: storage class specified for parameter
`xInternAtomReply'
/usr/X11R6/include/X11/Xproto.h:510: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:510: storage class specified for parameter
`xGetAtomNameReply'
/usr/X11R6/include/X11/Xproto.h:523: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:523: storage class specified for parameter
`xGetPropertyReply'
/usr/X11R6/include/X11/Xproto.h:537: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:537: storage class specified for parameter
`xListPropertiesReply'
/usr/X11R6/include/X11/Xproto.h:550: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:550: storage class specified for parameter
`xGetSelectionOwnerReply'
/usr/X11R6/include/X11/Xproto.h:563: warning: structure defined inside parms
/usr/X11R6/include/X11/Xproto.h:563: storage class specified for parameter
`xGrabPointerReply'
/usr/X11R6/include/X11/Xproto.h:565: storage class specified for parameter
`xGrabPointerReply'
/usr/X11R6/include/X11/Xproto.h:565: conflicting types for `xGrabPointerReply'
/usr/X11R6/include/X11/Xproto.h:563: previous declaration of `xGrabPointerReply'
/usr/X11R6/include/X11/Xproto.h:565: parse error before `xGrabKeyboardReply'
/usr/X11R6/include/X11/Xprotostr.h:56: parm types given both in parmlist and separately
/usr/X11R6/include/X11/Xproto.h: At top level:
/usr/X11R6/include/X11/Xproto.h:577: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:632: parse error before `xCharInfo'
/usr/X11R6/include/X11/Xproto.h:632: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xproto.h:636: parse error before `maxBounds'
/usr/X11R6/include/X11/Xproto.h:636: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:648: parse error before `}'
/usr/X11R6/include/X11/Xproto.h:648: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:681: parse error before `xCharInfo'
/usr/X11R6/include/X11/Xproto.h:681: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xproto.h:685: parse error before `maxBounds'
/usr/X11R6/include/X11/Xproto.h:685: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:697: parse error before `}'
/usr/X11R6/include/X11/Xproto.h:697: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1008: parse error before `KeyButMask'
/usr/X11R6/include/X11/Xproto.h:1008: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xproto.h:1008: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xproto.h:1017: parse error before `KeyButMask'
/usr/X11R6/include/X11/Xproto.h:1017: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xproto.h:1022: parse error before `}'
/usr/X11R6/include/X11/Xproto.h:1022: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1213: parse error before `}'
/usr/X11R6/include/X11/Xproto.h:1213: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1214: parse error before `}'
/usr/X11R6/include/X11/Xproto.h:1214: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1233: parse error before `xGenericReply'
/usr/X11R6/include/X11/Xproto.h:1233: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xproto.h:1234: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1235: parse error before `tree'
/usr/X11R6/include/X11/Xproto.h:1235: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1236: parse error before `atom'
/usr/X11R6/include/X11/Xproto.h:1236: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1237: parse error before `atomName'
/usr/X11R6/include/X11/Xproto.h:1237: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1238: parse error before `property'
/usr/X11R6/include/X11/Xproto.h:1238: conflicting types for `property'
/usr/X11R6/include/X11/Xproto.h:1144: previous declaration of `property'
/usr/X11R6/include/X11/Xproto.h:1238: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1239: parse error before `listProperties'
/usr/X11R6/include/X11/Xproto.h:1239: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1240: parse error before `selection'
/usr/X11R6/include/X11/Xproto.h:1240: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1241: parse error before `grabPointer'
/usr/X11R6/include/X11/Xproto.h:1241: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1242: parse error before `grabKeyboard'
/usr/X11R6/include/X11/Xproto.h:1242: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1243: parse error before `pointer'
/usr/X11R6/include/X11/Xproto.h:1243: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1270: parse error before `event'
/usr/X11R6/include/X11/Xproto.h:1270: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1271: warning: data definition has no type or storage
class
/usr/X11R6/include/X11/Xproto.h:1427: parse error before `xEvent'
/usr/X11R6/include/X11/Xproto.h:1427: warning: no semicolon at end of struct or union
/usr/X11R6/include/X11/Xproto.h:1429: warning: data definition has no type or storage
class
gmake[3]: *** [mwm.o] Error 1
gmake[3]: Leaving directory
`/mnt/bazooka/home/ti/src/X11/lesstif-0.92.0.uw2/clients/Motif-1.2/mwm'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/mnt/bazooka/home/ti/src/X11/lesstif-0.92.0.uw2/clients/Motif-1.2'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/mnt/bazooka/home/ti/src/X11/lesstif-0.92.0.uw2/clients'
gmake: *** [all-recursive] Error 1
-------------------------------
Somehow I think this is a local problem, but looking at the offending
header files I can't see anything glaringly wrong... Xproto.h and Xprotostr.c
are used elsewhere in the compile and it doesn't seem to fail?
-Ti (author of xmcd, xmmix)
--
/// Ti Kan Vorsprung durch Technik
/// AMB Research Laboratories, Sunnyvale, CA. USA
/// [EMAIL PROTECTED]
////// http://www.ibiblio.org/tkan/
///