Path: utzoo!attcan!uunet!decwrl!apple!mips!smsc.sony.com!dce From: dce@smsc.sony.com (David Elliott) Newsgroups: comp.windows.x Subject: Re: dependancy errors Message-ID: <1990Jun30.030539.6939@smsc.sony.com> Date: 30 Jun 90 03:05:39 GMT References: <9006291531.AA28791@vuse.vanderbilt.edu> Reply-To: dce@Sony.COM (David Elliott) Organization: Sony Microsystems Corp. Lines: 32 In article <9006291531.AA28791@vuse.vanderbilt.edu> drl@VUSE.VANDERBILT.EDU (David R. Linn) writes: >Mistaken jump in logic. It doesn't say you don't have libXaw.o; >it says you don't have a file named "-lXaw". Someone has >overloaded the $(LIBS) macro for use in both compilation/linking >and in dependencies. While that's possible, it's as likely (and maybe more so) that the Imakefile in question is written using LOCAL_LIBRARIES and worked under R3. In R4, there is a new macro called DEPLIBS, which is set to $(LOCAL_LIBRARIES) by default, unless you are running shared libraries on a Sun. As Guy Harris once pointed out, it probably shouldn't be set to anything by default, and there may be an official MIT patch changing this, but I couldn't find it (Guy? Bob?). I know I changed it in mine and it works fine. The easiest fix is to define DEPLIBS as being empty, but it might be more correct to define it like LOCAL_LIBRARIES, with "DEP" prepended to each library name, as in DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB) or, better still, DEPLIBS = XawClientDepLibs (Note: I did try to mail this answer to the original poster, but it bounced somewhere down the line. Rassin' frassin' network frassin'...) -- David Elliott dce@smsc.sony.com | ...!{uunet,mips}!sonyusa!dce (408)944-4073 "If I had a hat the size of Oklahoma, I'd be a happy person."