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


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

