> 
> GrassHoppers:
> 
>      While trying to gmake4.1beta xgrass on my DEC 5000/200, I keep getting
> messages like this:
...
> ccom: Error: /usr/include/X11/Xm/Xm.h, line 2111: syntax error
>       typedef XtPointer (*XmResourceBaseProc)();
>       -------------------^
...
>     Does anybody know what I'm doing wrong?  Has anyone made xgrass on a
> DEC 5000?
...
> William W. Hargrove              (615) 574-1902
> hnw@mtqgrass.esd.ornl.gov        (615) 576-8646 (fax)
> 
> 
The culprit here is how you are identifying the various X library and
include paths.  The standard Xt (ie toolkit) stuff is modified a bit
to work with motif, so if you use Xm you have to use the revised Xt.
Unfortunately, the utils/setup procedure will often find the standard
Xt automatically, and then ask you for the location of Xm.  The
implication of this is that you need to edit the head/dec file
manually, and set the appropriate paths.  

If you have the DEC-issue motif libraries and includes, this is
generally in a directory called /usr/lib/DXM.  You can then specify
the appropriate paths as follows (extracted from head/dec):

XCFLAGS             = -D_NO_PROTO
XLDFLAGS            =
XEXTRALIBS          =
XINCPATH            = -I/usr/lib/DXM/lib/Xt
XMINCPATH           = -I/usr/lib/DXM/lib
XLIBPATH            = -L/usr/lib
XTLIBPATH           = -L/usr/lib/DXM/lib/Xt
XMLIBPATH           = -L/usr/lib/DXM/lib/Xm

If you have an alternate motif setup, just make sure that XINCPATH and
XTLIBPATH point to the motif versions.

Also, check today's grass-u mail for a message from Amit about strdup,
which doesn't exist under Ultrix - you'll need the revised strings
code off the moon.

Good luck!  Thanks to Jim Farley at Arkansas and Kurt Buehler at CERL
for helping to figure all this out.

-kenn
+------------------------------------------------------------------------------+
| Kenn Gardels                Tel +01 (510) 642-9205   Fax +01 (510) 643-5571  |
| CEDR - 390 Wurster Hall     Internet  gardels@ced.berkeley.edu               |
| University of California    Bitnet    gardels@UCBCED                         |
| Berkeley, CA  94720                                                          |
+------------------------------------------------------------------------------+

