Path: utzoo!dciem!dretor.dciem.dnd.ca From: gee@dretor.dciem.dnd.ca (Thomas Gee) Newsgroups: comp.unix.aux Subject: Re: include file syntax errors? Message-ID: <3665@dciem.dciem.dnd.ca> Date: 18 Oct 90 13:23:24 GMT References: <22427@fs2.NISC.SRI.COM> Sender: gee@dciem.dciem.dnd.ca Distribution: na Organization: Defence and Civil Institute of Environmental Medicine Lines: 27 In article <22427@fs2.NISC.SRI.COM> cwilson@NISC.SRI.COM (Chan Wilson [Animal]) writes: > >I'm trying to port some fairly tame programs we've developed here, and >keep running into a include file syntax errors! It is not terribly unusual (although it can be terribly frustrating) for include files to have dependencies on other include files. In the particular case you gave (utmp.h), you must include before including the utmp library. BTW: I did a "man utmp", which brought up the getut(3C) man page, which gives this information. >Chan Wilson Chief Hard-Question Answer Person >SRI Intl. Network Information Systems Center >333 Ravenswood Ave., EJ287 Internet: cwilson@nisc.sri.com >Menlo Park, CA., 94025 Phone: (415)859-4492 > "If I want to be a surfer this month, I bloody well will be." Tom. ------------------------------------------------------------------------------- Thomas Gee | Aerospace Group | a man in search of a quote DCIEM, DND | Canada | gee@dretor.dciem.dnd.ca -------------------------------------------------------------------------------