This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: autoconf error with /dev/ptmx



----- Original Message -----
From: <jjarvie@newsguy.com>
To: <cygwin@cygwin.com>
Sent: Friday, July 20, 2001 11:32 PM
Subject: autoconf error with /dev/ptmx


> 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.

> 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

This is irrelevant :-/. Sorry.

Rob

> To fix this all I have to do is delete the HAVE_DEV_PTMX define in
Makefile
> but I would like to know what is going on.
>
> Thanks for any ideas
>
> John Jarvie
>
>
> --
> 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/
>
>


--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]