/usr/include/string.h:44: error: parse error before '(' toke

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
/usr/include/string.h:44: error: parse error before '(' toke

Submitted by Riaz on Tue, 06/15/2004 - 06:22. General Questions
Can anyone help me?.
I want to install openmotif-2.2.3 on solaris 7 machine using gcc-3.3.2 .
I get this error
/usr/include/string.h:44: error: parse error before '(' toke.
I am pasting log file.

Making all in bindings
Making all in bitmaps
Making all in config
Making all in cf
Making all in imake
Making all in makedepend
Making all in util
Making all in localized
Making all in util
Making all in lib
Making all in Xm
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/X11R6/lib/X11/bindings\" -DINCDIR=\"/usr/X11R6/include/X11\" -DLIBDIR=\"/usr/X11R6/lib/X11\" -I/usr/openwin/include -g -O2 -Wall -Wno-unused -Wno-comment -c TextOut.c
rm -f .libs/TextOut.lo
gcc -DHAVE_CONFIG_H -I. -I. -I../../include -I.. -I./.. -DXMBINDDIR_FALLBACK=\"/usr/X11R6/lib/X11/bindings\" -DINCDIR=\"/usr/X11R6/include/X11\" -DLIBDIR=\"/usr/X11R6/lib/X11\" -I/usr/openwin/include -g -O2 -Wall -Wno-unused -Wno-comment -c TextOut.c -fPIC -DPIC -o .libs/TextOut.lo
In file included from /usr/openwin/include/X11/Intrinsic.h:51,
from ../Xm/Xm.h:56,
from ../Xm/XmP.h:57,
from ../Xm/XmosP.h:167,
from TextOut.c:60:
/usr/openwin/include/X11/Xlib.h:2058: warning: type defaults to `int' in declaration of `XSetTransientForHint'
/usr/openwin/include/X11/Xlib.h:2066: warning: type defaults to `int' in declaration of `XActivateScreenSaver'
/usr/openwin/include/X11/Xlib.h:2073: warning: type defaults to `int' in declaration of `XAddHost'
/usr/openwin/include/X11/Xlib.h:2081: warning: type defaults to `int' in declaration of `XAddHosts'
/usr/openwin/include/X11/Xlib.h:2088: warning: type defaults to `int' in declaration of `XAddToExtensionList'
/usr/openwin/include/X11/Xlib.h:2095: warning: type defaults to `int' in declaration of `XAddToSaveSet'
/usr/openwin/include/X11/Xlib.h:2149: warning: type defaults to `int' in declaration of `XAllowEvents'
/usr/openwin/include/X11/Xlib.h:2155: warning: type defaults to `int' in declaration of `XAutoRepeatOff'
/usr/openwin/include/X11/Xlib.h:2161: warning: type defaults to `int' in declaration of `XAutoRepeatOn'
/usr/openwin/include/X11/Xlib.h:2168: warning: type defaults to `int' in declaration of `XBell'
/usr/openwin/include/X11/Xlib.h:2201: warning: type defaults to `int' in declaration of `XChangeActivePointerGrab'
/usr/openwin/include/X11/Xlib.h:2210: warning: type defaults to `int' in declaration of `XChangeGC'
/usr/openwin/include/X11/Xlib.h:2218: warning: type defaults to `int' in declaration of `XChangeKeyboardControl'
/usr/openwin/include/X11/Xlib.h:2228: warning: type defaults to `int' in declaration of `XChangeKeyboardMapping'
/usr/openwin/include/X11/Xlib.h:2239: warning: type defaults to `int' in declaration of `XChangePointerControl'
/usr/openwin/include/X11/Xlib.h:2252: warning: type defaults to `int' in declaration of `XChangeProperty'
/usr/openwin/include/X11/Xlib.h:2260: warning: type defaults to `int' in declaration of `XChangeSaveSet'
/usr/openwin/include/X11/Xlib.h:2269: warning: type defaults to `int' in declaration of `XChangeWindowAttributes'
/usr/openwin/include/X11/Xlib.h:2326: warning: type defaults to `int' in declaration of `XCirculateSubwindows'
/usr/openwin/include/X11/Xlib.h:2333: warning: type defaults to `int' in declaration of `XCirculateSubwindowsDown'
/usr/openwin/include/X11/Xlib.h:2340: warning: type defaults to `int' in declaration of `XCirculateSubwindowsUp'
/usr/openwin/include/X11/Xlib.h:2352: warning: type defaults to `int' in declaration of `XClearArea'
/usr/openwin/include/X11/Xlib.h:2359: warning: type defaults to `int' in declaration of `XClearWindow'
/usr/openwin/include/X11/Xlib.h:2365: warning: type defaults to `int' in declaration of `XCloseDisplay'
/usr/openwin/include/X11/Xlib.h:2374: warning: type defaults to `int' in declaration of `XConfigureWindow'
/usr/openwin/include/X11/Xlib.h:2391: warning: type defaults to `int' in declaration of `XConvertSelection'
/usr/openwin/include/X11/Xlib.h:2406: warning: type defaults to `int' in declaration of `XCopyArea'
/usr/openwin/include/X11/Xlib.h:2415: warning: type defaults to `int' in declaration of `XCopyGC'
/usr/openwin/include/X11/Xlib.h:2431: warning: type defaults to `int' in declaration of `XCopyPlane'
/usr/openwin/include/X11/Xlib.h:2458: warning: type defaults to `int' in declaration of `XDefineCursor'
/usr/openwin/include/X11/Xlib.h:2466: warning: type defaults to `int' in declaration of `XDeleteProperty'
/usr/openwin/include/X11/Xlib.h:2473: warning: type defaults to `int' in declaration of `XDestroyWindow'
/usr/openwin/include/X11/Xlib.h:2480: warning: type defaults to `int' in declaration of `XDestroySubwindows'
/usr/openwin/include/X11/Xlib.h:2498: warning: type defaults to `int' in declaration of `XDisableAccessControl'
/usr/openwin/include/X11/Xlib.h:2528: warning: type defaults to `int' in declaration of `XDisplayKeycodes'
/usr/openwin/include/X11/Xlib.h:2563: warning: type defaults to `int' in declaration of `XDrawArc'
/usr/openwin/include/X11/Xlib.h:2573: warning: type defaults to `int' in declaration of `XDrawArcs'
/usr/openwin/include/X11/Xlib.h:2585: warning: type defaults to `int' in declaration of `XDrawImageString'
/usr/openwin/include/X11/Xlib.h:2597: warning: type defaults to `int' in declaration of `XDrawImageString16'
/usr/openwin/include/X11/Xlib.h:2609: warning: type defaults to `int' in declaration of `XDrawLine'
/usr/openwin/include/X11/Xlib.h:2620: warning: type defaults to `int' in declaration of `XDrawLines'
/usr/openwin/include/X11/Xlib.h:2630: warning: type defaults to `int' in declaration of `XDrawPoint'
/usr/openwin/include/X11/Xlib.h:2641: warning: type defaults to `int' in declaration of `XDrawPoints'
/usr/openwin/include/X11/Xlib.h:2653: warning: type defaults to `int' in declaration of `XDrawRectangle'
/usr/openwin/include/X11/Xlib.h:2663: warning: type defaults to `int' in declaration of `XDrawRectangles'
/usr/openwin/include/X11/Xlib.h:2673: warning: type defaults to `int' in declaration of `XDrawSegments'
/usr/openwin/include/X11/Xlib.h:2685: warning: type defaults to `int' in declaration of `XDrawString'
/usr/openwin/include/X11/Xlib.h:2697: warning: type defaults to `int' in declaration of `XDrawString16'
/usr/openwin/include/X11/Xlib.h:2709: warning: type defaults to `int' in declaration of `XDrawText'
/usr/openwin/include/X11/Xlib.h:2721: warning: type defaults to `int' in declaration of `XDrawText16'
/usr/openwin/include/X11/Xlib.h:2727: warning: type defaults to `int' in declaration of `XEnableAccessControl'
/usr/openwin/include/X11/Xlib.h:2756: warning: type defaults to `int' in declaration of `XFillArc'
/usr/openwin/include/X11/Xlib.h:2766: warning: type defaults to `int' in declaration of `XFillArcs'
/usr/openwin/include/X11/Xlib.h:2778: warning: type defaults to `int' in declaration of `XFillPolygon'
/usr/openwin/include/X11/Xlib.h:2790: warning: type defaults to `int' in declaration of `XFillRectangle'
/usr/openwin/include/X11/Xlib.h:2800: warning: type defaults to `int' in declaration of `XFillRectangles'
/usr/openwin/include/X11/Xlib.h:2806: warning: type defaults to `int' in declaration of `XFlush'
/usr/openwin/include/X11/Xlib.h:2813: warning: type defaults to `int' in declaration of `XForceScreenSaver'
/usr/openwin/include/X11/Xlib.h:2819: warning: type defaults to `int' in declaration of `XFree'
/usr/openwin/include/X11/Xlib.h:2826: warning: type defaults to `int' in declaration of `XFreeColormap'
/usr/openwin/include/X11/Xlib.h:2836: warning: type defaults to `int' in declaration of `XFreeColors'
/usr/openwin/include/X11/Xlib.h:2843: warning: type defaults to `int' in declaration of `XFreeCursor'
/usr/openwin/include/X11/Xlib.h:2849: warning: type defaults to `int' in declaration of `XFreeExtensionList'
/usr/openwin/include/X11/Xlib.h:2856: warning: type defaults to `int' in declaration of `XFreeFont'
/usr/openwin/include/X11/Xlib.h:2864: warning: type defaults to `int' in declaration of `XFreeFontInfo'
/usr/openwin/include/X11/Xlib.h:2870: warning: type defaults to `int' in declaration of `XFreeFontNames'
/usr/openwin/include/X11/Xlib.h:2876: warning: type defaults to `int' in declaration of `XFreeFontPath'
/usr/openwin/include/X11/Xlib.h:2883: warning: type defaults to `int' in declaration of `XFreeGC'
/usr/openwin/include/X11/Xlib.h:2889: warning: type defaults to `int' in declaration of `XFreeModifiermap'
/usr/openwin/include/X11/Xlib.h:2896: warning: type defaults to `int' in declaration of `XFreePixmap'
/usr/openwin/include/X11/Xlib.h:2925: warning: type defaults to `int' in declaration of `XGetErrorDatabaseText'
/usr/openwin/include/X11/Xlib.h:2934: warning: type defaults to `int' in declaration of `XGetErrorText'
/usr/openwin/include/X11/Xlib.h:2981: warning: type defaults to `int' in declaration of `XGetInputFocus'
/usr/openwin/include/X11/Xlib.h:2988: warning: type defaults to `int' in declaration of `XGetKeyboardControl'
/usr/openwin/include/X11/Xlib.h:2997: warning: type defaults to `int' in declaration of `XGetPointerControl'
/usr/openwin/include/X11/Xlib.h:3015: warning: type defaults to `int' in declaration of `XGetScreenSaver'
/usr/openwin/include/X11/Xlib.h:3063: warning: type defaults to `int' in declaration of `XGrabButton'
/usr/openwin/include/X11/Xlib.h:3075: warning: type defaults to `int' in declaration of `XGrabKey'
/usr/openwin/include/X11/Xlib.h:3106: warning: type defaults to `int' in declaration of `XGrabServer'
/usr/openwin/include/X11/Xlib.h:3133: warning: type defaults to `int' in declaration of `XIfEvent'
/usr/openwin/include/X11/Xlib.h:3146: warning: type defaults to `int' in declaration of `XInstallColormap'
/usr/openwin/include/X11/Xlib.h:3160: warning: type defaults to `int' in declaration of `XKillClient'
/usr/openwin/include/X11/Xlib.h:3177: warning: type defaults to `int' in declaration of `XLowerWindow'
/usr/openwin/include/X11/Xlib.h:3184: warning: type defaults to `int' in declaration of `XMapRaised'
/usr/openwin/include/X11/Xlib.h:3191: warning: type defaults to `int' in declaration of `XMapSubwindows'
/usr/openwin/include/X11/Xlib.h:3198: warning: type defaults to `int' in declaration of `XMapWindow'
/usr/openwin/include/X11/Xlib.h:3206: warning: type defaults to `int' in declaration of `XMaskEvent'
/usr/openwin/include/X11/Xlib.h:3229: warning: type defaults to `int' in declaration of `XMoveResizeWindow'
/usr/openwin/include/X11/Xlib.h:3238: warning: type defaults to `int' in declaration of `XMoveWindow'
/usr/openwin/include/X11/Xlib.h:3245: warning: type defaults to `int' in declaration of `XNextEvent'
/usr/openwin/include/X11/Xlib.h:3251: warning: type defaults to `int' in declaration of `XNoOp'
/usr/openwin/include/X11/Xlib.h:3277: warning: type defaults to `int' in declaration of `XPeekEvent'
/usr/openwin/include/X11/Xlib.h:3292: warning: type defaults to `int' in declaration of `XPeekIfEvent'
/usr/openwin/include/X11/Xlib.h:3325: warning: type defaults to `int' in declaration of `XPutBackEvent'
/usr/openwin/include/X11/Xlib.h:3340: warning: type defaults to `int' in declaration of `XPutImage'
/usr/openwin/include/X11/Xlib.h:3399: warning: type defaults to `int' in declaration of `XQueryColor'
/usr/openwin/include/X11/Xlib.h:3408: warning: type defaults to `int' in declaration of `XQueryColors'
/usr/openwin/include/X11/Xlib.h:3425: warning: type defaults to `int' in declaration of `XQueryKeymap'
/usr/openwin/include/X11/Xlib.h:3452: warning: type defaults to `int' in declaration of `XQueryTextExtents'
/usr/openwin/include/X11/Xlib.h:3465: warning: type defaults to `int' in declaration of `XQueryTextExtents16'
/usr/openwin/include/X11/Xlib.h:3483: warning: type defaults to `int' in declaration of `XRaiseWindow'
/usr/openwin/include/X11/Xlib.h:3518: warning: type defaults to `int' in declaration of `XRebindKeysym'
/usr/openwin/include/X11/Xlib.h:3527: warning: type defaults to `int' in declaration of `XRecolorCursor'
/usr/openwin/include/X11/Xlib.h:3533: warning: type defaults to `int' in declaration of `XRefreshKeyboardMapping'
/usr/openwin/include/X11/Xlib.h:3540: warning: type defaults to `int' in declaration of `XRemoveFromSaveSet'
/usr/openwin/include/X11/Xlib.h:3547: warning: type defaults to `int' in declaration of `XRemoveHost'
/usr/openwin/include/X11/Xlib.h:3555: warning: type defaults to `int' in declaration of `XRemoveHosts'
/usr/openwin/include/X11/Xlib.h:3565: warning: type defaults to `int' in declaration of `XReparentWindow'
/usr/openwin/include/X11/Xlib.h:3571: warning: type defaults to `int' in declaration of `XResetScreenSaver'
/usr/openwin/include/X11/Xlib.h:3580: warning: type defaults to `int' in declaration of `XResizeWindow'
/usr/openwin/include/X11/Xlib.h:3588: warning: type defaults to `int' in declaration of `XRestackWindows'
/usr/openwin/include/X11/Xlib.h:3595: warning: type defaults to `int' in declaration of `XRotateBuffers'
/usr/openwin/include/X11/Xlib.h:3605: warning: type defaults to `int' in declaration of `XRotateWindowProperties'
/usr/openwin/include/X11/Xlib.h:3619: warning: type defaults to `int' in declaration of `XSelectInput'
/usr/openwin/include/X11/Xlib.h:3636: warning: type defaults to `int' in declaration of `XSetAccessControl'
/usr/openwin/include/X11/Xlib.h:3644: warning: type defaults to `int' in declaration of `XSetArcMode'
/usr/openwin/include/X11/Xlib.h:3652: warning: type defaults to `int' in declaration of `XSetBackground'
/usr/openwin/include/X11/Xlib.h:3660: warning: type defaults to `int' in declaration of `XSetClipMask'
/usr/openwin/include/X11/Xlib.h:3669: warning: type defaults to `int' in declaration of `XSetClipOrigin'
/usr/openwin/include/X11/Xlib.h:3681: warning: type defaults to `int' in declaration of `XSetClipRectangles'
/usr/openwin/include/X11/Xlib.h:3688: warning: type defaults to `int' in declaration of `XSetCloseDownMode'
/usr/openwin/include/X11/Xlib.h:3697: warning: type defaults to `int' in declaration of `XSetCommand'
/usr/openwin/include/X11/Xlib.h:3707: warning: type defaults to `int' in declaration of `XSetDashes'
/usr/openwin/include/X11/Xlib.h:3715: warning: type defaults to `int' in declaration of `XSetFillRule'
/usr/openwin/include/X11/Xlib.h:3723: warning: type defaults to `int' in declaration of `XSetFillStyle'
/usr/openwin/include/X11/Xlib.h:3731: warning: type defaults to `int' in declaration of `XSetFont'
/usr/openwin/include/X11/Xlib.h:3739: warning: type defaults to `int' in declaration of `XSetFontPath'
/usr/openwin/include/X11/Xlib.h:3747: warning: type defaults to `int' in declaration of `XSetForeground'
/usr/openwin/include/X11/Xlib.h:3755: warning: type defaults to `int' in declaration of `XSetFunction'
/usr/openwin/include/X11/Xlib.h:3763: warning: type defaults to `int' in declaration of `XSetGraphicsExposures'
/usr/openwin/include/X11/Xlib.h:3771: warning: type defaults to `int' in declaration of `XSetIconName'
/usr/openwin/include/X11/Xlib.h:3780: warning: type defaults to `int' in declaration of `XSetInputFocus'
/usr/openwin/include/X11/Xlib.h:3791: warning: type defaults to `int' in declaration of `XSetLineAttributes'
/usr/openwin/include/X11/Xlib.h:3806: warning: type defaults to `int' in declaration of `XSetPlaneMask'
/usr/openwin/include/X11/Xlib.h:3824: warning: type defaults to `int' in declaration of `XSetScreenSaver'
/usr/openwin/include/X11/Xlib.h:3833: warning: type defaults to `int' in declaration of `XSetSelectionOwner'
/usr/openwin/include/X11/Xlib.h:3844: warning: type defaults to `int' in declaration of `XSetState'
/usr/openwin/include/X11/Xlib.h:3852: warning: type defaults to `int' in declaration of `XSetStipple'
/usr/openwin/include/X11/Xlib.h:3860: warning: type defaults to `int' in declaration of `XSetSubwindowMode'
/usr/openwin/include/X11/Xlib.h:3869: warning: type defaults to `int' in declaration of `XSetTSOrigin'
/usr/openwin/include/X11/Xlib.h:3877: warning: type defaults to `int' in declaration of `XSetTile'
/usr/openwin/include/X11/Xlib.h:3885: warning: type defaults to `int' in declaration of `XSetWindowBackground'
/usr/openwin/include/X11/Xlib.h:3893: warning: type defaults to `int' in declaration of `XSetWindowBackgroundPixmap'
/usr/openwin/include/X11/Xlib.h:3901: warning: type defaults to `int' in declaration of `XSetWindowBorder'
/usr/openwin/include/X11/Xlib.h:3909: warning: type defaults to `int' in declaration of `XSetWindowBorderPixmap'
/usr/openwin/include/X11/Xlib.h:3917: warning: type defaults to `int' in declaration of `XSetWindowBorderWidth'
/usr/openwin/include/X11/Xlib.h:3925: warning: type defaults to `int' in declaration of `XSetWindowColormap'
/usr/openwin/include/X11/Xlib.h:3934: warning: type defaults to `int' in declaration of `XStoreBuffer'
/usr/openwin/include/X11/Xlib.h:3942: warning: type defaults to `int' in declaration of `XStoreBytes'
/usr/openwin/include/X11/Xlib.h:3950: warning: type defaults to `int' in declaration of `XStoreColor'
/usr/openwin/include/X11/Xlib.h:3959: warning: type defaults to `int' in declaration of `XStoreColors'
/usr/openwin/include/X11/Xlib.h:3967: warning: type defaults to `int' in declaration of `XStoreName'
/usr/openwin/include/X11/Xlib.h:3977: warning: type defaults to `int' in declaration of `XStoreNamedColor'
/usr/openwin/include/X11/Xlib.h:3984: warning: type defaults to `int' in declaration of `XSync'
/usr/openwin/include/X11/Xlib.h:3996: warning: type defaults to `int' in declaration of `XTextExtents'
/usr/openwin/include/X11/Xlib.h:4008: warning: type defaults to `int' in declaration of `XTextExtents16'
/usr/openwin/include/X11/Xlib.h:4044: warning: type defaults to `int' in declaration of `XUndefineCursor'
/usr/openwin/include/X11/Xlib.h:4053: warning: type defaults to `int' in declaration of `XUngrabButton'
/usr/openwin/include/X11/Xlib.h:4062: warning: type defaults to `int' in declaration of `XUngrabKey'
/usr/openwin/include/X11/Xlib.h:4069: warning: type defaults to `int' in declaration of `XUngrabKeyboard'
/usr/openwin/include/X11/Xlib.h:4076: warning: type defaults to `int' in declaration of `XUngrabPointer'
/usr/openwin/include/X11/Xlib.h:4082: warning: type defaults to `int' in declaration of `XUngrabServer'
/usr/openwin/include/X11/Xlib.h:4089: warning: type defaults to `int' in declaration of `XUninstallColormap'
/usr/openwin/include/X11/Xlib.h:4096: warning: type defaults to `int' in declaration of `XUnloadFont'
/usr/openwin/include/X11/Xlib.h:4103: warning: type defaults to `int' in declaration of `XUnmapSubwindows'
/usr/openwin/include/X11/Xlib.h:4110: warning: type defaults to `int' in declaration of `XUnmapWindow'
/usr/openwin/include/X11/Xlib.h:4130: warning: type defaults to `int' in declaration of `XWarpPointer'
/usr/openwin/include/X11/Xlib.h:4151: warning: type defaults to `int' in declaration of `XWindowEvent'
In file included from /usr/openwin/include/X11/Intrinsic.h:52,
from ../Xm/Xm.h:56,
from ../Xm/XmP.h:57,
from ../Xm/XmosP.h:167,
from TextOut.c:60:
/usr/openwin/include/X11/Xutil.h:358: warning: type defaults to `int' in declaration of `XClipBox'
/usr/openwin/include/X11/Xutil.h:384: warning: type defaults to `int' in declaration of `XDestroyRegion'
/usr/openwin/include/X11/Xutil.h:390: warning: type defaults to `int' in declaration of `XEmptyRegion'
/usr/openwin/include/X11/Xutil.h:397: warning: type defaults to `int' in declaration of `XEqualRegion'
/usr/openwin/include/X11/Xutil.h:543: warning: type defaults to `int' in declaration of `XIntersectRegion'
/usr/openwin/include/X11/Xutil.h:579: warning: type defaults to `int' in declaration of `XOffsetRegion'
/usr/openwin/include/X11/Xutil.h:622: warning: type defaults to `int' in declaration of `XSetClassHint'
/usr/openwin/include/X11/Xutil.h:631: warning: type defaults to `int' in declaration of `XSetIconSizes'
/usr/openwin/include/X11/Xutil.h:639: warning: type defaults to `int' in declaration of `XSetNormalHints'
/usr/openwin/include/X11/Xutil.h:658: warning: type defaults to `int' in declaration of `XSetSizeHints'
/usr/openwin/include/X11/Xutil.h:671: warning: type defaults to `int' in declaration of `XSetStandardProperties'
/usr/openwin/include/X11/Xutil.h:696: warning: type defaults to `int' in declaration of `XSetWMHints'
/usr/openwin/include/X11/Xutil.h:765: warning: type defaults to `int' in declaration of `XSetRegion'
/usr/openwin/include/X11/Xutil.h:782: warning: type defaults to `int' in declaration of `XSetZoomHints'
/usr/openwin/include/X11/Xutil.h:790: warning: type defaults to `int' in declaration of `XShrinkRegion'
/usr/openwin/include/X11/Xutil.h:806: warning: type defaults to `int' in declaration of `XSubtractRegion'
/usr/openwin/include/X11/Xutil.h:866: warning: type defaults to `int' in declaration of `XUnionRectWithRegion'
/usr/openwin/include/X11/Xutil.h:874: warning: type defaults to `int' in declaration of `XUnionRegion'
/usr/openwin/include/X11/Xutil.h:898: warning: type defaults to `int' in declaration of `XXorRegion'
In file included from /usr/openwin/include/X11/Intrinsic.h:60,
from ../Xm/Xm.h:56,
from ../Xm/XmP.h:57,
from ../Xm/XmosP.h:167,
from TextOut.c:60:
/usr/include/string.h:44: error: parse error before '(' token
/usr/include/string.h:44: error: `bcopy' declared as function returning a function
/usr/include/string.h:44: error: conflicting types for `bcopy'
../Xm/Xmfuncs.h:58: error: previous declaration of `bcopy'
/usr/include/string.h:44: error: parse error before "char"
In file included from /usr/openwin/include/X11/SM/SMlib.h:33,
from /usr/openwin/include/X11/Shell.h:49,
from ../Xm/Xm.h:57,
from ../Xm/XmP.h:57,
from ../Xm/XmosP.h:167,
from TextOut.c:60:
/usr/openwin/include/X11/ICE/ICElib.h:422: warning: type defaults to `int' in declaration of `IceFlush'
TextOut.c: In function `_XmTextFreeContextData':
TextOut.c:438: warning: dereferencing type-punned pointer will break strict-aliasing rules
*** Error code 1
make: Fatal error: Command failed for target `TextOut.lo'
Current working directory /mnt/suhail/openMotif-2.2.3/lib/Xm
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /mnt/suhail/openMotif-2.2.3/lib
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

*****

Riaz

mpierre

Hi Riaz,

I've seen this as well with other apps. You probably have a clashing environment. I've seen problems with the standard headers in Solaris with the headers used by gcc. Can't remember if string.h is included in the gcc release or not. Check your gcc installation location.

Hope this helps.

/Magnus
PS/ You aren't really supposed to compile OpenMotif on Solaris since it is a violation of the license agreement with OpenGroup. :roll: