Nmap Development mailing list archives

Re: [BUG] configure failure: "working getnameinfo"


From: David Fifield <david () bamsoftware com>
Date: Tue, 11 Sep 2012 21:23:59 -0700

On Sun, Sep 09, 2012 at 01:32:23AM +0200, John Spencer wrote:
in nbase/configure:
configure:4662: checking for working getnameinfo
configure:4715: gcc -o conftest -D_GNU_SOURCE -D_BSD_SOURCE -Wall
-I//include/luajit-2.0/ -lz -Wl,-rpath-link=//lib conftest.c  >&5
conftest.c: In function 'main':
conftest.c:87:5: error: implicit declaration of function 'inet_addr'
conftest.c:96:9: error: implicit declaration of function 'exit'

same issue of not including stdlib.h
and additionally failure to include arpa/inet.h which defines inet_addr()

I took care of this in r29759 and r29760. Thanks.

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: