Nmap Development mailing list archives

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


From: John Spencer <maillist-nmap () barfooze de>
Date: Sun, 09 Sep 2012 21:00:29 +0200

On 09/09/2012 01:32 AM, 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()

david, can you please take a look at this ?
i have no experience with m4 or autocrap, thus i'm unable to supply a patch other than one which fixes ./configure directly.

sorry that this one appeared after my other related reports, it would have been nicer if all 3 things could have been fixed in a single effort.

thanks!

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


Current thread: