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 Message-ID: <3B172BB4.C59E53AB@certum.pl> Date: Fri, 01 Jun 2001 07:44:20 +0200 From: Jacek Trzcinski 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 , cygwin AT cygwin DOT com Subject: Re: stunnel and cygwin References: 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