Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!rws From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler) Newsgroups: comp.windows.x Subject: Re: can't make libXt.a Message-ID: <9001051243.AA03269@expire.lcs.mit.edu> Date: 5 Jan 90 12:43:43 GMT References: <9001050017.AA09335@garnet.berkeley.edu> Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 27 make: Fatal error: Don't know how to make target `stdarg.h' You should have gotten an earlier complaint from makedepend about not finding stdarg.h. Why it didn't find stdarg.h: My guess is that your gcc include files are in a different place than makedepend expects. makedepend tries to find them in /usr/local/lib/gcc-include If yours are in a different place, go edit line 197 of util/makedepend/main.c. (Yes, we know this should be configurable; it got fixed too late in the cycle.) Rebuild makedepend, try running "make depend" in the lib/Xt directory again, and see if it stops complaining. Why it even tried to find stdarg.h: Support for using multiple compilers is imperfect. (You're using cc for the libraries, to make them shareable, and gcc for the rest.) makedepend inherits its attributes from whatever compiler is used to build it; in this case, gcc. Those attributes are then applied when building all dependencies, even for directories that will be using a different compiler. gcc defines __STDC__, which means dependencies (e.g. the varargs stuff in Xt) will get done differently than for cc. Normally this shouldn't be a problem, since typically only system include files are involved, and they rarely change.