From: John Zheng <Yien@usa.net>
To: Corinna Vinschen <corinna.vinschen@cityweb.de>
Cc: cygwin@sourceware.cygnus.com
Subject: Re: compiling file 3.26
Date: Sun, 07 Mar 1999 11:35:00 -0000 [thread overview]
Message-ID: <Pine.GSU.4.05.9903071424470.25268-100000@viking.cris.com> (raw)
In-Reply-To: < 36E29663.7B7D74A8@cityweb.de >
Ah yes,
Adding the line
#include <errno.h>
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
http://aquarius.franken.de/docs/develop/gnuwin32/GNUWin32.txt ?
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.
John
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.
>
> Regards,
> Corinna
>
>
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
WARNING: multiple messages have this Message-ID
From: John Zheng <Yien@usa.net>
To: Corinna Vinschen <corinna.vinschen@cityweb.de>
Cc: cygwin@sourceware.cygnus.com
Subject: Re: compiling file 3.26
Date: Wed, 31 Mar 1999 19:45:00 -0000 [thread overview]
Message-ID: <Pine.GSU.4.05.9903071424470.25268-100000@viking.cris.com> (raw)
Message-ID: <19990331194500.u3XJS9p_66uhUbuF8SHMvPKCUDmqn2lIMIBqmQMXcWE@z> (raw)
In-Reply-To: <36E29663.7B7D74A8@cityweb.de>
Ah yes,
Adding the line
#include <errno.h>
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
http://aquarius.franken.de/docs/develop/gnuwin32/GNUWin32.txt ?
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.
John
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.
>
> Regards,
> Corinna
>
>
>
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
next prev parent reply other threads:[~1999-03-07 11:35 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <Pine.GSU.4.05.9903070052510.15188-100000@viking.cris.com>
1999-03-07 8:37 ` Corinna Vinschen
[not found] ` < 36E29663.7B7D74A8@cityweb.de >
1999-03-07 11:35 ` John Zheng [this message]
1999-03-07 11:42 ` Corinna Vinschen
1999-03-07 11:48 ` Corinna Vinschen
[not found] ` < 36E2D7B7.CB124407@cityweb.de >
1999-03-07 13:37 ` John Zheng
1999-03-07 13:45 ` Corinna Vinschen
1999-03-31 19:45 ` Corinna Vinschen
1999-03-31 19:45 ` John Zheng
1999-03-31 19:45 ` Corinna Vinschen
1999-03-31 19:45 ` Corinna Vinschen
1999-03-31 19:45 ` John Zheng
1999-03-31 19:45 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.GSU.4.05.9903071424470.25268-100000@viking.cris.com \
--to=yien@usa.net \
--cc=corinna.vinschen@cityweb.de \
--cc=cygwin@sourceware.cygnus.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).