Mail Archives: cygwin/2001/03/26/08:40:29
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
- Raw text -