From: "Andrej Borsenkow" <Andrej.Borsenkow@mow.siemens.ru>
To: <cygwin@cygwin.com>, <jjarvie@newsguy.com>
Subject: RE: autoconf error with /dev/ptmx
Date: Fri, 20 Jul 2001 06:49:00 -0000 [thread overview]
Message-ID: <001b01c11122$caf998c0$21c9ca95@mow.siemens.ru> (raw)
In-Reply-To: <013d01c11121$24cd1ea0$806410ac@local>
>
> > I've got a strange problem compiling stunnel-3.15
> >
> > configure calls the following checks:
> >
> > AC_CHECK_FILE("/dev/ptmx", AC_DEFINE_UNQUOTED(HAVE_DEV_PTMX))
> > AC_CHECK_FILE("/dev/ptc", AC_DEFINE_UNQUOTED(HAVE_DEV_PTS_AND_PTC))
> >
> > The first check succeeds(!) and the second fails.
>
> That's because cygwin has a virtual /dev/ptmx and no /dev/ptc. You are
> getting the correct results.
>
Yes, the check breaks on cygwin. May be, replacing it with AC_TRY_RUN a
pogram that contains
open("/dev/ptmx", O_RDWR)
would be a better idea (and it will have the same implication on cross
compiling).
> > ls -al /dev gives:
> >
> > total 0
> > srwxrwxrwx 1 Administ None 15 Jun 19 2000 log
> > crw-rw-rw- 1 Everyone Everyone 19, 0 Jul 20 2001 null
>
Somebody has created them but cygwin does not use these files.
-andrej
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
next prev parent reply other threads:[~2001-07-20 6:49 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-07-20 6:32 jjarvie
2001-07-20 6:34 ` Robert Collins
2001-07-20 6:49 ` Andrej Borsenkow [this message]
2001-07-20 6:43 ` Corinna Vinschen
2001-07-20 7:00 jjarvie
2001-07-20 7:21 ` Andrej Borsenkow
2001-07-20 7:25 ` Corinna Vinschen
2001-07-20 7:34 John Jarvie
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='001b01c11122$caf998c0$21c9ca95@mow.siemens.ru' \
--to=andrej.borsenkow@mow.siemens.ru \
--cc=cygwin@cygwin.com \
--cc=jjarvie@newsguy.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).