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: Mon, 26 Mar 2001 13:29:32 +0200 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: stunnel Message-ID: <20010326132932.E1725@cygbert.vinschen.de> Mail-Followup-To: cygwin AT cygwin DOT com 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> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3AB9A995.898783F5@certum.pl>; from jacek@certum.pl on Thu, Mar 22, 2001 at 08:28:21AM +0100 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