Nmap Development mailing list archives

[BUG] configure check for "working getaddrinfo" fails


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

File: nmap-6.01/nbase/config.log

configure:4533: checking for working getaddrinfo
configure:4578: gcc -o conftest -D_GNU_SOURCE -Wall -lz -Wl,-rpath-link=//lib conftest.c >&5
conftest.c: In function 'main':
conftest.c:85:9: error: implicit declaration of function 'exit'

it should either include <stdlib.h> , which defines exit, or use return 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: