stunnel

Corinna Vinschen cygwin@cygwin.com
Mon Mar 26 03:29:00 GMT 2001


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@cygwin.com
Red Hat, Inc.

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



More information about the Cygwin mailing list