Nmap Development mailing list archives

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


From: David Fifield <david () bamsoftware com>
Date: Sat, 8 Sep 2012 11:45:08 -0700

On Sat, Sep 08, 2012 at 08:50:03PM +0200, John Spencer wrote:
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

What platform are you running on?

David Fifield
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: