Nmap Development mailing list archives

Re: make failed


From: Daniel Miller <bonsaiviking () gmail com>
Date: Fri, 31 Oct 2014 08:28:22 -0500

Robin,

Thanks for the report. Apparently, PCAP_NETMASK_UNKNOWN was not
defined prior to libpcap 1.1.1. I've just pushed a configure check
that will define it as 0 (the literal value we had been using before)
if it's not defined already. Please try r33774.

Dan

On Fri, Oct 31, 2014 at 6:17 AM, Robin Wood <robin@digi.ninja> wrote:
Building the latest github clone on an old Backtrack 5 box and I got this.

make[1]: Leaving directory `/home/robin/tools/nmap/libnetutil'
make[1]: Entering directory `/home/robin/tools/nmap/libnetutil'
g++ -c -I../liblinear -I../liblua -I../libdnet-stripped/include
-I../nbase -I../nsock/include -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -g
-O2 -Wall -fno-strict-aliasing netutil.cc -o netutil.o
netutil.cc: In function ‘void set_pcap_filter(const char*, pcap_t*,
const char*, ...)’:
netutil.cc:4072: error: ‘PCAP_NETMASK_UNKNOWN’ was not declared in this scope
make[1]: *** [netutil.o] Error 1
make[1]: Leaving directory `/home/robin/tools/nmap/libnetutil'
make: *** [netutil_build] Error 2


Robin
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/
_______________________________________________
Sent through the dev mailing list
http://nmap.org/mailman/listinfo/dev
Archived at http://seclists.org/nmap-dev/

Current thread: