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: <3ABF4589.9B966206@certum.pl> Date: Mon, 26 Mar 2001 15:35:05 +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: Corinna Vinschen , cygwin AT cygwin DOT com Subject: Re: stunnel References: <3AB882C3 DOT 7BCDC988 AT certum DOT pl> <012001c0b1f2$d3c5a000$0200a8c0 AT lifelesswks> <3AB8B9C9 DOT 8B28A06C AT certum DOT pl> <005701c0b24f$d5ce4700$0200a8c0 AT lifelesswks> <3AB9A995 DOT 898783F5 AT certum DOT pl> <20010326132932 DOT E1725 AT cygbert DOT vinschen DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi Corinna ! Thank's. It of course compiled and consolidated itself but how programs work after cutting lines which one does not like ? :) I had to enable switch -f (foreground mode) to stunnel work OK and its behaviour then was similar to windows version of stunnel from stunnel.org. I tested it with nescape and it really works. I do not suppose it will work like linux daemon without any changes. Without -f switch program simply ends. Perhaps I will have to make typical windows service or something what behaves like sshd under cygwin which is seen on process list under cygwin after executing from command line, will not I ? Best regards Jacek Corinna Vinschen wrote: > > On Thu, Mar 22, 2001 at 08:28:21AM +0100, Jacek Trzcinski wrote: > > > > Hi ! > > Thank's for response. > > I'm just going to send inquiry to stunnel authors but now I can say You > > about two erors I report during unix way building of stunnel packet > > > > 1) module pty.c - it reports during compilation explicit use of ioctl > > function > > and undefined symbol I_PUSH. When I included hedaer file sys/ioctl.h to > > this file ioctl message disappeared but error concerned with I_PUSH > > left. This symbol is used in any invocation of ioctl function in this > > module. I did not find it in any header file of my cygwin installation > > Correct. I had the same problem when porting OpenSSH for the first time. > The patch is pretty simple. Since I_PUSH has no sense on Cygwin, the > corresponding source now looks like: > > #ifndef __CYGWIN__ > ioctl (fd, I_PUSH, "foo"); > #endif > > > 2) I locked ioctl invocation in pty.c to see next errors during stunnel > > building. Now pty.c compiled OK and during consolidation phase ld > > reports error that it "can not find setgroups function needed by module > > stunnel.o". As in case I_PUSH I did not find it in any header file of my > > cygwin installation. > > > > > > Have You any suggestions ? > > #ifndef __CYGWIN__ > setgroups (...); > #endif > > Corinna > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Developer mailto:cygwin AT cygwin DOT com > Red Hat, Inc. > > -- > 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