Nmap Development mailing list archives

Re: nmap on cygwin


From: "matt" <matt () use net>
Date: Thu, 23 Aug 2001 17:10:30 -0700

I am trying to compile NMAP on cygwin, I got through the configure ok, what
with
copying linux include files over to cygwin. The make also proceeded, what I
believe
to be pretty far, but I am stuck. So 2 questions.
1) Has anyone compiled on cygwin ?
2) Can anyone advise me on the below error ?
Thanks

libpcap will (most likely) never directly compile under cygwin. There is a
solution, though:

winpcap (@ http://netgroup-serv.polito.it/winpcap/ ) has a user-mode DLL
component that provides the pcap interfaces and a kernel-mode driver (for
win9x/NT/2k) that provides the bpf interfaces the pcap library needs. It has
recently been modified to compile under cygwin.

What you could do is modify the nmap configure/makefile.in to detect the
wincap library under cygwin and link against it and it's headers instead of
the libpcap-possiblymodified. Of course, because the libpcap is possibly
modified, it means the winpcap version may not work at any given point. I'm
pretty sure it would, since win32 support is now integrated into nmap.

Hope this helps..



---------------------------------------------------------------------
For help using this (nmap-dev) mailing list, send a blank email to 
nmap-dev-help () insecure org . List run by ezmlm-idx (www.ezmlm.org).



Current thread: