If you are compiling on Linux, you may need to remove all references
to getopt.o in the makefile.  Sorry for the inconvenience.

========================================================================

Date: Thu, 17 Apr 2003 20:41:52 +0200 (CEST)
From: Inga Vendelin <inga@egoist.ioc.ee>
To: Gary PERLMAN <perlman@turing.acm.org>
Subject: Re: |stat

Thank you very much for your kind reply and software. The only problem
which I had compiling the program was in file src/calc.c. This was fixed
by (diff calc.c calc.c_old):

82c82
new < FILE  *Outfile; // = stdout;
---
old > FILE  *Outfile = stdout;
224d223
new <       Outfile = stdout;

My platform:

Debian Testing/Unstable, Linux 2.4.20, gcc 2.95.4

kind regards,

Inga Vendelin

========================================================================

Date: Thu, 6 Mar 2003 18:35:36 -0600
From: Prahlad Gupta <prahlad-gupta@uiowa.edu>
To: Gary PERLMAN <perlman@turing.acm.org>
Subject: Re: |STAT download request


Hi --

At 15:20 hrs on Thursday March 6 2003 Gary PERLMAN <perlman@turing.acm.org> wrote:
 > I'm sorry but I do not have time to help.
 > Maybe there is a mailing list or a newsgroup you could ask.
 > 
 > Gary


I understand.  I did manage to figure it out, though!  And it compiled
fine and the programs seem to work.

-- Prahlad


In case you're interested: 

compilation problem with original source code on darwin was as follows:

-- stat.h defines the macro "const"
-- const is then used frequently by several c programs
-- this is a reserved word, conflicts with a definition in /usr/include/sys/cdefs.h
-- so, compilation of every stat program that uses const barfs
-- presumably it was not a reserved word when unixstat code was written


solution:

1. change the macro to "darwinconst" in stat.h
2. change all uses of "const" to "darwinconst" in all the *.c files

