Nmap Development mailing list archives

[BUG] configure test for "checking if libpcap is suitable" fails


From: John Spencer <maillist-nmap () barfooze de>
Date: Sat, 08 Sep 2012 20:50:03 +0200

configure:6301: checking if libpcap is suitable
configure:6325: gcc -o conftest -D_GNU_SOURCE -D_BSD_SOURCE -Wl,-E -lz -Wl,-rpath-link=//lib conftest.c -lp$
conftest.c: In function 'main':
conftest.c:35:5: error: implicit declaration of function 'exit'

exit is defined in <stdlib.h> so either this include should be added, or return used instead of exit
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: