Compiling SocksCap under Cygwin

jozsefke@freemail.hu jozsefke@freemail.hu
Mon Apr 22 05:09:00 GMT 2002


Hi everybody!

   I'm trying to compile the SocksCap under Cygwin. The configuration was 
successful.,
but by the compilation I'm getting the following error message:

--------------------
$ make
make[1]: Entering directory `/tmp/socks5-v1.0r11/server'
...
gcc  -I. -I../include -I./../lib 
-I./../include  -D__USE_FIXED_PROTOTYPES__   -DIN_SERVER 
-DHAVE_CONFIG_H  -c ./../lib/confutil.c
./../lib/confutil.c: In function `lsLookupIntfc':
./../lib/confutil.c:989: `IFF_POINTOPOINT' undeclared (first use in this 
functio
n)
./../lib/confutil.c:989: (Each undeclared identifier is reported only once
./../lib/confutil.c:989: for each function it appears in.)
make[1]: *** [confutil.o] Error 1
make[1]: Leaving directory `/tmp/socks5-v1.0r11/server'
make: *** [server] Error 2
---------------------

I have verified on a Debian Linux, that the IFF_POINTOPOINT is defined in 
the '/usr/lib/net/if.h' header file. On this machine the
compilation of SocksCap was successful. Why isn't defined this macro in Cygwin?
Has anybody already met this error? Please post the answer to this address 
too.

Thanks,
     joco

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list