delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/06/01/01:51:52

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3B172BB4.C59E53AB@certum.pl>
Date: Fri, 01 Jun 2001 07:44:20 +0200
From: Jacek Trzcinski <jacek AT certum DOT pl>
Reply-To: jacek AT certum DOT pl
X-Mailer: Mozilla 4.7 [en] (WinNT; U)
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: Yectli Huerta <yhuerta AT msi DOT umn DOT edu>, cygwin AT cygwin DOT com
Subject: Re: stunnel and cygwin
References: <Pine DOT A41 DOT 4 DOT 33 DOT 0105311759080 DOT 21778-100000 AT blizzard DOT msi DOT umn DOT edu>

Hi,
few months ago I did it. Then, I simply cut off not needed instruction
but with advice of Corinna I took it in conditional directive. So You
should do as follows:

1) In stunnel.c take in conditional compilation

#ifndef __CYGWIN__
   if(setgroups(1,gr_list)){
   ......
   ......
   }
#endif

2) In pty.c take in conditional these three ioctl's with I_PUSH

#ifndef __CYGWIN__
   if (ioctl .....
   ...............
   if (ioctl .....
   ..............
   if (ioctl
   ..............
#endif


Jacek


Yectli Huerta wrote:
> 
> while attempting to compile pty.c, i get the following error messages
> 
> stunnel.c: In function `listen_local':
> stunnel.c:633: warning: implicit declaration of
> function `setgroups'
> pty.c: In function `pty_allocate':
> pty.c:140: `I_PUSH' undeclared (first use in this
> function)
> pty.c:140: (Each undeclared identifier is reported
> only once
> pty.c:140: for each function it appears in.)
> make: *** [pty.o] Error 1
> 
> I_PUSH is bein called by ioctl. which i had to include myself.
> i am trying to build stunnel with the latest version of cygwin.
> 
> thanks,
> 
> yectli
> 
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019