stunnel and cygwin

Jacek Trzcinski jacek@certum.pl
Thu May 31 22:51:00 GMT 2001


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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /