Xref: utzoo comp.windows.x.motif:3183 comp.windows.x:37124 comp.unix.ultrix:7470 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!decwrl!pa.dec.com!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x.motif,comp.windows.x,comp.unix.ultrix Subject: Re: Problems compiling a 3 line Motif program!!! Keywords: Motif, Ultrix Message-ID: <1991Jun3.090241@wsl.dec.com> Date: 3 Jun 91 16:02:41 GMT References: <1991Jun3.124344.4245@mlb.semi.harris.com> Sender: news@pa.dec.com (News) Reply-To: klee@wsl.dec.com Organization: DEC Western Software Laboratory Lines: 17 In article <1991Jun3.124344.4245@mlb.semi.harris.com>, dcb@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@wsl.dec.com uucp: uunet!decwrl!klee