This is the mail archive of the firstname.lastname@example.org
mailing list for the Cygwin project. See the Cygwin
home page for more information.
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]
Re: compiling file 3.26
- To: Corinna Vinschen <email@example.com>
- Subject: Re: compiling file 3.26
- From: John Zheng <Yien@usa.net>
- Date: Sun, 7 Mar 1999 14:35:27 -0500 (EST)
- cc: firstname.lastname@example.org
- Delivered-To: email@example.com
- Delivered-To: mailing list firstname.lastname@example.org
- In-Reply-To: <36E29663.7B7D74A8@cityweb.de>
- Mailing-List: contact email@example.com; run by ezmlm
- Sender: firstname.lastname@example.org
Adding the line
to the file file.h did the trick. It also worked, and may be more "correct,"
to add the line to the files file.c, fsmagic.c, and compress.c. Perhaps the
need to make one of these changes should be documented at
Also, do you know if there is a version of gnu tar for win32 that supports
writing to remote unix tape devices that run rmt? I would like to be able
to do something like
tar -cf tapeserver.domain.com:/dev/rst0 c:\
and have tar write to my tape drive residing on the machine tapeserver.
Thanks again for your help.
On Sun, 7 Mar 1999, Corinna Vinschen wrote:
> John Zheng wrote:
> > Corinna,
> > I downloaded file-3.26.tar.gz from ftp.astron.com, and tried to compile it.
> > Near the end of compilation, I get the error:
> > [...]
> > /a/cygnus/file-3.26/file.c:202: undefined reference to `errno'
> > [...]
> > Do you know what the problem is? errno appears to be defined as:
> > extern int errno; /* Some unixes don't define this.. */
> The `extern' declaration of errno must be substituted with
> #include <errno.h>
> Cygwin defines errno not as a global variable, but as a
> #define to a function call. This is needed, because it
> wouldn't be reentrant else.
Want to unsubscribe from this list?
Send a message to email@example.com