Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!caen!sol.ctr.columbia.edu!cunixf.cc.columbia.edu!cs.columbia.edu!rmf From: rmf@cs.columbia.edu (Robert M. Fuhrer) Newsgroups: comp.windows.x.motif Subject: WCL 1.05 compilation [Was Re: UIL examples] Message-ID: Date: 5 Mar 91 23:03:13 GMT References: <4825@goanna.cs.rmit.oz.au> <1209@attc.UUCP> Sender: news@cs.columbia.edu (The Daily News) Organization: Columbia University Department of Computer Science Lines: 29 In-Reply-To: marbru@attc.UUCP's message of 2 Mar 91 19:18:23 GMT When trying to compile (on an RS/6000), first, make Makefiles doesn't simply make the Makefiles. It actually ends up compiling the source in subdirectory Wc (I don't think this should happen). The Makefile in fact never gets created in the subdirectory [in fact, this results in the original Makefile being removed :-(]. Second, compilation fails on the first file (WcCallb.c) for the following reason. WcCallb.c #include's X11/Intrinsic.h, which in turn #defines the XtIsShell macro. This macro refers to a variable named shellWidget which doesn't exist. Noticing that X11/IntrinsicP.h contained a reasonable-looking definition for XtIsShell, I patched WcCallb.c to include it instead. This fixed the problem, but I'm fairly sure this wasn't the right thing to do. Next, WcConvert.c had a problem, again with an undefined variable, named XtRWidget. This didn't seem to be defined anywhere that I could easily find. At this point, I gave up, suspecting problems larger than I have time to deal with. So what's going on? -- -------------------------- Robert M. Fuhrer Computer Science Department Columbia University 1117B Fairchild Building Internet: rmf@cs.columbia.edu UUCP: ...!rutgers!cs.columbia.edu!rmf