Mail Archives: cygwin/2001/02/19/16:18:37
Sagar, you cannot just copy header files from platform to platform. They are an extract of the functions in biraries in the system.
Cygwin's sys/acct.h is missing _because it doesn't have those functions_. The correct solution is to find out what functions are
being used that are defined in acct.h, and then find portable replacements for them that are present on cygwin.
Also are you building the finger client or the finger daemon?
And finally the error you get is probably useful information :]
FAQ Fodder: I think this "I copied x header file" has come up several times recently - I'm too lazy to check the FAQ myself though
:/
Rob
----- Original Message -----
From: "Sagar R. Shah" <Sagar DOT Shah AT sid DOT cam DOT ac DOT uk>
To: <cygwin AT sources DOT redhat DOT com>
Sent: Tuesday, February 20, 2001 5:41 AM
Subject: Re: Compiling Finger
> On Mon, 19 Feb 2001, Larry Hall (RFK Partners, Inc) wrote:
> > >I'm trying to compile finger-1.37 using the sources from gnu.org
> > >
> > >However when I run make it complains about not being able to find sys/acct.h
> > >(which is required by os.c)
> > >
> > >I checked /usr/include/sys and it certainly isn't there.
> > >
> > >Has this been accidentatlly ommitted? Or do i need to go somewhere else to
> > >get it?
> >
> > It doesn't appear to be "accidentally omitted". Guess you'll need to port
> > your own, unless you find the required structures in other include files...
>
> hmmm.
> I found copies of sys/acct.h from various *BSD distributions, and although I
> get a bit further compiling finger, it fell over in other places, I fixed a
> couple, but eventually gave up.
>
> Has anyone managed to get finger to compile under cygwin?
>
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
>
>
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -