Problems compiling a 3 line Motif program!!!

Ken Lee klee at wsl.dec.com
Tue Jun 4 02:02:41 AEST 1991


In article <1991Jun3.124344.4245 at mlb.semi.harris.com>, dcb at dave.mis.semi.harris.com (Dave Brillhart) writes:
|> ccom: Error: /usr/lib/DXM/lib/Xm/Xm.h, line 2017: syntax error
|>       typedef XtPointer (*XmResourceBaseProc)();
|>       -------------------^

This is a common problem for people compiling programs on systems
supporting multiple versions of the X Toolkit.  On DECstations, the Xt
include files in /usr/include/X11 are for the XUI intrinsics.  The
Motif intrinsics (X11R4) include files are in /usr/lib/DXM/lib/Xt/X11
(DXV instead of DXM for VAXes), so you should put a
-I/usr/lib/DXM/lib/Xt in your Makefile.

-- 
Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee at wsl.dec.com
uucp: uunet!decwrl!klee



More information about the Comp.unix.ultrix mailing list