Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Date: Fri, 20 Jul 2001 06:58:57 -0700 (PDT) Message-Id: <200107201358.GAA14347@newsguy.com> X-Mailer: Direct Read Email by Newsguy News Service To: cygwin AT cygwin DOT com From: jjarvie AT newsguy DOT com Subject: RE: autoconf error with /dev/ptmx Robert, Corinna , Andrej Thanks for the replies which explain what's going on. If I leave the PTMX define in the compile fails on if (ioctl(*ttyfd, I_PUSH, "ptem") < 0) sockerror("ioctl I_PUSH ptem"); if (ioctl(*ttyfd, I_PUSH, "ldterm") < 0) sockerror("ioctl I_PUSH ldterm"); if (ioctl(*ttyfd, I_PUSH, "ttcompat") < 0) sockerror("ioctl I_PUSH ttcompat"); I_PUSH is not defined, on Linux this is in /usr/include/bits/stropts.h Thanks for the help John Jarvie At Fri, 20 Jul 2001 17:49:27 +0400, you wrote > >> >> > 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)) > -- 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/